2 ~ Licensed to the Apache Software Foundation (ASF) under one
3 ~ or more contributor license agreements. See the NOTICE file
4 ~ distributed with this work for additional information
5 ~ regarding copyright ownership. The ASF licenses this file
6 ~ to you under the Apache License, Version 2.0 (the
7 ~ "License"); you may not use this file except in compliance
8 ~ with the License. You may obtain a copy of the License at
10 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~ Unless required by applicable law or agreed to in writing,
13 ~ software distributed under the License is distributed on an
14 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ~ KIND, either express or implied. See the License for the
16 ~ specific language governing permissions and limitations
19 <%@ page contentType="text/html; charset=UTF-8" %>
20 <%@ taglib prefix="s" uri="/struts-tags" %>
21 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
23 <s:textfield name="repository.name" label="Name" size="50" required="true"/>
24 <s:textfield name="repository.location" label="Directory" size="50" required="true"/>
25 <s:textfield name="repository.indexDir" label="Index Directory" size="50"/>
26 <s:select list="#@java.util.LinkedHashMap@{'default' : 'Maven 2.x Repository', 'legacy' : 'Maven 1.x Repository'}"
27 name="repository.layout" label="Type"/>
28 <s:textfield name="repository.refreshCronExpression" label="Cron" size="40" required="true"/>
29 <s:textfield name="repository.daysOlder" label="Repository Purge By Days Older Than" size="5"/>
30 <s:textfield name="repository.retentionCount" label="Repository Purge By Retention Count" size="5"/>
31 <s:checkbox name="repository.releases" value="repository.releases" label="Releases Included"/>
32 <s:checkbox name="repository.blockRedeployments" value="repository.blockRedeployments" label="Block Re-deployment of Released Artifacts"/>
33 <s:checkbox name="repository.snapshots" value="repository.snapshots" label="Snapshots Included"/>
34 <s:checkbox name="repository.scanned" value="repository.scanned" label="Scannable"/>
35 <s:checkbox name="repository.deleteReleasedSnapshots" value="repository.deleteReleasedSnapshots"
36 label="Delete Released Snapshots"/>