2013-06-10 06:59:20 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
~ Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
~ or more contributor license agreements. See the NOTICE file
|
|
|
|
~ distributed with this work for additional information
|
|
|
|
~ regarding copyright ownership. The ASF licenses this file
|
|
|
|
~ to you under the Apache License, Version 2.0 (the
|
|
|
|
~ "License"); you may not use this file except in compliance
|
|
|
|
~ with the License. You may obtain a copy of the License at
|
|
|
|
~
|
|
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
~
|
|
|
|
~ Unless required by applicable law or agreed to in writing,
|
|
|
|
~ software distributed under the License is distributed on an
|
|
|
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
|
|
~ KIND, either express or implied. See the License for the
|
|
|
|
~ specific language governing permissions and limitations
|
|
|
|
~ under the License.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<artifactId>plugins</artifactId>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
2014-03-25 22:41:32 -04:00
|
|
|
<version>2.0.2-SNAPSHOT</version>
|
2013-06-10 06:59:20 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>metadata-store-cassandra</artifactId>
|
|
|
|
<packaging>bundle</packaging>
|
2014-03-23 21:36:45 -04:00
|
|
|
<name>Archiva Core Plugins :: Cassandra Storage for Metadata</name>
|
2013-06-10 06:59:20 -04:00
|
|
|
|
|
|
|
<properties>
|
2013-11-18 17:59:46 -05:00
|
|
|
|
2013-11-18 00:47:25 -05:00
|
|
|
<cassandraVersion>1.2.11</cassandraVersion>
|
2013-11-18 17:59:46 -05:00
|
|
|
<!--
|
|
|
|
2.x has 1.7 required
|
2013-11-18 00:47:25 -05:00
|
|
|
<cassandraVersion>2.0.2</cassandraVersion>
|
2013-11-18 17:59:46 -05:00
|
|
|
-->
|
2014-03-23 21:36:45 -04:00
|
|
|
<!--
|
2014-02-06 18:25:47 -05:00
|
|
|
<astyanax.version>1.56.48</astyanax.version>
|
2014-03-23 21:36:45 -04:00
|
|
|
-->
|
2013-06-10 06:59:20 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-lang</groupId>
|
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>metadata-repository-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>metadata-repository-api</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-test-utils</artifactId>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
2013-12-26 07:56:18 -05:00
|
|
|
<groupId>org.modelmapper</groupId>
|
|
|
|
<artifactId>modelmapper</artifactId>
|
2013-06-10 06:59:20 -04:00
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.cassandra</groupId>
|
|
|
|
<artifactId>cassandra-all</artifactId>
|
|
|
|
<version>${cassandraVersion}</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>jetty</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
2013-09-05 23:14:09 -04:00
|
|
|
<dependency>
|
2014-03-20 19:22:05 -04:00
|
|
|
<groupId>org.hectorclient</groupId>
|
|
|
|
<artifactId>hector-core</artifactId>
|
|
|
|
<version>1.1-4</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.ecyrd.speed4j</groupId>
|
|
|
|
<artifactId>speed4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>com.yammer.metrics</groupId>
|
|
|
|
<artifactId>metrics-core</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.cassandra</groupId>
|
|
|
|
<artifactId>cassandra-thrift</artifactId>
|
|
|
|
<version>1.2.15</version>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2013-09-05 23:14:09 -04:00
|
|
|
</dependency>
|
|
|
|
|
2013-06-11 07:16:31 -04:00
|
|
|
|
2013-06-10 06:59:20 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
2014-03-25 02:29:30 -04:00
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
2013-06-10 06:59:20 -04:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-1.2-api</artifactId>
|
|
|
|
<version>${log4j.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.lmax</groupId>
|
|
|
|
<artifactId>disruptor</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2014-03-18 08:42:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2013-06-10 06:59:20 -04:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<testResources>
|
|
|
|
<testResource>
|
|
|
|
<directory>src/test/filtered-resources</directory>
|
|
|
|
<filtering>true</filtering>
|
|
|
|
</testResource>
|
|
|
|
</testResources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<instructions>
|
|
|
|
<Bundle-SymbolicName>org.apache.archiva.metadata.repository.cassandra</Bundle-SymbolicName>
|
|
|
|
<Bundle-Version>${project.version}</Bundle-Version>
|
|
|
|
<Export-Package>
|
|
|
|
org.apache.archiva.metadata.repository.cassandra;version=${project.version};-split-package:=merge-first
|
|
|
|
</Export-Package>
|
|
|
|
<Import-Package>
|
2013-06-10 15:31:01 -04:00
|
|
|
javax.annotation,
|
|
|
|
javax.inject,
|
|
|
|
javax.persistence,
|
|
|
|
com.google.common.base,
|
|
|
|
com.google.common.collect,
|
|
|
|
com.netflix.astyanax,
|
|
|
|
com.netflix.astyanax.connectionpool,
|
|
|
|
com.netflix.astyanax.connectionpool.exceptions,
|
|
|
|
com.netflix.astyanax.connectionpool.impl,
|
|
|
|
com.netflix.astyanax.entitystore,
|
|
|
|
com.netflix.astyanax.impl,
|
2013-06-11 08:57:47 -04:00
|
|
|
com.netflix.astyanax.ddl,
|
2013-06-10 15:31:01 -04:00
|
|
|
com.netflix.astyanax.thrift,
|
|
|
|
net.sf.beanlib.provider.replicator,
|
|
|
|
org.apache.archiva.metadata.model;version=${project.version},
|
|
|
|
org.apache.archiva.metadata.repository;version=${project.version},
|
|
|
|
org.apache.archiva.configuration,
|
|
|
|
org.apache.commons.lang;version="[2.4,3)",
|
|
|
|
org.slf4j;resolution:=optional,
|
|
|
|
org.springframework.context,
|
2013-11-18 00:47:25 -05:00
|
|
|
org.springframework.stereotype,
|
|
|
|
com.netflix.astyanax.serializers,
|
2013-11-19 22:15:01 -05:00
|
|
|
org.apache.commons.codec.binary,
|
|
|
|
org.apache.commons.io
|
2013-06-10 06:59:20 -04:00
|
|
|
</Import-Package>
|
|
|
|
</instructions>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>reserve-ports</id>
|
|
|
|
<phase>process-test-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>reserve-network-port</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<portNames>
|
|
|
|
<portName>cassandraPort</portName>
|
2013-06-11 08:57:47 -04:00
|
|
|
<portName>cassandra.storagePort</portName>
|
|
|
|
<portName>cassandra.stopPort</portName>
|
2013-06-10 06:59:20 -04:00
|
|
|
</portNames>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>cassandra-maven-plugin</artifactId>
|
2013-12-16 18:55:11 -05:00
|
|
|
<version>2.0.0-1</version>
|
2013-06-10 06:59:20 -04:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>start-cassandra</id>
|
|
|
|
<phase>test-compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>start</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rpcPort>${cassandraPort}</rpcPort>
|
2013-06-11 08:57:47 -04:00
|
|
|
<storagePort>${cassandra.storagePort}</storagePort>
|
|
|
|
<stopPort>${cassandra.stopPort}</stopPort>
|
2013-06-11 07:16:31 -04:00
|
|
|
<addMainClasspath>false</addMainClasspath>
|
|
|
|
<addTestClasspath>false</addTestClasspath>
|
2013-06-10 06:59:20 -04:00
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
<execution>
|
|
|
|
<id>stop-cassandra</id>
|
|
|
|
<phase>test</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>stop</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
2013-06-11 07:16:31 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>slf4j-simple</artifactId>
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2013-06-10 06:59:20 -04:00
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<systemPropertyVariables>
|
|
|
|
<cassandraPort>${cassandraPort}</cassandraPort>
|
|
|
|
</systemPropertyVariables>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|