You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bahir.apache.org by ck...@apache.org on 2017/10/14 02:16:29 UTC

bahir git commit: [BAHIR-139] Force scala-maven-plugin to use java.version

Repository: bahir
Updated Branches:
  refs/heads/master c5263df23 -> 30e9a1de8


[BAHIR-139] Force scala-maven-plugin to use java.version

Make sure the scala-maven-plugin uses java.version 1.8 instead of the
default source and target version which is Java 1.6.

Upgrade the scala-maven-plugin version from 3.2.2 to 3.3.1

Closes #51


Project: http://git-wip-us.apache.org/repos/asf/bahir/repo
Commit: http://git-wip-us.apache.org/repos/asf/bahir/commit/30e9a1de
Tree: http://git-wip-us.apache.org/repos/asf/bahir/tree/30e9a1de
Diff: http://git-wip-us.apache.org/repos/asf/bahir/diff/30e9a1de

Branch: refs/heads/master
Commit: 30e9a1de8ede8a551df15a1e8d8c89ebf4568a96
Parents: c5263df
Author: Christian Kadner <ck...@us.ibm.com>
Authored: Fri Oct 13 19:16:23 2017 -0700
Committer: Christian Kadner <ck...@us.ibm.com>
Committed: Fri Oct 13 19:16:23 2017 -0700

----------------------------------------------------------------------
 pom.xml | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bahir/blob/30e9a1de/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1ae76a2..507d7b6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -480,7 +480,7 @@
         <plugin>
           <groupId>net.alchim31.maven</groupId>
           <artifactId>scala-maven-plugin</artifactId>
-          <version>3.2.2</version>
+          <version>3.3.1</version>
           <executions>
             <execution>
               <id>eclipse-add-source</id>
@@ -501,11 +501,6 @@
               <goals>
                 <goal>testCompile</goal>
               </goals>
-              <configuration>
-                <source>${java.version}</source>
-                <target>${java.version}</target>
-                <encoding>UTF-8</encoding>
-              </configuration>
             </execution>
             <execution>
               <id>attach-scaladocs</id>
@@ -529,6 +524,8 @@
               <jvmArg>-Xmx1024m</jvmArg>
               <jvmArg>-XX:ReservedCodeCacheSize=${CodeCacheSize}</jvmArg>
             </jvmArgs>
+            <source>${java.version}</source>
+            <target>${java.version}</target>
             <javacArgs>
               <javacArg>-source</javacArg>
               <javacArg>${java.version}</javacArg>