diff options
author | Brett Porter <brett@apache.org> | 2011-10-01 06:56:48 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2011-10-01 06:56:48 +0000 |
commit | 0fa1fa6ac24c0bf897beed3bfe714f9b9ee45d76 (patch) | |
tree | 4b11be7b33792fc762d3949a2770452a2083c510 /archiva-modules | |
parent | cf8d566442a2aec3a659ad6e50f205e1acdf29e9 (diff) | |
download | archiva-0fa1fa6ac24c0bf897beed3bfe714f9b9ee45d76.tar.gz archiva-0fa1fa6ac24c0bf897beed3bfe714f9b9ee45d76.zip |
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
Diffstat (limited to 'archiva-modules')
28 files changed, 62 insertions, 91 deletions
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 @@ <instrumentation> <!-- exclude generated --> <excludes> - <exclude>org/apache/maven/archiva/configuration/io/**</exclude> - <exclude>org/apache/maven/archiva/configuration/*RepositoryConfiguration.*</exclude> - <exclude>org/apache/maven/archiva/configuration/Configuration.*</exclude> - <exclude>org/apache/maven/archiva/configuration/Proxy.*</exclude> + <exclude>org/apache/archiva/configuration/io/**</exclude> + <exclude>org/apache/archiva/configuration/*RepositoryConfiguration.*</exclude> + <exclude>org/apache/archiva/configuration/Configuration.*</exclude> + <exclude>org/apache/archiva/configuration/Proxy.*</exclude> </excludes> </instrumentation> </configuration> 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 = "<configuration><xml fileName=\"" + fileLocation - + "\" config-forceCreate=\"true\" config-name=\"org.apache.maven.archiva.user\"/>" + "</configuration>"; + + "\" config-forceCreate=\"true\" config-name=\"org.apache.archiva.user\"/>" + "</configuration>"; ( (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> T lookup( Class<T> 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 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/src/test/conf/archiva-0.9.xml" - config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -66,7 +66,7 @@ <configuration> <system/> <xml fileName="${basedir}/src/test/conf/repository-manager.xml" - config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -85,8 +85,8 @@ <configuration> <system/> <xml fileName="${basedir}/target/test-autodetect-v1/archiva-user.xml" config-optional="true" - config-name="org.apache.maven.archiva.user" - config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.user" + config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -104,7 +104,7 @@ <configuration> <system/> <xml fileName="${basedir}/src/test/conf/archiva-v1.xml" - config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -121,7 +121,7 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -138,9 +138,9 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/target/test/test-file-user.xml" config-optional="true" config-forceCreate="true" - config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="false" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -157,9 +157,9 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/target/test/test-file-user.xml" config-optional="true" config-forceCreate="false" - config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -176,9 +176,9 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/target/test/test-file-user.xml" config-optional="true" config-forceCreate="true" - config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="false" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -196,9 +196,9 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/src/test/conf/conf-user.xml" config-optional="true" config-forceCreate="true" - config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> <xml fileName="${basedir}/src/test/conf/conf-base.xml" config-optional="true" config-forceCreate="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -216,7 +216,7 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -235,7 +235,7 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -253,7 +253,7 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/target/test/test-file.xml" config-optional="true" config-forceCreate="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -273,9 +273,9 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/target/*intentionally:invalid*/.m2/archiva-user.xml" config-optional="true" - config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> <xml fileName="${basedir}/target/*intentionally:invalid*/conf/archiva.xml" config-optional="true" - config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -294,9 +294,9 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/target/*intentionally:invalid*/.m2/archiva-user.xml" config-optional="true" - config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> <xml fileName="${basedir}/target/test-appserver-base/conf/archiva.xml" config-optional="true" - config-name="org.apache.maven.archiva.user" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.user" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/src/test/conf/repository-manager.xml" - config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -58,7 +58,7 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/src/test/conf/repository-manager.xml" - config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -89,7 +89,7 @@ <![CDATA[ <configuration> <xml fileName="${basedir}/src/test/conf/repository-manager-daysOld.xml" - config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva" config-at="org.apache.archiva"/> </configuration> ]]> </value> @@ -108,7 +108,7 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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. --> + <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" @@ -37,7 +38,7 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <instrumentation> <!-- exclude generated --> <excludes> - <exclude>org/apache/maven/archiva/reporting/model/**</exclude> + <exclude>org/apache/archiva/reporting/model/**</exclude> </excludes> </instrumentation> </configuration> 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 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <configuration> <system/> <xml fileName="${basedir}/src/test/resources/scanner-archiva.xml" - config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <configuration> <system/> <xml fileName="${basedir}/src/test/resources/scanner-archiva.xml" - config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <configuration> <system/> <xml fileName="${basedir}/src/test/resources/archiva-test.xml" - config-name="org.apache.maven.archiva" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <system/> <xml fileName="${basedir}/target/test-conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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. * * <pre> - * <archiva:dependency-tree groupId="org.apache.maven.archiva" + * <archiva:dependency-tree groupId="org.apache.archiva" * artifactId="archiva-common" - * version="1.0" + * version="1.3.5" * nodevar="node"> * <b>${node.groupId}</b>:<b>${node.artifactId}</b>:<b>${node.version}</b> (${node.scope}) * </archiva:dependency-tree> 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 @@ <level value="info"/> </logger> - <logger name="org.apache.maven.archiva"> - <level value="info"/> - </logger> - <logger name="org.codehaus.redback"> <level value="info"/> </logger> 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 @@ <system/> <jndi prefix="java:comp/env" config-optional="true"/> <xml fileName="${user.home}/.m2/archiva.xml" config-optional="true" - config-name="org.apache.maven.archiva.user" - config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.user" + config-at="org.apache.archiva"/> <xml fileName="${user.home}/.m2/shared.xml" config-optional="true" config-name="org.apache.maven.shared.app.user" config-at="org.apache.maven.shared.app" config-forceCreate="true"/> @@ -180,15 +180,15 @@ <properties fileName="${user.home}/.m2/archiva.properties" config-optional="true" config-at="org.codehaus.plexus.redback"/> <xml fileName="${appserver.base}/conf/archiva.xml" config-optional="true" - config-name="org.apache.maven.archiva.base" - config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" + config-at="org.apache.archiva"/> <xml fileName="${appserver.base}/conf/shared.xml" config-optional="true" config-name="org.apache.maven.shared.app.base" config-at="org.apache.maven.shared.app"/> <xml fileName="${appserver.base}/conf/common.xml" config-optional="true"/> <properties fileName="${appserver.base}/conf/security.properties" config-optional="true" config-at="org.codehaus.plexus.redback"/> <xml fileName="${appserver.home}/conf/archiva.xml" config-optional="true" - config-at="org.apache.maven.archiva"/> + config-at="org.apache.archiva"/> <xml fileName="${appserver.home}/conf/shared.xml" config-optional="true" config-at="org.apache.maven.shared.app"/> <xml fileName="${appserver.home}/conf/common.xml" config-optional="true"/> 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. --> + <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" @@ -38,8 +39,8 @@ <system/> <xml fileName="${appserver.base}/conf/archiva-test-download-artifacts.xml" config-optional="true" - config-name="org.apache.maven.archiva.base" - config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" + config-at="org.apache.archiva"/> <properties fileName="${appserver.base}/conf/security.properties" config-optional="true" config-at="org.codehaus.plexus.redback"/> 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 </param-value> </context-param> - - <!-- - classpath*:/META-INF/plexus/components.xml - target/test-classes/org/apache/maven/archiva/webdav/RepositoryServletTest.xml - --> - </web-app> 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 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> 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 @@ <system/> <xml fileName="${appserver.base}/conf/archiva.xml" config-forceCreate="true" config-optional="true" - config-name="org.apache.maven.archiva.base" config-at="org.apache.maven.archiva"/> + config-name="org.apache.archiva.base" config-at="org.apache.archiva"/> </configuration> ]]> </value> |