aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-09-27 22:59:24 +0000
committerOlivier Lamy <olamy@apache.org>2012-09-27 22:59:24 +0000
commit064e52434d9d03cdb73b41b1effedc49a3d3844e (patch)
treeec4d449121500708ddaf76679a2490e13483b7b1
parentf4b23cce349874cc7c6809b5dbe2a3ddfccc2aa3 (diff)
downloadarchiva-064e52434d9d03cdb73b41b1effedc49a3d3844e.tar.gz
archiva-064e52434d9d03cdb73b41b1effedc49a3d3844e.zip
larger fields for url/directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1391259 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java8
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html22
-rw-r--r--pom.xml2
3 files changed, 16 insertions, 16 deletions
diff --git a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java
index 7d867394a..7efcdcda4 100644
--- a/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java
+++ b/archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java
@@ -89,7 +89,7 @@ import java.util.Set;
* before reading it from the registry.
* </p>
*/
-@Service( "archivaConfiguration#default" )
+@Service ( "archivaConfiguration#default" )
public class DefaultArchivaConfiguration
implements ArchivaConfiguration, RegistryListener
{
@@ -99,7 +99,7 @@ public class DefaultArchivaConfiguration
* Plexus registry to read the configuration from.
*/
@Inject
- @Named( value = "commons-configuration" )
+ @Named ( value = "commons-configuration" )
private Registry registry;
@Inject
@@ -182,7 +182,7 @@ public class DefaultArchivaConfiguration
return configuration;
}
- @SuppressWarnings( "unchecked" )
+ @SuppressWarnings ( "unchecked" )
private Configuration load()
{
// TODO: should this be the same as section? make sure unnamed sections still work (eg, sys properties)
@@ -440,7 +440,7 @@ public class DefaultArchivaConfiguration
return registry.getSubset( KEY );
}
- @SuppressWarnings( "unchecked" )
+ @SuppressWarnings ( "unchecked" )
public synchronized void save( Configuration configuration )
throws IndeterminateConfigurationException, RegistryException
{
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html
index 0aba8e2f2..a18ea7b3a 100644
--- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html
+++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/repositories.html
@@ -216,7 +216,7 @@
{{if update}}
<span class="uneditable-input">${$data.managedRepository.id}</span>
{{else}}
- <input type="text" class="xlarge required" id="id" name="id" size="50"
+ <input type="text" class="input-xlarge required" id="id" name="id" size="50"
data-bind="value: managedRepository.id,css:{'uneditable-input': update},readonly:update"/>
{{/if}}
</div>
@@ -224,20 +224,20 @@
<div class="control-group">
<label class="control-label" for="name">${$.i18n.prop('name')}</label>
<div class="controls">
- <input type="text" class="xlarge required" id="name" name="name" size="50"
+ <input type="text" class="input-xlarge required" id="name" name="name" size="50"
data-bind="value: managedRepository.name"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="location">${$.i18n.prop('directory')}</label>
<div class="controls">
- <input type="text" class="xlarge required" id="location" name="location" size="50" data-bind="value: managedRepository.location"/>
+ <input type="text" class="input-xxlarge required" id="location" name="location" size="50" data-bind="value: managedRepository.location"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="indexDirectory">${$.i18n.prop('index.directory')}</label>
<div class="controls">
- <input type="text" class="xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: managedRepository.indexDirectory"/>
+ <input type="text" class="input-xxlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: managedRepository.indexDirectory"/>
</div>
</div>
<div class="control-group">
@@ -458,7 +458,7 @@
{{if update}}
<span class="uneditable-input">${$data.remoteRepository.id}</span>
{{else}}
- <input type="text" class="xlarge required" id="id" name="id" size="50"
+ <input type="text" class="input-xlarge required" id="id" name="id" size="50"
data-bind="value: remoteRepository.id,css:{'uneditable-input': update},readonly:update"/>
{{/if}}
</div>
@@ -466,26 +466,26 @@
<div class="control-group">
<label class="control-label" for="name">${$.i18n.prop('name')}</label>
<div class="controls">
- <input type="text" class="xlarge required" id="name" name="name" size="50"
+ <input type="text" class="input-xlarge required" id="name" name="name" size="50"
data-bind="value: remoteRepository.name"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="url">${$.i18n.prop('url')}</label>
<div class="controls">
- <input type="text" class="xlarge required" id="url" name="location" size="50" data-bind="value: remoteRepository.url"/>
+ <input type="text" class="input-xxlarge required" id="url" name="location" size="50" data-bind="value: remoteRepository.url"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="userName">${$.i18n.prop('username')}</label>
<div class="controls">
- <input type="text" class="xlarge" id="userName" name="userName" size="50" data-bind="value: remoteRepository.indexDirectory"/>
+ <input type="text" class="input-xlarge" id="userName" name="userName" size="50" data-bind="value: remoteRepository.indexDirectory"/>
</div>
</div>
<div class="control-group">
<label class="control-label" for="password">${$.i18n.prop('password')}</label>
<div class="controls">
- <input type="password" class="xlarge" id="password" name="password" size="50" data-bind="value: remoteRepository.password"/>
+ <input type="password" class="input-xlarge" id="password" name="password" size="50" data-bind="value: remoteRepository.password"/>
</div>
</div>
<div class="control-group">
@@ -511,7 +511,7 @@
<div class="control-group">
<label class="control-label" for="remoteIndexUrl">${$.i18n.prop('remoteIndexUrl')}</label>
<div class="controls">
- <input type="text" id="remoteIndexUrl" name="remoteIndexUrl" size="5" data-bind="value: remoteRepository.remoteIndexUrl"/>
+ <input type="text" class="input-xxlarge" id="remoteIndexUrl" name="remoteIndexUrl" size="5" data-bind="value: remoteRepository.remoteIndexUrl"/>
</div>
</div>
<div class="control-group">
@@ -528,7 +528,7 @@
<div class="control-group">
<label class="control-label" for="indexDirectory">${$.i18n.prop('index.directory')}</label>
<div class="controls">
- <input type="text" class="xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: remoteRepository.indexDirectory"/>
+ <input type="text" class="input-xlarge" id="indexDirectory" name="indexDirectory" size="50" data-bind="value: remoteRepository.indexDirectory"/>
</div>
</div>
<div class="control-group">
diff --git a/pom.xml b/pom.xml
index 47076b396..17fcb9ea1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -556,7 +556,7 @@
<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
- <version>1.7</version>
+ <version>1.9</version>
<exclusions>
<exclusion>
<groupId>commons-beanutils</groupId>