You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2016/12/08 21:16:49 UTC

incubator-systemml git commit: [SYSTEMML-1143] Fix m2e errors in Eclipse for scala-maven-plugin

Repository: incubator-systemml
Updated Branches:
  refs/heads/master bf42a91d2 -> bffbbc5ca


[SYSTEMML-1143] Fix m2e errors in Eclipse for scala-maven-plugin

Add scala-maven-plugin goals to lifecycle-mapping to avoid m2e Eclipse errors.

Closes #310.


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/bffbbc5c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/bffbbc5c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/bffbbc5c

Branch: refs/heads/master
Commit: bffbbc5ca75b86f42ce3de76201a07d27d10ba73
Parents: bf42a91
Author: Deron Eriksson <de...@us.ibm.com>
Authored: Thu Dec 8 13:14:42 2016 -0800
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Thu Dec 8 13:14:42 2016 -0800

----------------------------------------------------------------------
 pom.xml | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/bffbbc5c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a961549..209a4bb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -579,8 +579,7 @@
 			<build>
 				<pluginManagement>
 					<plugins>
-						<!-- Prevent m2e warnings about the use of maven-remote-resources-plugin
-                        in the Maven archetype that we currently use for this project. -->
+						<!-- Prevent m2e warnings in Eclipse. -->
 						<plugin>
 							<groupId>org.eclipse.m2e</groupId>
 							<artifactId>lifecycle-mapping</artifactId>
@@ -592,7 +591,7 @@
 											<pluginExecutionFilter>
 												<groupId>org.apache.maven.plugins</groupId>
 												<artifactId>maven-remote-resources-plugin</artifactId>
-												<versionRange>[1.0,)</versionRange>
+												<versionRange>[1.4,)</versionRange>
 												<goals>
 													<goal>process</goal>
 												</goals>
@@ -616,6 +615,22 @@
 												</ignore>
 											</action>
 										</pluginExecution>
+										<pluginExecution>
+											<pluginExecutionFilter>
+												<groupId>net.alchim31.maven</groupId>
+												<artifactId>scala-maven-plugin</artifactId>
+												<versionRange>[3.2.2,)</versionRange>
+												<goals>
+													<goal>add-source</goal>
+													<goal>compile</goal>
+													<goal>testCompile</goal>
+												</goals>
+											</pluginExecutionFilter>
+											<action>
+												<ignore>
+												</ignore>
+											</action>
+										</pluginExecution>
 									</pluginExecutions>
 								</lifecycleMappingMetadata>
 							</configuration>