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