Repository: jena Updated Branches: refs/heads/master db9aad0c3 -> 584b3a663
Set plugin versions compatible with building using Java9 Project: http://git-wip-us.apache.org/repos/asf/jena/repo Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/6c4cba72 Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/6c4cba72 Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/6c4cba72 Branch: refs/heads/master Commit: 6c4cba722a0a2dd1fccb96e4346cbc455668cf3b Parents: 568b822 Author: Andy Seaborne <a...@apache.org> Authored: Fri Feb 2 17:10:52 2018 +0000 Committer: Andy Seaborne <a...@apache.org> Committed: Fri Feb 2 17:10:52 2018 +0000 ---------------------------------------------------------------------- pom.xml | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 63 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jena/blob/6c4cba72/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index fbff992..aec4129 100644 --- a/pom.xml +++ b/pom.xml @@ -31,10 +31,6 @@ <version>18</version> </parent> - <prerequisites> - <maven>3.3.5</maven> - </prerequisites> - <licenses> <license> <name>The Apache Software License, Version 2.0</name> @@ -595,6 +591,9 @@ <message>No SNAPSHOT dependencies are allowed!</message> <onlyWhenRelease>true</onlyWhenRelease> </requireReleaseDeps> + <requireMavenVersion> + <version>3.5.0</version> + </requireMavenVersion> </rules> <fail>true</fail> <failFast>true</failFast> @@ -720,9 +719,65 @@ <!-- Plugin version list: http://maven.apache.org/plugins/index.html --> <pluginManagement> <plugins> + <!-- For Java 9 : ahead of versions ia apache:apache v19 --> + <!-- + maven-compiler-plugin 3.7.0 + maven-enforcer-plugin 3.0.0-M1 + maven-javadoc-plugin 3.0.0-M1 -> 3.0.0 + maven-surefire-plugin 2.21.0 (2.20.1) + maven-war-plugin 3.1.0 (3.2.0) + --> + + <!-- + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.7.0</version> + </plugin> + --> + <!-- + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <version>3.0.0-M1</version> + </plugin> + --> + <!-- + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.0.0</version> + </plugin> + --> + <!-- + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.20.1</version> + </plugin> + --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <version>3.2.0</version> + </plugin> + + <!-- Other updates --> + <plugin> + <!-- Needed --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.1.0</version> + </plugin> + + + <!-- Jena configuration --> + + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> + <version>3.7.0</version> <configuration> <encoding>UTF-8</encoding> <debug>true</debug> @@ -736,6 +791,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> + <version>2.20.1</version> </plugin> <plugin> @@ -761,6 +817,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> + <version>3.0.0</version> <executions> <execution> <id>attach-javadocs</id> @@ -829,6 +886,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> + <version>3.0.0-M1</version> <executions> <execution> <id>enforce</id> @@ -863,7 +921,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> - <version>3.0.0</version> + <version>3.1.0</version> </plugin> <!--