From 1fe482bd47886fbac8fc543d1001c08b5df25483 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Thu, 30 Dec 2010 02:34:50 +0000 Subject: [PATCH] [MRM-1327] switch to JCR-based backend as the default git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1327-jcr-backend-default@1053790 13f79535-47bb-0310-9956-ffa450edef68 --- archiva-jetty/src/main/conf/repository.xml | 48 +++++++++++++++++++ .../appserver-base/conf/repository.xml | 48 +++++++++++++++++++ .../archiva-web/archiva-webapp/pom.xml | 8 +++- .../src/appserver-base/conf/repository.xml | 48 +++++++++++++++++++ .../webapp/WEB-INF/applicationContext.xml | 10 +++- 5 files changed, 160 insertions(+), 2 deletions(-) create mode 100644 archiva-jetty/src/main/conf/repository.xml create mode 100644 archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/appserver-base/conf/repository.xml create mode 100644 archiva-modules/archiva-web/archiva-webapp/src/appserver-base/conf/repository.xml diff --git a/archiva-jetty/src/main/conf/repository.xml b/archiva-jetty/src/main/conf/repository.xml new file mode 100644 index 000000000..1da6ed337 --- /dev/null +++ b/archiva-jetty/src/main/conf/repository.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/appserver-base/conf/repository.xml b/archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/appserver-base/conf/repository.xml new file mode 100644 index 000000000..1da6ed337 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/resources/appserver-base/conf/repository.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index 65b30b1b9..82a5a7781 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -280,7 +280,13 @@ org.apache.archiva - metadata-repository-file + metadata-store-jcr + runtime + + + org.apache.jackrabbit + jackrabbit-core + ${jackrabbit.version} runtime diff --git a/archiva-modules/archiva-web/archiva-webapp/src/appserver-base/conf/repository.xml b/archiva-modules/archiva-web/archiva-webapp/src/appserver-base/conf/repository.xml new file mode 100644 index 000000000..1da6ed337 --- /dev/null +++ b/archiva-modules/archiva-web/archiva-webapp/src/appserver-base/conf/repository.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 6cf66939e..aabbe9be7 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 @@ -7,7 +7,15 @@ - + + + + + + + + + -- 2.39.5