aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Porter <brett@apache.org>2011-10-01 06:56:48 +0000
committerBrett Porter <brett@apache.org>2011-10-01 06:56:48 +0000
commit0fa1fa6ac24c0bf897beed3bfe714f9b9ee45d76 (patch)
tree4b11be7b33792fc762d3949a2770452a2083c510
parentcf8d566442a2aec3a659ad6e50f205e1acdf29e9 (diff)
downloadarchiva-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
-rw-r--r--archiva-docs/src/site/apt/adminguide/upgrade.apt63
-rw-r--r--archiva-modules/archiva-base/archiva-configuration/pom.xml8
-rw-r--r--archiva-modules/archiva-base/archiva-configuration/src/main/java/org/apache/archiva/configuration/DefaultArchivaConfiguration.java6
-rw-r--r--archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/ArchivaConfigurationTest.java15
-rw-r--r--archiva-modules/archiva-base/archiva-configuration/src/test/java/org/apache/archiva/configuration/MavenProxyPropertyLoaderTest.java7
-rwxr-xr-xarchiva-modules/archiva-base/archiva-configuration/src/test/resources/spring-context.xml42
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/META-INF/spring-context.xml2
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context-cleanup-released-snapshots.xml4
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context-purge-consumer-test.xml6
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/spring-context.xml2
-rw-r--r--archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/resources/spring-context.xml3
-rwxr-xr-xarchiva-modules/archiva-base/archiva-model/pom.xml2
-rw-r--r--archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/test/resources/spring-context.xml2
-rw-r--r--archiva-modules/archiva-base/archiva-repository-layer/src/test/resources/spring-context-repo-request-test.xml2
-rw-r--r--archiva-modules/archiva-base/archiva-repository-scanner/src/test/resources/spring-context.xml2
-rw-r--r--archiva-modules/archiva-scheduler/archiva-scheduler-indexing/src/test/resources/spring-context.xml2
-rwxr-xr-xarchiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/resources/spring-context.xml2
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/resources/META-INF/spring-context-test.xml2
-rw-r--r--archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/archiva/security/ArchivaServletAuthenticatorTest.java5
-rw-r--r--archiva-modules/archiva-web/archiva-security/src/test/resources/spring-context.xml2
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/tags/DependencyTreeTag.java4
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/resources/log4j.xml4
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.properties2
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml10
-rw-r--r--archiva-modules/archiva-web/archiva-webapp/src/test/resources/spring-context-artifacts-download.xml5
-rw-r--r--archiva-modules/archiva-web/archiva-webdav/src/test/resources/WEB-INF/web.xml6
-rw-r--r--archiva-modules/archiva-web/archiva-webdav/src/test/resources/repository-servlet-simple.xml2
-rw-r--r--archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context-servlet-security-test.xml2
-rw-r--r--archiva-modules/archiva-web/archiva-webdav/src/test/resources/spring-context.xml2
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 <<<data/repositories>>> and <<<data/databases/users>>> 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 <<<users>>> 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 <<<data/databases/archiva>>> directory, delete the <<<.index>>> directories of your respective repositories, and execute the repository and database scanners after
- starting Archiva.
+ * <<<conf>>> - the configuration files can be reused across different versions. Note that when the standalone
+ version is used, <<<wrapper.conf>>> and <<<jetty.xml>>> 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).
+ * <<<data>>> - all Archiva data. More specifically:
-* Upgrading Archiva from 1.1.x to 1.2.x
+ * <<<data/repositories>>> 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 <<</path/to/repo/.index>>> 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 <<<Process All Artifacts>>> checkbox then clicking the <<<Scan Repository Now>>>
- button in the Repositories page. Take note though that this feature is only available starting with version 1.3. Otherwise, you must execute
- <<find [REPOSITORY_DIRECTORY_NAME] | xargs touch>> at the base directory where the repository resides and then force execute the repository scanning so
- that the new index will be generated.
+ * <<<data/databases/users>>> 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
+ * <<<data/databases/archiva>>> 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 <<<org.apache.maven.archiva>>> to <<<org.apache.archiva>>> 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 <<<application.xml>>> to alter the configuration search path, note
+ that in Archiva 1.4+ you must use the <<<org.apache.archiva>>> configuration search path instead of
+ <<<org.apache.maven.archiva>>>.
+
+* 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.
+ <<<ARCHIVA_BASE/conf/wrapper.conf>>> with the ones included in the new distribution if the <<<ARCHIVA_BASE>>>
+ 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 @@
<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>