Repository: incubator-ratis Updated Branches: refs/heads/master 24f5cc769 -> e913cf8c4
RATIS-54. Bump maven.min.version to 3.3.9. Project: http://git-wip-us.apache.org/repos/asf/incubator-ratis/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ratis/commit/e913cf8c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ratis/tree/e913cf8c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ratis/diff/e913cf8c Branch: refs/heads/master Commit: e913cf8c42ec202462f999e08835e884de79d148 Parents: 24f5cc7 Author: Tsz-Wo Nicholas Sze <[email protected]> Authored: Tue Apr 4 08:13:36 2017 +0200 Committer: Tsz-Wo Nicholas Sze <[email protected]> Committed: Tue Apr 4 08:13:36 2017 +0200 ---------------------------------------------------------------------- BUILDING.md | 6 ++++-- pom.xml | 14 ++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/e913cf8c/BUILDING.md ---------------------------------------------------------------------- diff --git a/BUILDING.md b/BUILDING.md index 8fa1a94..f31dcc5 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -13,8 +13,10 @@ --> # Building -Apache Ratis uses Apache Maven for the builds. A 3.2+ version of Maven is required as well as -at least Java-1.8. +Apache Ratis uses Apache Maven to build the artifacts. +It is required to have Maven 3.3.9 or later. +Apache Ratis is written in Java 8. +Therefore, it as well requires Java 8 or later. When building Ratis the first time, shaded files need to be generated by the following command: ``` http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/e913cf8c/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 978717a..27a9f3b 100644 --- a/pom.xml +++ b/pom.xml @@ -142,6 +142,7 @@ <maven-install-plugin.version>2.5.1</maven-install-plugin.version> <maven-jar-plugin.version>3.0.2</maven-jar-plugin.version> <maven-javadoc-plugin.version>2.10.3</maven-javadoc-plugin.version> + <maven-pdf-plugin.version>1.2</maven-pdf-plugin.version> <maven-resources-plugin.version>2.6</maven-resources-plugin.version> <maven-shade-plugin.version>2.4.3</maven-shade-plugin.version> <maven-site-plugin.version>3.5</maven-site-plugin.version> @@ -149,14 +150,15 @@ <maven-stylus-skin.version>1.5</maven-stylus-skin.version> <maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version> <maven-xolstice-plugin.version>0.5.0</maven-xolstice-plugin.version> - <maven-pdf-plugin.version>1.2</maven-pdf-plugin.version> + + <apache-rat-plugin.version>0.10</apache-rat-plugin.version> <build-helper-maven-plugin.version>1.9</build-helper-maven-plugin.version> <exec-maven-plugin.version>1.3.1</exec-maven-plugin.version> + <findbugs.version>3.0.0</findbugs.version> <make-maven-plugin.version>1.0-beta-1</make-maven-plugin.version> <native-maven-plugin.version>1.0-alpha-8</native-maven-plugin.version> - <findbugs.version>3.0.0</findbugs.version> - <apache-rat-plugin.version>0.10</apache-rat-plugin.version> <wagon-ssh.version>1.0</wagon-ssh.version> + <shell-executable>bash</shell-executable> <hadoop.version>3.0.0-alpha1</hadoop.version> @@ -165,7 +167,7 @@ <!-- define the Java language version used by the compiler --> <javac.version>1.8</javac.version> <java.min.version>${javac.version}</java.min.version> - <maven.min.version>3.0.4</maven.min.version> + <maven.min.version>3.3.9</maven.min.version> <!--Version of protobuf to be shaded --> <shaded.protobuf.version>3.1.0</shaded.protobuf.version> @@ -408,10 +410,10 @@ <configuration> <rules> <requireMavenVersion> - <version>[3.0.2,)</version> + <version>[${maven.min.version},)</version> </requireMavenVersion> <requireJavaVersion> - <version>[1.8,)</version> + <version>[${java.min.version},)</version> </requireJavaVersion> </rules> </configuration>
