diff options
author | Olivier Lamy <olamy@apache.org> | 2013-06-11 12:58:32 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2013-06-11 12:58:32 +0000 |
commit | b12f9ebd182f14f82932a7be74b3e3c46499a36f (patch) | |
tree | 665d31893b3c7d8a3a8bde50870b1cb67f18d039 /archiva-modules | |
parent | 8c4f0a1503c592c3258acd2c090611c79968358b (diff) | |
download | archiva-b12f9ebd182f14f82932a7be74b3e3c46499a36f.tar.gz archiva-b12f9ebd182f14f82932a7be74b3e3c46499a36f.zip |
comment metadata repo cassandra to ease testing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1491777 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp/pom.xml | 9 | ||||
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index be2c2f014..238df6632 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -118,10 +118,17 @@ <groupId>org.apache.archiva</groupId> <artifactId>metadata-repository-api</artifactId> </dependency> + <dependency> <groupId>org.apache.archiva</groupId> <artifactId>metadata-store-jcr</artifactId> </dependency> + <!-- + <dependency> + <groupId>org.apache.archiva</groupId> + <artifactId>metadata-store-cassandra</artifactId> + </dependency> + --> <dependency> <groupId>org.apache.jackrabbit</groupId> <artifactId>jackrabbit-jcr-commons</artifactId> @@ -1018,6 +1025,8 @@ not needed as we use asyncLogger in configuration <Log4jContextSelector>org.apache.logging.log4j.core.async.AsyncLoggerContextSelector</Log4jContextSelector> --> + <cassandraHost>localhost</cassandraHost> + <cassandraPort>9160</cassandraPort> </systemProperties> <additionalClasspathDirs> <additionalClasspathDir>${basedir}/src/test/tomcat</additionalClasspathDir> 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 96f182f0a..2dc48280b 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 @@ -37,6 +37,9 @@ <alias name="repositoryStatisticsManager#default" alias="repositoryStatisticsManager"/> <!-- TODO olamy need to find a more dynamic way if using jcr impl --> <alias name="repositorySessionFactory#jcr" alias="repositorySessionFactory"/> + <!-- + <alias name="repositorySessionFactory#cassandra" alias="repositorySessionFactory"/> + --> <alias name="environmentCheck#archiva-locked-admin-check" alias="environmentCheck#locked-admin-check"/> <alias name="userManager#archiva" alias="userManager#default"/> |