You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ch...@apache.org on 2018/02/24 13:44:32 UTC
hama git commit: HAMA-1003: Java 8 and Scala Support
Repository: hama
Updated Branches:
refs/heads/master fe57a39cc -> 2ecb5c9de
HAMA-1003: Java 8 and Scala Support
Project: http://git-wip-us.apache.org/repos/asf/hama/repo
Commit: http://git-wip-us.apache.org/repos/asf/hama/commit/2ecb5c9d
Tree: http://git-wip-us.apache.org/repos/asf/hama/tree/2ecb5c9d
Diff: http://git-wip-us.apache.org/repos/asf/hama/diff/2ecb5c9d
Branch: refs/heads/master
Commit: 2ecb5c9dee77110cd72fc67080f2da1ba7e5552d
Parents: fe57a39
Author: My Name <me...@example.com>
Authored: Sat Feb 24 14:43:49 2018 +0100
Committer: My Name <me...@example.com>
Committed: Sat Feb 24 14:43:49 2018 +0100
----------------------------------------------------------------------
core/pom.xml | 18 ++++++++++++++++++
pom.xml | 5 +++--
2 files changed, 21 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hama/blob/2ecb5c9d/core/pom.xml
----------------------------------------------------------------------
diff --git a/core/pom.xml b/core/pom.xml
index 1305efb..46d2e68 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -158,11 +158,29 @@
<artifactId>json-simple</artifactId>
<version>1.1</version>
</dependency>
+ <dependency>
+ <groupId>org.scala-lang</groupId>
+ <artifactId>scala-library</artifactId>
+ <version>${scala.version}</version>
+ </dependency>
</dependencies>
<build>
<plugins>
<plugin>
+ <groupId>net.alchim31.maven</groupId>
+ <artifactId>scala-maven-plugin</artifactId>
+ <version>3.2.2</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>compile</goal>
+ <goal>testCompile</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
http://git-wip-us.apache.org/repos/asf/hama/blob/2ecb5c9d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 51677fe..5c95857 100644
--- a/pom.xml
+++ b/pom.xml
@@ -101,6 +101,7 @@
<log4j.version>1.2.16</log4j.version>
<zookeeper.version>3.4.5</zookeeper.version>
<ant.version>1.7.1</ant.version>
+ <scala.version>2.12.4</scala.version>
</properties>
<repositories>
@@ -358,8 +359,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
- <source>1.7</source>
- <target>1.7</target>
+ <source>1.8</source>
+ <target>1.8</target>
</configuration>
</plugin>
<plugin>