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/09/22 23:05:51 UTC
incubator-systemml git commit: [SYSTEMML-949] Delete ANTLR tokens
files during initialize phase
Repository: incubator-systemml
Updated Branches:
refs/heads/master 0b472b09e -> 0b9d4e06f
[SYSTEMML-949] Delete ANTLR tokens files during initialize phase
Delete ANTLR tokens files during initialize phase of maven lifecycle
so they can be regenerated during the generate-sources phase of maven
lifecycle that the antlr4-maven-plugin's antlr4 goal binds to.
Add maven-clean-plugin to lifecycle-mapping to remove m2e warning.
Closes #253.
Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/0b9d4e06
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/0b9d4e06
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/0b9d4e06
Branch: refs/heads/master
Commit: 0b9d4e06f3e1bdcf5464f3dc4f187b7940b92f35
Parents: 0b472b0
Author: Deron Eriksson <de...@us.ibm.com>
Authored: Thu Sep 22 16:01:49 2016 -0700
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Thu Sep 22 16:01:49 2016 -0700
----------------------------------------------------------------------
pom.xml | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/0b9d4e06/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 312300e..d5c37e1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -426,6 +426,25 @@
</filesets>
</configuration>
</execution>
+ <execution>
+ <!-- remove antlr tokens files during initialize phase so antlr4 -->
+ <!-- plugin can regenerate them during generate-sources phase -->
+ <id>remove-antlr-tokens-files</id>
+ <phase>initialize</phase>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>src/main/java</directory>
+ <includes>
+ <include>*.tokens</include>
+ </includes>
+ </fileset>
+ </filesets>
+ </configuration>
+ </execution>
</executions>
</plugin>
@@ -547,6 +566,20 @@
</ignore>
</action>
</pluginExecution>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-clean-plugin</artifactId>
+ <versionRange>[3.0.0,)</versionRange>
+ <goals>
+ <goal>clean</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore>
+ </ignore>
+ </action>
+ </pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>