Minor pom changes
diff --git a/pom.xml b/pom.xml
index 7f45e31..be00ed2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,5 +1,4 @@
<?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
@@ -19,8 +18,10 @@
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/maven-v4_0_0.xsd">
+<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>
@@ -33,7 +34,6 @@
<groupId>org.apache.datasketches</groupId>
<artifactId>datasketches-java</artifactId>
<version>3.1.0</version>
- <packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>Core sketch algorithms used alone and by other Java repositories in the DataSketches library.</description>
@@ -127,34 +127,9 @@
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
<!-- other -->
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
- <git-commit-id-maven-plugin.version>5.0.0</git-commit-id-maven-plugin.version>
+ <git-commit-id-maven-plugin.version>4.0.4</git-commit-id-maven-plugin.version>
</properties>
- <repositories>
- <repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshot Repository</name>
- <url>https://repository.apache.org/content/groups/snapshots/org/apache/datasketches/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <repository>
- <id>apache</id>
- <name>Apache Releases Repository</name>
- <url>https://repository.apache.org/content/repositories/releases/org/apache/datasketches/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
-
<dependencies>
<!-- UNIQUE FOR THIS JAVA COMPONENT -->
<dependency>
@@ -251,10 +226,10 @@
<configuration>
<rules>
<requireJavaVersion>
- <version>${java.version}</version>
+ <version>[1.8,1.9),[8,14)</version>
</requireJavaVersion>
<requireMavenVersion>
- <version>${maven.version},</version>
+ <version>[${maven.version},)</version>
</requireMavenVersion>
<bannedDependencies>
<excludes>
@@ -462,6 +437,10 @@
<profile>
<id>strict</id>
+ <!-- The error prone compiler is only currently supported for compilation in JDK 8 -->
+ <activation>
+ <jdk>[1.8, 1.9),8</jdk>
+ </activation>
<build>
<pluginManagement>
<plugins>
@@ -522,7 +501,8 @@
<format>json</format>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>${project.build.directory}/git.properties</generateGitPropertiesFilename>
- <failOnNoGitDirectory>true</failOnNoGitDirectory>
+ <!-- Maven commands are sometimes run on the release artifact directly, which is not a Git repository -->
+ <failOnNoGitDirectory>false</failOnNoGitDirectory>
<failOnUnableToExtractRepoInfo>true</failOnUnableToExtractRepoInfo>
<commitIdGenerationMode>full</commitIdGenerationMode>
<includeOnlyProperties>