| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- Copyright 2015, Yahoo! Inc. |
| Licensed under the terms of the Apache License 2.0. |
| See LICENSE file at the project root for terms. --> |
| |
| <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/maven-v4_0_0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>com.yahoo.datasketches</groupId> |
| <artifactId>memory</artifactId> |
| <version>0.12.0</version> |
| |
| <!-- Project Information --> |
| <name>${project.groupId}:${project.artifactId}</name> |
| <description>Memory provides high-performance native memory access.</description> |
| <url>https://datasketches.github.io/</url> |
| <inceptionYear>2015</inceptionYear> |
| |
| <licenses> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>https://www.apache.org/licenses/LICENSE-2.0</url> |
| </license> |
| </licenses> |
| |
| <organization> |
| <name>Yahoo! Inc.</name> |
| <url>https://www.yahoo.com</url> |
| </organization> |
| |
| <developers> |
| <developer> |
| <name>Lee Rhodes</name> |
| <roles> |
| <role>founder, project admin, lead developer</role> |
| </roles> |
| <url>https://github.com/leerho</url> |
| </developer> |
| </developers> |
| |
| <contributors> |
| <contributor> |
| <url>https://github.com/DataSketches/memory/graphs/contributors</url> |
| </contributor> |
| </contributors> |
| <!-- End Project Information --> |
| |
| <properties> |
| <!-- System-wide properties --> |
| <argLine>-Xmx4g -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8</argLine> |
| <charset.encoding>UTF-8</charset.encoding> |
| <project.build.sourceEncoding>${charset.encoding}</project.build.sourceEncoding> |
| <project.build.resourceEncoding>${charset.encoding}</project.build.resourceEncoding> |
| <project.reporting.outputEncoding>${charset.encoding}</project.reporting.outputEncoding> |
| <java.version>1.8</java.version> <!-- TODO-JDK9: 1.9 --> |
| <maven.compiler.source>${java.version}</maven.compiler.source> |
| <maven.compiler.target>${java.version}</maven.compiler.target> |
| |
| <!-- Dependencies --> |
| <testng.version>6.14.3</testng.version> |
| <protobuf-java.version>3.6.0</protobuf-java.version> |
| <findbugs.version>3.0.1</findbugs.version> |
| <slf4j-api.version>1.7.25</slf4j-api.version> |
| |
| <!-- Maven Plugins --> |
| <maven-assembly-plugin.version>3.1.0</maven-assembly-plugin.version> |
| <maven-clean-plugin.version>3.1.0</maven-clean-plugin.version> |
| <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version> |
| <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version> |
| <maven-deploy-plugin.version>2.8.2</maven-deploy-plugin.version> |
| <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> |
| <maven-help-plugin.version>3.1.0</maven-help-plugin.version> |
| <maven-install-plugin.version>2.5.2</maven-install-plugin.version> |
| <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version> |
| <maven-release-plugin.version>2.5.3</maven-release-plugin.version> |
| <maven-resources-plugin.version>3.1.0</maven-resources-plugin.version> |
| <maven-source-plugin.version>3.0.1</maven-source-plugin.version> |
| <maven-surefire-plugin.version>2.22.0</maven-surefire-plugin.version> |
| |
| <!-- Codehaus.org Maven Plugins --> |
| <exec-maven-plugin.version>1.6.0</exec-maven-plugin.version> |
| <license-maven-plugin.version>1.16</license-maven-plugin.version> |
| <plexus-compiler-javac-errorprone.version>2.8.4</plexus-compiler-javac-errorprone.version> |
| |
| <!-- Jacoco.org Maven Plugins --> |
| <jacoco-maven-plugin.version>0.8.1</jacoco-maven-plugin.version> |
| |
| <!-- Sonatype.org Maven Plugins --> |
| <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> |
| |
| <!-- eluder.org Maven Plugins --> |
| <coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version> |
| </properties> |
| |
| <!-- Environment Settings --> |
| <issueManagement> |
| <system>GitHub Issues</system> |
| <url>https://github.com/DataSketches/memory/issues</url> |
| </issueManagement> |
| |
| <ciManagement> |
| <system>travis</system> |
| <url>https://travis-ci.org/DataSketches/memory</url> |
| </ciManagement> |
| |
| <mailingLists> |
| <mailingList> |
| <name>sketches-user</name> |
| <archive>https://groups.google.com/forum/#!forum/sketches-user</archive> |
| <subscribe>mailto:sketches-user%2Bsubscribe@googlegroups.com</subscribe> |
| <unsubscribe>mailto:sketches-user%2Bunsubscribe@googlegroups.com</unsubscribe> |
| <post>mailto:sketches-user@googlegroups.com</post> |
| </mailingList> |
| </mailingLists> |
| |
| <scm> |
| <connection>scm:git:ssh://git@github.com/DataSketches/memory.git</connection> |
| <developerConnection>scm:git:ssh://git@github.com/DataSketches/memory.git</developerConnection> |
| <url>https://github.com/DataSketches/memory</url> |
| <tag>memory-0.12.0</tag> |
| </scm> |
| |
| <prerequisites> |
| <maven>3.0.4</maven> |
| </prerequisites> |
| |
| <repositories> |
| <repository> |
| <id>jcenter</id> |
| <name>bintray</name> |
| <url>https://jcenter.bintray.com</url> |
| </repository> |
| </repositories> |
| |
| <distributionManagement> |
| <repository> |
| <id>sonatype-nexus-staging</id> |
| <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| </repository> |
| </distributionManagement> |
| |
| <!-- This is optional --> |
| <profiles> |
| <profile> |
| <id>strict</id> |
| <build> |
| <pluginManagement> |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <configuration> |
| <source>${maven.compiler.source}</source> |
| <target>${maven.compiler.target}</target> |
| <compilerId>javac-with-errorprone</compilerId> <!-- TODO-JDK9: remove? --> |
| <forceJavacCompilerUse>true</forceJavacCompilerUse> <!-- TODO-JDK9: remove? --> |
| <!-- TODO-JDK9: add, convert -x- to two dashes: |
| <compilerArgument>-Xlint:deprecation</compilerArgument> |
| <encoding>UTF-8</encoding> |
| <compilerArgs> |
| <arg> -x-add-exports</arg><arg>java.base/jdk.internal.ref=ALL-UNNAMED</arg> |
| <arg> -x-add-exports</arg><arg>java.base/sun.nio.ch=ALL-UNNAMED</arg> |
| </compilerArgs> |
| --> |
| </configuration> |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-compiler-javac-errorprone</artifactId> |
| <version>${plexus-compiler-javac-errorprone.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| </plugins> |
| </pluginManagement> |
| </build> |
| </profile> |
| </profiles> |
| <!-- End of Environment Settings --> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j-api.version}</version> |
| </dependency> |
| <!-- Compile, Test Scope --> |
| <dependency> |
| <groupId>org.testng</groupId> |
| <artifactId>testng</artifactId> |
| <version>${testng.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <!-- Used for UTF8 testing --> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java</artifactId> |
| <version>${protobuf-java.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>findbugs</artifactId> |
| <version>${findbugs.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <configuration> |
| <!-- |
| <show>private</show> |
| --> |
| <stylesheetfile>src/main/javadoc/stylesheet.css</stylesheetfile> |
| <docfilessubdirs>true</docfilessubdirs> |
| </configuration> |
| <executions> |
| <execution> |
| <id>attach-javadocs</id> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <goals> |
| <goal>jar-no-fork</goal> |
| <goal>test-jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>nexus-staging-maven-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <serverId>sonatype-nexus-staging</serverId> |
| <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| </configuration> |
| </plugin> |
| |
| <!-- Code coverage plugin, generates coverage report to target/site/jacoco/ |
| To skip coverage generation add -Djacoco.skip=true --> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <executions> |
| <!-- Prepares the property pointing to the JaCoCo runtime agent which |
| is passed as VM argument when Maven the Surefire plugin is executed. --> |
| <execution> |
| <id>pre-unit-test</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| <configuration> |
| <!-- Sets the path to the file which contains the execution data. --> |
| <destFile>${jacoco.ut.execution.data.file}</destFile> |
| </configuration> |
| </execution> |
| <!-- Ensures that the code coverage report for unit tests is created after |
| unit tests have been run. --> |
| <execution> |
| <id>post-unit-test</id> |
| <phase>test</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| <configuration> |
| <!-- Sets the path to the file which contains the execution data. --> |
| <dataFile>${jacoco.ut.execution.data.file}</dataFile> |
| <!-- Sets the output directory for the code coverage report. --> |
| <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory> |
| </configuration> |
| </execution> |
| <execution> |
| <id>default-check</id> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| <configuration> |
| <rules> |
| <!-- implementation is needed only for Maven 2 --> |
| <rule implementation="org.jacoco.maven.RuleConfiguration"> |
| <element>BUNDLE</element> |
| <limits> |
| <!-- implementation is needed only for Maven 2 --> |
| <limit implementation="org.jacoco.report.check.Limit"> |
| <counter>INSTRUCTION</counter> |
| <value>COVEREDRATIO</value> |
| <minimum>0.89</minimum> |
| </limit> |
| </limits> |
| </rule> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- Coveralls is a online code coverage reporting tool that leverages JaCoCo --> |
| <plugin> |
| <groupId>org.eluder.coveralls</groupId> |
| <artifactId>coveralls-maven-plugin</artifactId> |
| <configuration> |
| <repoToken /> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <enableAssertions>true</enableAssertions> |
| <!-- TODO-JDK9 add, convert -x- to two dashes: |
| <argLine> |
| -x-add-exports java.base/jdk.internal.ref=ALL-UNNAMED |
| -x-add-exports java.base/jdk.internal.misc=ALL-UNNAMED |
| -x-add-opens=java.base/sun.nio.ch=ALL-UNNAMED |
| -x-add-opens=java.base/java.nio=ALL-UNNAMED |
| </argLine> |
| --> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>sign-artifacts</id> |
| <phase>verify</phase> |
| <goals> |
| <goal>sign</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| </plugins> |
| |
| <pluginManagement> |
| <plugins> |
| <!-- ORG.APACHE.MAVEN --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>${maven-assembly-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <version>${maven-clean-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>${maven-compiler-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <version>${maven-dependency-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-deploy-plugin</artifactId> |
| <version>${maven-deploy-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-gpg-plugin</artifactId> |
| <version>${maven-gpg-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-help-plugin</artifactId> |
| <version>${maven-help-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>${maven-install-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${maven-javadoc-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <version>${maven-release-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>${maven-resources-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>${maven-source-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${maven-surefire-plugin.version}</version> |
| </plugin> |
| |
| <!-- OTHER --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>exec-maven-plugin</artifactId> |
| <version>${exec-maven-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>license-maven-plugin</artifactId> |
| <version>${license-maven-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.eluder.coveralls</groupId> |
| <artifactId>coveralls-maven-plugin</artifactId> |
| <version>${coveralls-maven-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <version>${jacoco-maven-plugin.version}</version> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>nexus-staging-maven-plugin</artifactId> |
| <version>${nexus-staging-maven-plugin.version}</version> |
| </plugin> |
| |
| </plugins> |
| </pluginManagement> |
| </build> |
| </project> |