366 lines
9.5 KiB
XML
366 lines
9.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<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>
|
|
<groupId>com.noorq.casser</groupId>
|
|
<artifactId>casser-core</artifactId>
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>casser</name>
|
|
<description>Casser Cassandra Client</description>
|
|
<url>https://github.com/noorq/casser</url>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>The Apache Software License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<scm>
|
|
<url>https://github.com/noorq/casser</url>
|
|
<connection>scm:git:git@github.com:noorq/casser.git</connection>
|
|
<developerConnection>scm:git:git@github.com:noorq/casser.git</developerConnection>
|
|
</scm>
|
|
|
|
<issueManagement>
|
|
<system>GitHub</system>
|
|
<url>https://github.com/noorq/casser/issues</url>
|
|
</issueManagement>
|
|
|
|
<!--
|
|
<parent>
|
|
<groupId>org.sonatype.oss</groupId>
|
|
<artifactId>oss-parent</artifactId>
|
|
<version>7</version>
|
|
</parent>
|
|
-->
|
|
|
|
<properties>
|
|
<dist.id>casser</dist.id>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
<cassandra-unit.version>2.0.2.2</cassandra-unit.version>
|
|
<cassandra-driver-core.version>2.1.5</cassandra-driver-core.version>
|
|
<cassandra>2.1.2</cassandra>
|
|
<guava.version>16.0.1</guava.version>
|
|
|
|
<hamcrest>1.3</hamcrest>
|
|
<jodatime>2.1</jodatime>
|
|
<junit>4.11</junit>
|
|
<jamm>0.2.5</jamm>
|
|
<slf4j>1.7.1</slf4j>
|
|
<logback>1.0.11</logback>
|
|
<mockito>1.9.5</mockito>
|
|
<jackson>1.9.13</jackson>
|
|
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>com.datastax.cassandra</groupId>
|
|
<artifactId>cassandra-driver-core</artifactId>
|
|
<version>${cassandra-driver-core.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<groupId>org.slf4j</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
<groupId>org.slf4j</groupId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<artifactId>guava</artifactId>
|
|
<groupId>com.google.guava</groupId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>${guava.version}</version>
|
|
</dependency>
|
|
|
|
<!-- TESTS -->
|
|
|
|
<dependency>
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
<version>${jackson}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
<version>${jackson}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.cassandraunit</groupId>
|
|
<artifactId>cassandra-unit</artifactId>
|
|
<version>${cassandra-unit.version}</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>com.datastax.cassandra</groupId>
|
|
<artifactId>cassandra-driver-core</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.cassandra</groupId>
|
|
<artifactId>cassandra-all</artifactId>
|
|
<version>${cassandra}</version>
|
|
<scope>test</scope>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-core</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
</exclusion>
|
|
<exclusion>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>commons-io</groupId>
|
|
<artifactId>commons-io</artifactId>
|
|
<version>2.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>${junit}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.stephenc</groupId>
|
|
<artifactId>jamm</artifactId>
|
|
<version>${jamm}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-library</artifactId>
|
|
<version>${hamcrest}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-core</artifactId>
|
|
<version>${hamcrest}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<version>${mockito}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<!-- Logging -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
<version>${slf4j}</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<testResources>
|
|
<testResource>
|
|
<directory>src/test/resources</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>**/*</include>
|
|
</includes>
|
|
</testResource>
|
|
</testResources>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<testSource>1.8</testSource>
|
|
<testTarget>1.8</testTarget>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>2.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.9.1</version>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
<author>true</author>
|
|
<bottom>true</bottom>
|
|
<destDir>target/javadoc</destDir>
|
|
<packagenames>casser.*</packagenames>
|
|
<use>true</use>
|
|
<version>true</version>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
<version>2.8</version>
|
|
<configuration>
|
|
<downloadSources>true</downloadSources>
|
|
<downloadJavadocs>true</downloadJavadocs>
|
|
<wtpversion>2.0</wtpversion>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<version>2.8</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>1.8</version>
|
|
<executions>
|
|
<execution>
|
|
<id>reserve-network-port</id>
|
|
<goals>
|
|
<goal>reserve-network-port</goal>
|
|
</goals>
|
|
<phase>process-resources</phase>
|
|
<configuration>
|
|
<portNames>
|
|
<portName>build.cassandra.native_transport_port</portName>
|
|
<portName>build.cassandra.rpc_port</portName>
|
|
<portName>build.cassandra.storage_port</portName>
|
|
<portName>build.cassandra.ssl_storage_port</portName>
|
|
</portNames>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.18.1</version>
|
|
<configuration>
|
|
<parallel>methods</parallel>
|
|
<threadCount>10</threadCount>
|
|
<useFile>false</useFile>
|
|
<includes>
|
|
<include>**/test/unit/**/*.java</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/test/integration/**/*.java</exclude>
|
|
<exclude>**/test/performance/**/*.java</exclude>
|
|
</excludes>
|
|
<systemPropertyVariables>
|
|
<java.util.logging.config.file>src/test/resources/logging.properties</java.util.logging.config.file>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.bitstrings.maven.plugins</groupId>
|
|
<artifactId>dependencypath-maven-plugin</artifactId>
|
|
<version>1.1.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>set-all</id>
|
|
<goals>
|
|
<goal>set</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>2.16</version>
|
|
<configuration>
|
|
<forkCount>1</forkCount>
|
|
<argLine>-Xmx1024m -Xss512m
|
|
-javaagent:${com.github.stephenc:jamm:jar}</argLine>
|
|
<reuseForks>true</reuseForks>
|
|
<useFile>false</useFile>
|
|
<includes>
|
|
<include>**/test/integration/**/*.java</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude>**/test/unit/**/*.java</exclude>
|
|
<exclude>**/test/performance/**/*.java</exclude>
|
|
</excludes>
|
|
<systemPropertyVariables>
|
|
<java.util.logging.config.file>src/test/resources/logging.properties</java.util.logging.config.file>
|
|
<maven.integration.test>true</maven.integration.test>
|
|
</systemPropertyVariables>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|