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/11/08 15:11:31 UTC

[05/11] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Adjusted the version of the StyleExample - Made sure the war for the TeamPage example is created

- Adjusted the version of the StyleExample
- Made sure the war for the TeamPage example is created


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/cf4fd2d8
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/cf4fd2d8
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/cf4fd2d8

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: cf4fd2d819815f17e08204ccf660887bd6db2779
Parents: ec60f6a
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Mon Nov 7 10:43:08 2016 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Mon Nov 7 10:43:08 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/StyleExample/pom.xml |  2 +-
 examples/flexjs/TeamPage/pom.xml     | 31 +++++++++----------------------
 2 files changed, 10 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf4fd2d8/examples/flexjs/StyleExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StyleExample/pom.xml b/examples/flexjs/StyleExample/pom.xml
index eddd944..5a76f9b 100644
--- a/examples/flexjs/StyleExample/pom.xml
+++ b/examples/flexjs/StyleExample/pom.xml
@@ -40,7 +40,7 @@
   </parent>
 
   <artifactId>StyleExample</artifactId>
-  <version>1.0.0-SNAPSHOT</version>
+  <version>0.8.0-SNAPSHOT</version>
   <packaging>swf</packaging>
 
   <name>Apache Flex - FlexJS: Examples: FlexJS: StyleExample</name>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf4fd2d8/examples/flexjs/TeamPage/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TeamPage/pom.xml b/examples/flexjs/TeamPage/pom.xml
index b407b02..709f291 100644
--- a/examples/flexjs/TeamPage/pom.xml
+++ b/examples/flexjs/TeamPage/pom.xml
@@ -35,7 +35,6 @@
   <name>Apache Flex - FlexJS: Examples: FlexJS: TeamPage</name>
 
   <build>
-    <sourceDirectory>src</sourceDirectory>
     <plugins>
       <plugin>
         <groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -43,30 +42,18 @@
         <extensions>true</extensions>
         <configuration>
           <mainClass>TeamPage.mxml</mainClass>
+          <removeCirculars>true</removeCirculars>
           <!-- Not a config option of flexjs-maven-plugin -->
           <!--flashVersion>20.0</flashVersion-->
         </configuration>
-        <executions>
-          <!-- Add a second execution with output set to JavaScript (Flash is the default) -->
-          <execution>
-            <id>compile-javascript</id>
-            <phase>compile</phase>
-            <goals>
-              <goal>compile-app</goal>
-            </goals>
-            <configuration>
-              <outputJavaScript>true</outputJavaScript>
-              <removeCirculars>true</removeCirculars>
-            </configuration>
-          </execution>
-        </executions>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.8.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
       </plugin>
     </plugins>
   </build>