mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
369 lines
13 KiB
XML
Executable File
369 lines
13 KiB
XML
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright (C) 2015 higherfrequencytrading.com
|
|
~
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU Lesser General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU Lesser General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU Lesser General Public License
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses />.
|
|
-->
|
|
|
|
<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">
|
|
|
|
<parent>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>java-parent-pom</artifactId>
|
|
<version>1.1.10</version>
|
|
<relativePath />
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>chronicle-map</artifactId>
|
|
<version>3.7.0-rc</version>
|
|
<name>OpenHFT/Chronicle-Map</name>
|
|
<description>Chronicle-Map</description>
|
|
<packaging>bundle</packaging>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>third-party-bom</artifactId>
|
|
<type>pom</type>
|
|
<version>3.5.0</version>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>chronicle-bom</artifactId>
|
|
<type>pom</type>
|
|
<version>1.11.16</version>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>chronicle-core</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>chronicle-values</artifactId>
|
|
<version>1.0.6-alpha</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>chronicle-threads</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.intellij</groupId>
|
|
<artifactId>annotations</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>chronicle-wire</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>chronicle-bytes</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>chronicle-algorithms</artifactId>
|
|
<version>1.1.7</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.java.dev.jna</groupId>
|
|
<artifactId>jna</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.java.dev.jna</groupId>
|
|
<artifactId>jna-platform</artifactId>
|
|
</dependency>
|
|
|
|
<!-- optional dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>com.thoughtworks.xstream</groupId>
|
|
<artifactId>xstream</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.codehaus.jettison</groupId>
|
|
<artifactId>jettison</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ops4j.pax.url</groupId>
|
|
<artifactId>pax-url-aether</artifactId>
|
|
</dependency>
|
|
|
|
<!-- test dependencies -->
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-module-junit4</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.powermock</groupId>
|
|
<artifactId>powermock-api-mockito</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>affinity</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava-testlib</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>stage-compiler</artifactId>
|
|
<version>1.10</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.openhft</groupId>
|
|
<artifactId>zero-allocation-hashing</artifactId>
|
|
<version>0.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.samskivert</groupId>
|
|
<artifactId>samskivert</artifactId>
|
|
<version>1.9</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>**/map.version</include>
|
|
</includes>
|
|
</resource>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
<filtering>false</filtering>
|
|
<excludes>
|
|
<exclude>**/map.version</exclude>
|
|
</excludes>
|
|
</resource>
|
|
</resources>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<compilerArgument>-Xlint:deprecation</compilerArgument>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<encoding>UTF-8</encoding>
|
|
<useIncrementalCompilation>false</useIncrementalCompilation>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-scm-publish-plugin</artifactId>
|
|
<configuration>
|
|
<checkoutDirectory>${project.build.directory}/scmpublish/javadoc/
|
|
</checkoutDirectory>
|
|
<checkinComment>Publishing javadoc for ${project.artifactId}:${project.version}
|
|
</checkinComment>
|
|
<content>${project.reporting.outputDirectory}/3.1.x</content>
|
|
<skipDeletedFiles>true</skipDeletedFiles>
|
|
<pubScmUrl>scm:git:git@github.com:OpenHFT/Chronicle-Map</pubScmUrl>
|
|
<scmBranch>gh-pages</scmBranch>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.10.3</version>
|
|
<configuration>
|
|
<links>
|
|
<link>http://openhft.github.io/Chronicle-Bytes/apidocs/</link>
|
|
<link>http://openhft.github.io/Chronicle-Wire/apidocs/</link>
|
|
<link>http://openhft.github.io/Chronicle-Algorithms/apidocs/</link>
|
|
<link>http://openhft.github.io/Chronicle-Values/apidocs/</link>
|
|
</links>
|
|
<excludePackageNames>
|
|
net.openhft.chronicle.hash.serialization.impl:net.openhft.xstream:net.openhft.chronicle.hash.impl:net.openhft.chronicle.map.impl:**.replication
|
|
</excludePackageNames>
|
|
<sourceFileExcludes>
|
|
<exclude>net/openhft/chronicle/hash/ChronicleHashBuilderPrivateAPI.java</exclude>
|
|
<exclude>net/openhft/chronicle/hash/VanillaGlobalMutableState.java</exclude>
|
|
<exclude>net/openhft/chronicle/map/VanillaChronicleMap.java</exclude>
|
|
<exclude>net/openhft/chronicle/map/Replica.java</exclude>
|
|
<exclude>net/openhft/chronicle/map/ReplicatedChronicleMap.java</exclude>
|
|
<exclude>net/openhft/chronicle/set/DummyValueData.java</exclude>
|
|
<exclude>**/Compiled*.java</exclude>
|
|
</sourceFileExcludes>
|
|
<failOnError>false</failOnError>
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- used to allow getClass().getPackage().getImplementationVersion() -->
|
|
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.1</version>
|
|
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
|
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
|
|
</plugin>
|
|
<!--
|
|
generate maven dependencies versions file that can be used later
|
|
to install the right bundle in test phase.
|
|
|
|
The file is:
|
|
|
|
target/classes/META-INF/maven/dependencies.properties
|
|
-->
|
|
<plugin>
|
|
<groupId>org.apache.servicemix.tooling</groupId>
|
|
<artifactId>depends-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>generate-depends-file</id>
|
|
<goals>
|
|
<goal>generate-depends-file</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<extensions>true</extensions>
|
|
<configuration>
|
|
<instructions>
|
|
<Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
|
|
<Bundle-Name>OpenHFT :: ${project.artifactId}</Bundle-Name>
|
|
<Bundle-Version>${project.version}</Bundle-Version>
|
|
<Import-Package>
|
|
com.thoughtworks.xstream;resolution:=optional,
|
|
org.jetbrains.annotations;resolution:=optional,
|
|
org.intellij.lang.annotations;resolution:=optional,
|
|
*
|
|
</Import-Package>
|
|
<Export-Package>
|
|
net.openhft.chronicle.map.*,
|
|
net.openhft.chronicle.set.*,
|
|
net.openhft.chronicle.hash.*
|
|
</Export-Package>
|
|
</instructions>
|
|
</configuration>
|
|
<executions>
|
|
<!--
|
|
This execution makes sure that the manifest is available
|
|
when the tests are executed
|
|
-->
|
|
<execution>
|
|
<goals>
|
|
<goal>manifest</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>Snapshot Repository</id>
|
|
<name>Snapshot Repository</name>
|
|
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
<updatePolicy>always</updatePolicy>
|
|
</snapshots>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
<updatePolicy>never</updatePolicy>
|
|
</releases>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<scm>
|
|
<url>scm:git:git@github.com:OpenHFT/Chronicle-Map.git</url>
|
|
<connection>scm:git:git@github.com:OpenHFT/Chronicle-Map.git</connection>
|
|
<developerConnection>scm:git:git@github.com:OpenHFT/Chronicle-Map.git</developerConnection>
|
|
<tag>chronicle-map-3.7.0-rc</tag>
|
|
</scm>
|
|
|
|
</project>
|