diff options
author | Olivier Lamy <olamy@apache.org> | 2014-03-28 11:43:34 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-03-28 11:43:34 +0000 |
commit | 946557f1648025a37476dddf7691bd829114c599 (patch) | |
tree | 725cfcfba372def0b9264bb894dff82dbd3aacf6 | |
parent | bef128817d76a8aac1fa575df8197f8af5a62921 (diff) | |
download | archiva-946557f1648025a37476dddf7691bd829114c599.tar.gz archiva-946557f1648025a37476dddf7691bd829114c599.zip |
more metadata store cassandra to cassandra profile as need 1.7 dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1582714 13f79535-47bb-0310-9956-ffa450edef68
2 files changed, 6 insertions, 7 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index 17614ea60..72a3c0d67 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -130,11 +130,6 @@ <dependency> <groupId>org.apache.archiva</groupId> - <artifactId>metadata-store-cassandra</artifactId> - </dependency> - - <dependency> - <groupId>org.apache.archiva</groupId> <artifactId>metadata-store-file</artifactId> </dependency> @@ -1105,6 +1100,12 @@ <properties> <archiva.repositorySessionFactory.id>cassandra</archiva.repositorySessionFactory.id> </properties> + <dependencies> + <dependency> + <groupId>org.apache.archiva</groupId> + <artifactId>metadata-store-cassandra</artifactId> + </dependency> + </dependencies> </profile> </profiles> diff --git a/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraRepositorySessionFactory.java b/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraRepositorySessionFactory.java index f9f1580fd..cef2fd7ce 100644 --- a/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraRepositorySessionFactory.java +++ b/archiva-modules/plugins/metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraRepositorySessionFactory.java @@ -71,8 +71,6 @@ public class CassandraRepositorySessionFactory { metadataFacetFactories.put( StringUtils.substringAfterLast( entry.getKey(), "#" ), entry.getValue() ); } - - } |