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.
|
|
|
|
-->
|
|
|
|
|
2014-07-15 20:51:21 -04:00
|
|
|
<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">
|
2013-06-10 06:59:20 -04:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<artifactId>plugins</artifactId>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
2017-05-18 01:04:58 -04:00
|
|
|
<version>3.0.0-SNAPSHOT</version>
|
2013-06-10 06:59:20 -04:00
|
|
|
</parent>
|
|
|
|
<artifactId>metadata-store-cassandra</artifactId>
|
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>
|
2018-11-04 07:34:47 -05:00
|
|
|
<site.staging.base>${project.parent.parent.basedir}</site.staging.base>
|
2018-05-20 09:24:30 -04:00
|
|
|
<cassandraVersion>3.11.2</cassandraVersion>
|
2013-06-10 06:59:20 -04:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
2019-09-02 10:51:46 -04:00
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
2013-06-10 06:59:20 -04:00
|
|
|
</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>
|
2020-06-20 13:54:20 -04:00
|
|
|
<artifactId>archiva-common</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-configuration</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-policies</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-xml-tools</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-repository-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>archiva-checksum</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>metadata-model</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.inject</groupId>
|
|
|
|
<artifactId>javax.inject</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
2013-06-10 06:59:20 -04:00
|
|
|
</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>
|
2018-05-24 17:51:50 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-core</artifactId>
|
|
|
|
</exclusion>
|
2013-06-10 06:59:20 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.mortbay.jetty</groupId>
|
|
|
|
<artifactId>jetty</artifactId>
|
|
|
|
</exclusion>
|
2014-03-26 19:27:58 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
</exclusion>
|
2018-05-20 19:05:19 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
|
</exclusion>
|
2019-10-05 10:15:02 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging</artifactId>
|
|
|
|
</exclusion>
|
2013-06-10 06:59:20 -04:00
|
|
|
</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>
|
2018-05-20 19:05:19 -04:00
|
|
|
<exclusion>
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
<artifactId>log4j-over-slf4j</artifactId>
|
|
|
|
</exclusion>
|
2014-03-20 19:22:05 -04:00
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.cassandra</groupId>
|
|
|
|
<artifactId>cassandra-thrift</artifactId>
|
2018-05-24 17:51:50 -04:00
|
|
|
<version>3.11.2</version>
|
2014-03-20 19:22:05 -04:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
2013-09-05 23:14:09 -04:00
|
|
|
</dependency>
|
|
|
|
|
2019-10-05 10:15:02 -04:00
|
|
|
<!-- Is a dependency of cassandra -> hibernate-validator and replaced by new version -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.jboss.logging</groupId>
|
|
|
|
<artifactId>jboss-logging</artifactId>
|
|
|
|
</dependency>
|
|
|
|
|
2013-06-11 07:16:31 -04:00
|
|
|
|
2020-01-27 14:12:09 -05:00
|
|
|
<!-- TEST Scope -->
|
2020-06-20 13:54:20 -04:00
|
|
|
<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>
|
2020-01-27 14:12:09 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.easymock</groupId>
|
|
|
|
<artifactId>easymock</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-06-10 06:59:20 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-test</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-11-05 14:11:08 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.archiva</groupId>
|
|
|
|
<artifactId>generic-metadata-support</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2013-06-10 06:59:20 -04:00
|
|
|
<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>
|
|
|
|
|
2019-09-01 08:37:52 -04:00
|
|
|
|
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.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>
|
2014-10-31 19:06:38 -04:00
|
|
|
<portName>cassandra.jmxPort</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>
|
2017-06-16 01:38:50 -04:00
|
|
|
<phase>process-test-classes</phase>
|
2013-06-10 06:59:20 -04:00
|
|
|
<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>
|
2014-10-31 19:06:38 -04:00
|
|
|
<jmxPort>${cassandra.jmxPort}</jmxPort>
|
2013-06-11 07:16:31 -04:00
|
|
|
<addMainClasspath>false</addMainClasspath>
|
|
|
|
<addTestClasspath>false</addTestClasspath>
|
2018-05-02 11:21:25 -04:00
|
|
|
<startWaitSeconds>500</startWaitSeconds>
|
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>
|
2014-03-26 18:27:02 -04:00
|
|
|
<cassandra.port>${cassandraPort}</cassandra.port>
|
2014-03-31 09:23:20 -04:00
|
|
|
<archiva.repositorySessionFactory.id>cassandra</archiva.repositorySessionFactory.id>
|
2018-05-02 01:20:57 -04:00
|
|
|
<appserver.base>${project.build.directory}/appserver-base</appserver.base>
|
2013-06-10 06:59:20 -04:00
|
|
|
</systemPropertyVariables>
|
2019-08-20 17:07:22 -04:00
|
|
|
<trimStackTrace>false</trimStackTrace>
|
2013-06-10 06:59:20 -04:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
|
|
|
</build>
|
|
|
|
|
|
|
|
</project>
|