Repository: ignite Updated Branches: refs/heads/master fce279931 -> 28079cdbd
IGNITE-8454: Fixed Hadoop compilation issues for Java 9+. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/28079cdb Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/28079cdb Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/28079cdb Branch: refs/heads/master Commit: 28079cdbd98adf19c9a57fe6e0e33cc926c06c88 Parents: fce2799 Author: devozerov <voze...@gridgain.com> Authored: Fri Sep 21 17:34:17 2018 +0300 Committer: devozerov <voze...@gridgain.com> Committed: Fri Sep 21 17:34:17 2018 +0300 ---------------------------------------------------------------------- modules/scalar-2.10/pom.xml | 5 +++++ parent/pom.xml | 33 +++++++++++++++++++++++++++++++-- 2 files changed, 36 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/28079cdb/modules/scalar-2.10/pom.xml ---------------------------------------------------------------------- diff --git a/modules/scalar-2.10/pom.xml b/modules/scalar-2.10/pom.xml index cf43aef..de7f480 100644 --- a/modules/scalar-2.10/pom.xml +++ b/modules/scalar-2.10/pom.xml @@ -108,6 +108,11 @@ <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> + <configuration> + <args> + <arg>-nobootcp</arg> + </args> + </configuration> </plugin> <!-- Generate the OSGi MANIFEST.MF for this bundle. --> http://git-wip-us.apache.org/repos/asf/ignite/blob/28079cdb/parent/pom.xml ---------------------------------------------------------------------- diff --git a/parent/pom.xml b/parent/pom.xml index db6d234..cc92ca8 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -70,7 +70,7 @@ <guava14.version>14.0.1</guava14.version> <guava16.version>16.0.1</guava16.version> <h2.version>1.4.195</h2.version> - <hadoop.version>2.4.1</hadoop.version> + <hadoop.version>2.9.1</hadoop.version> <hamcrest.version>1.2</hamcrest.version> <httpclient.version>4.5.1</httpclient.version> <httpcore.version>4.4.3</httpcore.version> @@ -254,7 +254,7 @@ <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> - <version>3.2.0</version> + <version>3.3.2</version> <configuration> <jvmArgs> <jvmArg>-Xms512m</jvmArg> @@ -1012,6 +1012,35 @@ </plugin> </plugins> </build> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-common</artifactId> + <exclusions> + <exclusion> + <!-- This dependency is not available with java 9.--> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.apache.hadoop</groupId> + <artifactId>hadoop-common</artifactId> + <type>test-jar</type> + <exclusions> + <exclusion> + <!-- This dependency is not available with java 9.--> + <groupId>jdk.tools</groupId> + <artifactId>jdk.tools</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + </dependencyManagement> + </profile> <profile>