- Streamlined the maven configuration (Moved the identical configuration parts to the parent pom)
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/996daefe Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/996daefe Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/996daefe Branch: refs/heads/master Commit: 996daefe1b89b418d2fd83906e2ddcf3c3b44d37 Parents: 40c4c14 Author: Christofer Dutz <[email protected]> Authored: Tue Sep 22 23:19:08 2015 +0200 Committer: Christofer Dutz <[email protected]> Committed: Tue Sep 22 23:19:08 2015 +0200 ---------------------------------------------------------------------- examples/flexjs/ChartExample/pom.xml | 24 ---------- examples/flexjs/CordovaCameraExample/pom.xml | 24 ---------- examples/flexjs/DataBindingExample/pom.xml | 24 ---------- examples/flexjs/DataBindingExample_Flat/pom.xml | 24 ---------- examples/flexjs/DataBindingExample_as/pom.xml | 24 ---------- examples/flexjs/DataGridExample/pom.xml | 24 ---------- examples/flexjs/DesktopMap/pom.xml | 24 ---------- examples/flexjs/FlexJSStore/pom.xml | 24 ---------- examples/flexjs/FlexJSStore_jquery/pom.xml | 24 ---------- examples/flexjs/FlexWebsiteStatsViewer/pom.xml | 24 ---------- examples/flexjs/MapSearch/pom.xml | 24 ---------- examples/flexjs/MobileTrader/pom.xml | 24 ---------- examples/flexjs/TodoListSampleApp/pom.xml | 24 ---------- examples/flexjs/pom.xml | 49 ++++++++++++++++++-- 14 files changed, 44 insertions(+), 317 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/ChartExample/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/ChartExample/pom.xml b/examples/flexjs/ChartExample/pom.xml index 4bdc4c2..7a44be8 100644 --- a/examples/flexjs/ChartExample/pom.xml +++ b/examples/flexjs/ChartExample/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>ChartExample.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/CordovaCameraExample/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/CordovaCameraExample/pom.xml b/examples/flexjs/CordovaCameraExample/pom.xml index cd96b8d..8252b32 100644 --- a/examples/flexjs/CordovaCameraExample/pom.xml +++ b/examples/flexjs/CordovaCameraExample/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>CordovaCameraExample.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/DataBindingExample/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DataBindingExample/pom.xml b/examples/flexjs/DataBindingExample/pom.xml index 785043f..286e2ae 100644 --- a/examples/flexjs/DataBindingExample/pom.xml +++ b/examples/flexjs/DataBindingExample/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>DataBindingExample.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/DataBindingExample_Flat/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DataBindingExample_Flat/pom.xml b/examples/flexjs/DataBindingExample_Flat/pom.xml index 29888a6..4132933 100644 --- a/examples/flexjs/DataBindingExample_Flat/pom.xml +++ b/examples/flexjs/DataBindingExample_Flat/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>DataBindingExample.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/DataBindingExample_as/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DataBindingExample_as/pom.xml b/examples/flexjs/DataBindingExample_as/pom.xml index 357b169..1b19654 100644 --- a/examples/flexjs/DataBindingExample_as/pom.xml +++ b/examples/flexjs/DataBindingExample_as/pom.xml @@ -42,8 +42,6 @@ <extensions>true</extensions> <configuration> <sourceFile>DataBindingExample.as</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> <defines> <property> <name>CONFIG::as_only</name> @@ -55,30 +53,8 @@ </property> </defines> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/DataGridExample/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DataGridExample/pom.xml b/examples/flexjs/DataGridExample/pom.xml index d534c23..2c221a3 100644 --- a/examples/flexjs/DataGridExample/pom.xml +++ b/examples/flexjs/DataGridExample/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>DataGridExample.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/DesktopMap/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/DesktopMap/pom.xml b/examples/flexjs/DesktopMap/pom.xml index cb9cd7c..e43ce23 100644 --- a/examples/flexjs/DesktopMap/pom.xml +++ b/examples/flexjs/DesktopMap/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>DesktopMap.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/FlexJSStore/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore/pom.xml b/examples/flexjs/FlexJSStore/pom.xml index 1f63742..def30f6 100644 --- a/examples/flexjs/FlexJSStore/pom.xml +++ b/examples/flexjs/FlexJSStore/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>FlexJSStore.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/FlexJSStore_jquery/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexJSStore_jquery/pom.xml b/examples/flexjs/FlexJSStore_jquery/pom.xml index f72ddc9..4cbea24 100644 --- a/examples/flexjs/FlexJSStore_jquery/pom.xml +++ b/examples/flexjs/FlexJSStore_jquery/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>FlexJSStore.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/FlexWebsiteStatsViewer/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml b/examples/flexjs/FlexWebsiteStatsViewer/pom.xml index 02414b8..b023de7 100644 --- a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml +++ b/examples/flexjs/FlexWebsiteStatsViewer/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>FlexWebsiteStatsViewer.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/MapSearch/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MapSearch/pom.xml b/examples/flexjs/MapSearch/pom.xml index c449848..7624a65 100644 --- a/examples/flexjs/MapSearch/pom.xml +++ b/examples/flexjs/MapSearch/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>MapSearch.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/MobileTrader/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MobileTrader/pom.xml b/examples/flexjs/MobileTrader/pom.xml index 26aee5d..9c867a0 100644 --- a/examples/flexjs/MobileTrader/pom.xml +++ b/examples/flexjs/MobileTrader/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>MobileTrader.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/TodoListSampleApp/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/TodoListSampleApp/pom.xml b/examples/flexjs/TodoListSampleApp/pom.xml index 2aac2a8..473d363 100644 --- a/examples/flexjs/TodoListSampleApp/pom.xml +++ b/examples/flexjs/TodoListSampleApp/pom.xml @@ -42,33 +42,9 @@ <extensions>true</extensions> <configuration> <sourceFile>TodoListSampleApp.mxml</sourceFile> - <compilerName>${flexmojos-compiler-name}</compilerName> - <debug>true</debug> </configuration> - <dependencies> - <dependency> - <groupId>org.apache.flex.compiler</groupId> - <artifactId>falcon-jx-compiler</artifactId> - <version>0.5.0-SNAPSHOT</version> - </dependency> - </dependencies> </plugin> </plugins> </build> - <dependencies> - <dependency> - <groupId>org.apache.flex.flexjs</groupId> - <artifactId>framework</artifactId> - <version>0.5.0-SNAPSHOT</version> - <type>pom</type> - </dependency> - <dependency> - <groupId>com.adobe.flash.framework</groupId> - <artifactId>playerglobal</artifactId> - <version>18.0</version> - <type>swc</type> - </dependency> - </dependencies> - </project> http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/996daefe/examples/flexjs/pom.xml ---------------------------------------------------------------------- diff --git a/examples/flexjs/pom.xml b/examples/flexjs/pom.xml index 8069bbb..77bb498 100644 --- a/examples/flexjs/pom.xml +++ b/examples/flexjs/pom.xml @@ -34,16 +34,11 @@ <!--flexmojos-compiler-name>FlexJS</flexmojos-compiler-name--> </properties> - <modules> <module>ChartExample</module> <module>CordovaCameraExample</module> <module>DataBindingExample</module> <module>DataBindingExample_as</module> - <!-- - This tag could not be resolved to an ActionScript class. It will be ignored. - <js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009" - --> <module>DataBindingExample_Flat</module> <module>DataGridExample</module> <module>DesktopMap</module> @@ -65,6 +60,50 @@ <module>TodoListSampleApp</module> </modules> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>net.flexmojos.oss</groupId> + <artifactId>flexmojos-maven-plugin</artifactId> + <version>7.1.0-SNAPSHOT</version> + <extensions>true</extensions> + <configuration> + <compilerName>${flexmojos-compiler-name}</compilerName> + <debug>true</debug> + <defines> + <property> + <name>CONFIG::theme</name> + <value>false</value> + </property> + </defines> + </configuration> + <dependencies> + <dependency> + <groupId>org.apache.flex.compiler</groupId> + <artifactId>falcon-jx-compiler</artifactId> + <version>0.5.0-SNAPSHOT</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </pluginManagement> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.flex.flexjs</groupId> + <artifactId>framework</artifactId> + <version>0.5.0-SNAPSHOT</version> + <type>pom</type> + </dependency> + <dependency> + <groupId>com.adobe.flash.framework</groupId> + <artifactId>playerglobal</artifactId> + <version>18.0</version> + <type>swc</type> + </dependency> + </dependencies> <repositories> <!--
