[MRM-1506] api to configure RemoteRepository : use it in the webapp instead of directly archiva-configuration : fix attribute name and xmlrpc bean

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165336 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-09-05 15:31:28 +00:00
parent 605465f13e
commit b2fb3e0465
2 changed files with 2 additions and 1 deletions

View File

@ -86,6 +86,7 @@
<constructor-arg ref="repositoryMerger#maven2"/>
<constructor-arg ref="auditListener#logging"/>
<constructor-arg ref="managedRepositoryAdmin#default"/>
<constructor-arg ref="remoteRepositoryAdmin#default"/>
</bean>
<!-- Redback Web Services -->

View File

@ -22,7 +22,7 @@
<s:textfield name="repository.name" label="Name" size="50" required="true"/>
<s:textfield name="repository.url" label="URL" size="50" required="true"/>
<s:textfield name="repository.username" label="Username" size="25" required="false"/>
<s:textfield name="repository.userName" label="Username" size="25" required="false"/>
<s:password name="repository.password" label="Password" size="25" required="false"/>
<s:textfield name="repository.timeout" label="Timeout in seconds" size="3" required="false"/>
<s:select list="#@java.util.LinkedHashMap@{'default' : 'Maven 2.x Repository', 'legacy' : 'Maven 1.x Repository'}"