From 0fa1fa6ac24c0bf897beed3bfe714f9b9ee45d76 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Sat, 1 Oct 2011 06:56:48 +0000 Subject: [PATCH] change configuration base to org.apache.archiva instead of org.apache.maven.archiva, update "upgrading" document accordingly git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177933 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/site/apt/adminguide/upgrade.apt | 63 +++++++++---------- .../archiva-configuration/pom.xml | 8 +-- .../DefaultArchivaConfiguration.java | 6 +- .../ArchivaConfigurationTest.java | 15 +---- .../MavenProxyPropertyLoaderTest.java | 7 --- .../src/test/resources/spring-context.xml | 42 ++++++------- .../resources/META-INF/spring-context.xml | 2 +- ...ing-context-cleanup-released-snapshots.xml | 4 +- .../spring-context-purge-consumer-test.xml | 6 +- .../src/test/resources/spring-context.xml | 2 +- .../src/test/resources/spring-context.xml | 3 +- .../archiva-base/archiva-model/pom.xml | 2 +- .../src/test/resources/spring-context.xml | 2 +- .../spring-context-repo-request-test.xml | 2 +- .../src/test/resources/spring-context.xml | 2 +- .../src/test/resources/spring-context.xml | 2 +- .../src/test/resources/spring-context.xml | 2 +- .../META-INF/spring-context-test.xml | 2 +- .../ArchivaServletAuthenticatorTest.java | 5 -- .../src/test/resources/spring-context.xml | 2 +- .../archiva/web/tags/DependencyTreeTag.java | 4 +- .../src/main/resources/log4j.xml | 4 -- .../src/main/resources/struts.properties | 2 +- .../webapp/WEB-INF/applicationContext.xml | 10 +-- .../spring-context-artifacts-download.xml | 5 +- .../src/test/resources/WEB-INF/web.xml | 6 -- .../resources/repository-servlet-simple.xml | 2 +- .../spring-context-servlet-security-test.xml | 2 +- .../src/test/resources/spring-context.xml | 2 +- 29 files changed, 92 insertions(+), 124 deletions(-) diff --git a/archiva-docs/src/site/apt/adminguide/upgrade.apt b/archiva-docs/src/site/apt/adminguide/upgrade.apt index 463217b4c..ca17bec26 100644 --- a/archiva-docs/src/site/apt/adminguide/upgrade.apt +++ b/archiva-docs/src/site/apt/adminguide/upgrade.apt @@ -21,54 +21,51 @@ Upgrading Archiva - Upgrading Archiva is straightforward if the directions for separating the base from the installation above are followed. Simply retain the <<>> and <<>> directories, - and the configuration files (in the conf directory, or the other locations specified above) and use a new extracted installation of Archiva. + Upgrading Archiva is straightforward, particularly if the directions for separating the base from the installation + are followed. You need to retain the following directories: - Note that the <<>> database must always be retained as it contains the permissions and user information across versions. However, - in order to take advantage of the improvements in search in Archiva 1.1 (and higher versions), s.a. search by java class/package/method, the archiva database must - be re-created. So you need to delete the <<>> directory, delete the <<<.index>>> directories of your respective repositories, and execute the repository and database scanners after - starting Archiva. + * <<>> - the configuration files can be reused across different versions. Note that when the standalone + version is used, <<>> and <<>> may need to be replaced after upgrade and changes + reapplied. See specific notes in the version details below. - The repository data is portable across versions, and multiple versions can be configured to look at the same repositories (though not run simultaneously). + * <<>> - all Archiva data. More specifically: -* Upgrading Archiva from 1.1.x to 1.2.x + * <<>> is portable across versions (both forwards and backwards). - Because of the changes in the search implementation starting in 1.2, a few additional steps need to be performed when upgrading Archiva from 1.1.x to - 1.2.x. Since the format of the index has changed in 1.2.x, the old index directory (which is located at <<>> by default) needs to - be removed. And in order for the artifacts in the repository to be indexed again, the last modified date of the artifacts need to be updated. - To do this, you can force Archiva to scan all the artifacts by ticking the <<>> checkbox then clicking the <<>> - button in the Repositories page. Take note though that this feature is only available starting with version 1.3. Otherwise, you must execute - <> at the base directory where the repository resides and then force execute the repository scanning so - that the new index will be generated. + * <<>> must always be retained as it contains the permissions and user information across + versions, even if LDAP is being used for authentication. - In 1.2.2, the length of the specified fields in the database tables below were changed to 1020: - - * ARCHIVA_PROJECT - URL + * <<>> exists for Archiva 1.3.x and below. This can be retained through upgrades, but + can also be regenerated at any time. This no longer exists in Archiva 1.4+. - * ARCHIVA_MAILING_LISTS - MAIN_ARCHIVE_URL + [] - * ARCHIVA_ORGANIZATION - URL, FAV_ICON_URL + [] - * ARCHIVA_LICENSES - URL + The following describes instructions specific to upgrading between different versions. - * ARCHIVA_ISSUE_MANAGEMENT - ISSUE_MANAGEMENT_URL +* Upgrading Archiva to 1.4+ - * ARCHIVA_CIMANAGEMENT - CI_URL +** Metadata Repository - * ARCHIVA_INDIVIDUAL - URL, ORGANIZATION_URL +~~TODO: metadata repository description - * ARCHIVA_DEPENDENCY - URL +** Java Package Changes and Library Changes - * ARCHIVA_SCM - SCM_URL, DEVELOPER_CONNECTION, URL + All Java packages have changed from <<>> to <<>> and have undergone + significant changes. If you have written custom consumers, are using the XML-RPC client, or interfacing with other + Java libraries the code will need to be adjusted. - * ARCHIVA_PROJECT_REPOSITORIES - URL - - [] +** Configuration References + + If you had used the undocumented ability to modify <<>> to alter the configuration search path, note + that in Archiva 1.4+ you must use the <<>> configuration search path instead of + <<>>. + +* Upgrading Archiva to 1.2.2 - If upgrading from a version lower than 1.2.2, you might also need to alter the lengths of the above fields as there is no upgrade task currently available for this. - Since Archiva 1.2.2, the Jetty version has been upgraded to 6.1.19. If upgrading to Archiva 1.2.2 (or higher versions), there is a need to update the library contents listed in - <<<$ARCHIVA_BASE/conf/wrapper.conf>>> with the ones included in the new distribution especially if the - <<<$ARCHIVA_BASE>>> directory is separate from the installation. + <<>> with the ones included in the new distribution if the <<>> + directory is separate from the installation. diff --git a/archiva-modules/archiva-base/archiva-configuration/pom.xml b/archiva-modules/archiva-base/archiva-configuration/pom.xml index 97ac42da9..647ad06ca 100644 --- a/archiva-modules/archiva-base/archiva-configuration/pom.xml +++ b/archiva-modules/archiva-base/archiva-configuration/pom.xml @@ -151,10 +151,10 @@ - org/apache/maven/archiva/configuration/io/** - org/apache/maven/archiva/configuration/*RepositoryConfiguration.* - org/apache/maven/archiva/configuration/Configuration.* - org/apache/maven/archiva/configuration/Proxy.* + org/apache/archiva/configuration/io/** + org/apache/archiva/configuration/*RepositoryConfiguration.* + org/apache/archiva/configuration/Configuration.* + org/apache/archiva/configuration/Proxy.* 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 a639782ee..f5ae29540 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 @@ -149,7 +149,7 @@ public class DefaultArchivaConfiguration */ private boolean isConfigurationDefaulted = false; - private static final String KEY = "org.apache.maven.archiva"; + private static final String KEY = "org.apache.archiva"; public Configuration getConfiguration() { @@ -547,11 +547,11 @@ public class DefaultArchivaConfiguration // olamy hackish I know :-) contents = "" + ""; + + "\" config-forceCreate=\"true\" config-name=\"org.apache.archiva.user\"/>" + ""; ( (CommonsConfigurationRegistry) registry ).setProperties( contents ); - ( (CommonsConfigurationRegistry) registry ).initialize(); + registry.initialize(); for ( RegistryListener regListener : registryListeners ) { diff --git a/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java b/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java index 28bc6fcfb..52d0d252e 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java +++ b/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java @@ -54,14 +54,6 @@ public class ArchivaConfigurationTest return new File( FileUtil.getBasedir(), path ); } - /** - * @TODO to remove - */ - protected String getSpringConfigLocation() - { - return "org/apache/maven/archiva/configuration/spring-context.xml"; - } - protected T lookup( Class clazz, String hint ) { return componentContainer.getComponent( clazz, hint ); @@ -221,10 +213,9 @@ public class ArchivaConfigurationTest throws Exception { - System.setProperty( "org.apache.maven.archiva.webapp.ui.appletFindEnabled", "false" ); + System.setProperty( "org.apache.archiva.webapp.ui.appletFindEnabled", "false" ); - ArchivaConfiguration archivaConfiguration = - (ArchivaConfiguration) lookup( ArchivaConfiguration.class, "test-configuration" ); + ArchivaConfiguration archivaConfiguration = lookup( ArchivaConfiguration.class, "test-configuration" ); archivaConfiguration.reload(); @@ -236,7 +227,7 @@ public class ArchivaConfigurationTest } finally { - System.getProperties().remove( "org.apache.maven.archiva.webapp.ui.appletFindEnabled" ); + System.getProperties().remove( "org.apache.archiva.webapp.ui.appletFindEnabled" ); } } diff --git a/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/MavenProxyPropertyLoaderTest.java b/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/MavenProxyPropertyLoaderTest.java index 097604be9..08a4b22df 100644 --- a/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/MavenProxyPropertyLoaderTest.java +++ b/archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/MavenProxyPropertyLoaderTest.java @@ -39,13 +39,6 @@ public class MavenProxyPropertyLoaderTest { private MavenProxyPropertyLoader loader; - - // TODO to remove - protected String getSpringConfigLocation() - { - return "org/apache/maven/archiva/configuration/spring-context.xml"; - } - @Test public void testLoadValidMavenProxyConfiguration() throws IOException, InvalidConfigurationException diff --git a/archiva-modules/archiva-base/archiva-configuration/src/test/resources/spring-context.xml b/archiva-modules/archiva-base/archiva-configuration/src/test/resources/spring-context.xml index b002d3421..fdf125589 100755 --- a/archiva-modules/archiva-base/archiva-configuration/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-base/archiva-configuration/src/test/resources/spring-context.xml @@ -48,7 +48,7 @@ + config-name="org.apache.archiva" config-at="org.apache.archiva"/> ]]> @@ -66,7 +66,7 @@ + config-name="org.apache.archiva" config-at="org.apache.archiva"/> ]]> @@ -85,8 +85,8 @@ + config-name="org.apache.archiva.user" + config-at="org.apache.archiva"/> ]]> @@ -104,7 +104,7 @@ + config-name="org.apache.archiva" config-at="org.apache.archiva"/> ]]> @@ -121,7 +121,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> @@ -138,9 +138,9 @@ + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> @@ -157,9 +157,9 @@ + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> @@ -176,9 +176,9 @@ + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> @@ -196,9 +196,9 @@ + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> @@ -216,7 +216,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> @@ -235,7 +235,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> @@ -253,7 +253,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> @@ -273,9 +273,9 @@ + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> ]]> @@ -294,9 +294,9 @@ + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/META-INF/spring-context.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/META-INF/spring-context.xml index 97517e92b..5c8a72210 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/META-INF/spring-context.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/META-INF/spring-context.xml @@ -46,7 +46,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context-cleanup-released-snapshots.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context-cleanup-released-snapshots.xml index d2b14a93d..2ee0d09ce 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context-cleanup-released-snapshots.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context-cleanup-released-snapshots.xml @@ -39,7 +39,7 @@ + config-name="org.apache.archiva" config-at="org.apache.archiva"/> ]]> @@ -58,7 +58,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context-purge-consumer-test.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context-purge-consumer-test.xml index 94eea9566..16b159cc4 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context-purge-consumer-test.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context-purge-consumer-test.xml @@ -55,7 +55,7 @@ + config-name="org.apache.archiva" config-at="org.apache.archiva"/> ]]> @@ -89,7 +89,7 @@ + config-name="org.apache.archiva" config-at="org.apache.archiva"/> ]]> @@ -108,7 +108,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context.xml index 438ff5574..2dc68f49b 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context.xml @@ -37,7 +37,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/resources/spring-context.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/resources/spring-context.xml index 837d1e27a..5a1ef90a2 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/resources/spring-context.xml @@ -18,6 +18,7 @@ ~ specific language governing permissions and limitations ~ under the License. --> + + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-base/archiva-model/pom.xml b/archiva-modules/archiva-base/archiva-model/pom.xml index 87aae18cd..57d34b948 100755 --- a/archiva-modules/archiva-base/archiva-model/pom.xml +++ b/archiva-modules/archiva-base/archiva-model/pom.xml @@ -80,7 +80,7 @@ - org/apache/maven/archiva/reporting/model/** + org/apache/archiva/reporting/model/** diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/spring-context.xml b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/spring-context.xml index a18703d6d..6eebfe03f 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/spring-context.xml @@ -49,7 +49,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-base/archiva-repository-layer/src/test/resources/spring-context-repo-request-test.xml b/archiva-modules/archiva-base/archiva-repository-layer/src/test/resources/spring-context-repo-request-test.xml index eeaaf2986..db60abe31 100644 --- a/archiva-modules/archiva-base/archiva-repository-layer/src/test/resources/spring-context-repo-request-test.xml +++ b/archiva-modules/archiva-base/archiva-repository-layer/src/test/resources/spring-context-repo-request-test.xml @@ -41,7 +41,7 @@ + config-name="org.apache.archiva" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/resources/spring-context.xml b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/resources/spring-context.xml index 093614788..b2a61d08c 100644 --- a/archiva-modules/archiva-base/archiva-repository-scanner/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-base/archiva-repository-scanner/src/test/resources/spring-context.xml @@ -42,7 +42,7 @@ + config-name="org.apache.archiva" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/resources/spring-context.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/resources/spring-context.xml index 34629c9db..57165c11b 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/resources/spring-context.xml @@ -51,7 +51,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/resources/spring-context.xml b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/resources/spring-context.xml index 6d41f3037..29b126221 100755 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/resources/spring-context.xml @@ -63,7 +63,7 @@ + config-name="org.apache.archiva" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml index 2968237ba..fe0be3d31 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml @@ -50,7 +50,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/ArchivaServletAuthenticatorTest.java b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/ArchivaServletAuthenticatorTest.java index e6ed541d1..5adfbbc77 100644 --- a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/ArchivaServletAuthenticatorTest.java +++ b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/ArchivaServletAuthenticatorTest.java @@ -60,11 +60,6 @@ public class ArchivaServletAuthenticatorTest setupRepository( "corporate" ); } - protected String getPlexusConfigLocation() - { - return "org/apache/maven/archiva/security/ArchivaServletAuthenticatorTest.xml"; - } - protected void assignRepositoryManagerRole( String principal, String repoId ) throws Exception { diff --git a/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml b/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml index 39cc30558..2fc01c431 100644 --- a/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml +++ b/archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml @@ -91,7 +91,7 @@ + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> ]]> diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/tags/DependencyTreeTag.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/tags/DependencyTreeTag.java index ef3452f1d..7fa34f350 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/tags/DependencyTreeTag.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/tags/DependencyTreeTag.java @@ -44,9 +44,9 @@ import javax.servlet.jsp.tagext.TryCatchFinally; * It was easier to do it this way, vs accessing the dependency graph via a JSP. * *
- *   
  *     ${node.groupId}:${node.artifactId}:${node.version} (${node.scope})
  *   
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j.xml
index 53929ea58..09f80bb75 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j.xml
@@ -67,10 +67,6 @@
     
   
   
-  
-    
-  
-  
   
     
   
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.properties b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.properties
index 19a6ad501..ef7d0c9a0 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.properties
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.properties
@@ -42,4 +42,4 @@ struts.multipart.maxSize=10485760
 # TODO: package up a theme and share with Continuum. Should contain everything from xhtml, and set templateDir to WEB-INF/themes
 
 # Localization
-struts.custom.i18n.resources=org.codehaus.plexus.redback.struts2.default,org.apache.maven.archiva.redback.custom
+struts.custom.i18n.resources=org.codehaus.plexus.redback.struts2.default,org.apache.archiva.redback.custom
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml
index 8900c7ec6..9308655b0 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml
@@ -170,8 +170,8 @@
           
           
           
+               config-name="org.apache.archiva.user"
+               config-at="org.apache.archiva"/>
           
@@ -180,15 +180,15 @@
           
           
+               config-name="org.apache.archiva.base"
+               config-at="org.apache.archiva"/>
           
           
           
           
+               config-at="org.apache.archiva"/>
           
           
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/test/resources/spring-context-artifacts-download.xml b/archiva-modules/archiva-web/archiva-webapp/src/test/resources/spring-context-artifacts-download.xml
index 03ea7e7c8..2f4c5d5cc 100644
--- a/archiva-modules/archiva-web/archiva-webapp/src/test/resources/spring-context-artifacts-download.xml
+++ b/archiva-modules/archiva-web/archiva-webapp/src/test/resources/spring-context-artifacts-download.xml
@@ -18,6 +18,7 @@
   ~ specific language governing permissions and limitations
   ~ under the License.
   -->
+
 
 
           
+               config-name="org.apache.archiva.base"
+               config-at="org.apache.archiva"/>
 
           
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/web.xml b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/web.xml
index ad0d1d1a0..3a737a0f4 100644
--- a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/web.xml
+++ b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/web.xml
@@ -38,10 +38,4 @@
         classpath*:spring-context.xml
     
   
-
-  
-
 
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/repository-servlet-simple.xml b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/repository-servlet-simple.xml
index f35d7593b..36fe55e73 100644
--- a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/repository-servlet-simple.xml
+++ b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/repository-servlet-simple.xml
@@ -41,7 +41,7 @@
           
           
+               config-name="org.apache.archiva.base" config-at="org.apache.archiva"/>
         
         ]]>
       
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml
index cd9e3e95e..b4c7d1d41 100644
--- a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml
+++ b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml
@@ -60,7 +60,7 @@
           
           
+               config-name="org.apache.archiva.base" config-at="org.apache.archiva"/>
         
         ]]>
       
diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml
index a73b19042..caa12b018 100644
--- a/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml
+++ b/archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml
@@ -60,7 +60,7 @@
           
           
+               config-name="org.apache.archiva.base" config-at="org.apache.archiva"/>
         
         ]]>
       
-- 
2.39.5