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 <%@ page contentType="text/html; charset=UTF-8" %>
21 <%@ taglib prefix="s" uri="/struts-tags" %>
23 <s:textfield name="repository.name" label="Name" size="50" required="true"/>
24 <s:textfield name="repository.url" label="URL" size="60" required="true"/>
25 <s:textfield name="repository.userName" label="Username" size="25" required="false"/>
26 <s:password name="repository.password" label="Password" size="25" required="false"/>
27 <s:textfield name="repository.timeout" label="Timeout in seconds" size="3" required="false"/>
28 <s:checkbox name="repository.downloadRemoteIndex" label="Activate download remote index" />
29 <s:textfield name="repository.remoteIndexUrl" label="Remote index url, can be relative to url" size="60" required="false"/>
30 <s:textfield name="repository.cronExpression" label="Cron expression" size="10" required="false"/>
31 <s:textfield name="repository.indexDirectory" label="Directory index storage" size="60" required="false"/>
32 <s:select list="networkProxies" name="repository.remoteDownloadNetworkProxyId" emptyOption="true" required="false" listKey="id" listValue="id"/>
35 <s:select list="#@java.util.LinkedHashMap@{'default' : 'Maven 2.x Repository', 'legacy' : 'Maven 1.x Repository'}"
36 name="repository.layout" label="Type"/>