You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/03/19 14:00:18 UTC
[2/9] git commit: [flex-falcon] [refs/heads/feature/maven-migration]
- Fine tuned the maven phases in which goals are executed
Fine tuned the maven phases in which goals are executed
Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/145f0a65
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/145f0a65
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/145f0a65
Branch: refs/heads/feature/maven-migration
Commit: 145f0a65605d290353be4940ef224e3a968403dd
Parents: 933d024
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sat Mar 19 13:35:25 2016 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Sat Mar 19 13:35:25 2016 +0100
----------------------------------------------------------------------
externs/js/pom.xml | 59 +++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 50 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/145f0a65/externs/js/pom.xml
----------------------------------------------------------------------
diff --git a/externs/js/pom.xml b/externs/js/pom.xml
index 96f95b8..d8e914a 100644
--- a/externs/js/pom.xml
+++ b/externs/js/pom.xml
@@ -25,7 +25,7 @@
<executions>
<execution>
<id>get-createjs</id>
- <phase>generate-sources</phase>
+ <phase>validate</phase>
<goals>
<goal>wget</goal>
</goals>
@@ -44,6 +44,7 @@
<executions>
<execution>
<id>unpack-closure-externs</id>
+ <phase>validate</phase>
<goals>
<goal>unpack-resources</goal>
</goals>
@@ -53,6 +54,7 @@
</execution>
<execution>
<id>pre-process-javascript-sources-svg</id>
+ <phase>validate</phase>
<goals>
<goal>pre-process-sources</goal>
</goals>
@@ -69,6 +71,7 @@
</execution>
<execution>
<id>pre-process-javascript-sources-es3</id>
+ <phase>validate</phase>
<goals>
<goal>pre-process-sources</goal>
</goals>
@@ -83,13 +86,46 @@
</includes>
</configuration>
</execution>
- <!-- Generate the ActionScript interface -->
+ </executions>
+ <!--
+ Dependency to the closure compiler externs artifact so
+ the "unpack-resources" goal can find the externs.zip
+ -->
+ <dependencies>
+ <dependency>
+ <groupId>com.google.javascript</groupId>
+ <artifactId>closure-compiler-externs</artifactId>
+ <version>v20151015</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <!-- Generate the ActionScript interface -->
+ <executions>
<execution>
<id>generate</id>
+ <phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-build-tools</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
<execution>
<id>pre-process-actionscript-sources</id>
<phase>process-sources</phase>
@@ -106,22 +142,27 @@
</includes>
</configuration>
</execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <!-- Generate the ActionScript interface -->
+ <executions>
<execution>
<id>compile</id>
+ <phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
- <!--
- Dependency to the closure compiler externs artifact so
- the "unpack-resources" goal can find the externs.zip
- -->
<dependencies>
<dependency>
- <groupId>com.google.javascript</groupId>
- <artifactId>closure-compiler-externs</artifactId>
- <version>v20151015</version>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>