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
20 <%@ taglib prefix="ww" uri="/webwork" %>
21 <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
25 <title>Admin: Add Managed Repository</title>
31 <h1>Admin: Add Managed Repository</h1>
33 <div class="warningbox">
35 <strong>WARNING: Repository location already exists.</strong>
40 Are you sure you want to ${action == 'addRepository' ? 'add' : 'update'} the following managed repository?
44 <table class="infotable">
47 <td><code>${repository.id}</code></td>
51 <td>${repository.name}</td>
55 <td>${repository.location}</td>
58 <td>Index Directory:</td>
59 <td>${repository.indexDir}</td>
63 <%--td>${repository.layout}</td--%>
66 <c:when test="${repository.layout == 'default'}">
77 <td>${repository.refreshCronExpression}</td>
80 <td>Repository Purge By Days Older Than:</td>
81 <td>${repository.daysOlder}</td>
84 <td>Repository Purge By Retention Count:</td>
85 <td>${repository.retentionCount}</td>
88 <td>Releases Included:</td>
89 <td class="${repository.releases ? 'donemark' : 'errormark'} booleanIcon">
92 <td>Snapshots Included:</td>
93 <td class="${repository.snapshots ? 'donemark' : 'errormark'} booleanIcon">
97 <td class="${repository.scanned ? 'donemark' : 'errormark'} booleanIcon">
100 <td>Delete Released Snapshots:</td>
101 <td class="${repository.deleteReleasedSnapshots ? 'donemark' : 'errormark'} booleanIcon">
106 <ww:form method="post" action="${action}" namespace="/admin" validate="true" theme="simple">
107 <div class="buttons">
108 <ww:hidden name="repository.id" value="${repository.id}"/>
109 <ww:hidden name="repository.name" value="${repository.name}"/>
110 <ww:hidden name="repository.location" value="${repository.location}"/>
111 <ww:hidden name="repository.indexDir" value="${repository.indexDir}"/>
112 <ww:hidden name="repository.layout" value="${repository.layout}"/>
113 <ww:hidden name="repository.refreshCronExpression" value="${repository.refreshCronExpression}"/>
114 <ww:hidden name="repository.daysOlder" value="${repository.daysOlder}"/>
115 <ww:hidden name="repository.retentionCount" value="${repository.retentionCount}"/>
116 <ww:hidden name="repository.releases" value="${repository.releases}"/>
117 <ww:hidden name="repository.snapshots" value="${repository.snapshots}"/>
118 <ww:hidden name="repository.scanned" value="${repository.scanned}"/>
119 <ww:hidden name="repository.deleteReleasedSnapshots" value="${repository.deleteReleasedSnapshots}"/>
122 <c:when test="${action == 'addRepository'}">
123 <ww:submit value="Save" method="confirmAdd"/>
126 <ww:submit value="Save" method="confirmUpdate"/>
130 <ww:submit value="Cancel" method="execute"/>