flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - - Fixed the build issues related to externs - Commented in the code to fail the build in case of build errors in the JS part - Streamlined the configuration of the flexjs-maven-plugin - Updated the error fin
Date Sun, 03 Jul 2016 14:15:18 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop e146f5e6f -> 6877314e2


- Fixed the build issues related to externs
- Commented in the code to fail the build in case of build errors in the JS part
- Streamlined the configuration of the flexjs-maven-plugin
- Updated the error findings in comments of the poms
- Turned on "debug" as default (overridable by setting "-Dflex.debug=false"


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

Branch: refs/heads/develop
Commit: 6877314e2677390f3a75a9a891a203098a9dd7f4
Parents: e146f5e
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Sun Jul 3 16:15:08 2016 +0200
Committer: Christofer Dutz <christofer.dutz@codecentric.de>
Committed: Sun Jul 3 16:15:08 2016 +0200

----------------------------------------------------------------------
 examples/flexjs/CordovaCameraExample/pom.xml    |  2 +-
 examples/flexjs/CreateJSExample/pom.xml         | 14 ++++++++++-
 examples/flexjs/DataBindingExample/pom.xml      |  7 +++++-
 examples/flexjs/DataBindingExample_Flat/pom.xml |  4 +---
 examples/flexjs/DataBindingExample_as/pom.xml   |  8 +------
 examples/flexjs/DataGridExample/pom.xml         |  4 ++++
 examples/flexjs/DesktopMap/pom.xml              |  3 ++-
 examples/flexjs/FlexJSStore/pom.xml             | 10 ++++----
 examples/flexjs/FlexJSStore_jquery/pom.xml      |  7 ++++--
 examples/flexjs/FlexWebsiteStatsViewer/pom.xml  |  6 +++++
 examples/flexjs/MapSearch/pom.xml               |  5 +++-
 examples/flexjs/MobileMap/pom.xml               |  3 +--
 examples/flexjs/MobileTrader/pom.xml            |  7 +++---
 examples/flexjs/StorageExample/pom.xml          |  5 ++--
 examples/flexjs/StyleExample/pom.xml            |  6 +++++
 examples/flexjs/TodoListSampleApp/pom.xml       |  7 ++++++
 examples/flexjs/pom.xml                         |  4 ++--
 examples/pom.xml                                | 10 --------
 frameworks/projects/Binding/pom.xml             |  7 ------
 frameworks/projects/Charts/pom.xml              |  7 ------
 frameworks/projects/Collections/pom.xml         |  7 ------
 frameworks/projects/Core/pom.xml                |  7 ------
 frameworks/projects/CreateJS/pom.xml            | 19 +--------------
 frameworks/projects/DragDrop/pom.xml            |  7 ------
 frameworks/projects/Effects/pom.xml             |  7 ------
 frameworks/projects/Flat/pom.xml                |  7 ------
 frameworks/projects/Formatters/pom.xml          |  7 ------
 frameworks/projects/GoogleMaps/pom.xml          | 10 ++------
 frameworks/projects/Graphics/pom.xml            |  7 ------
 frameworks/projects/HTML/pom.xml                |  7 ------
 frameworks/projects/HTML5/pom.xml               |  7 ------
 frameworks/projects/JQuery/pom.xml              |  8 +------
 frameworks/projects/Mobile/pom.xml              |  7 ------
 frameworks/projects/Network/pom.xml             |  8 +------
 frameworks/projects/Reflection/pom.xml          |  7 ------
 frameworks/projects/Storage/pom.xml             |  8 +------
 frameworks/projects/XML/pom.xml                 |  7 ------
 pom.xml                                         | 25 ++++++++++++++++++++
 38 files changed, 100 insertions(+), 188 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/CordovaCameraExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CordovaCameraExample/pom.xml b/examples/flexjs/CordovaCameraExample/pom.xml
index 9dbbaf8..af99e74 100644
--- a/examples/flexjs/CordovaCameraExample/pom.xml
+++ b/examples/flexjs/CordovaCameraExample/pom.xml
@@ -23,7 +23,7 @@
   <modelVersion>4.0.0</modelVersion>
 
   <!--
-        TODO: JS Version is complaining about not finding cordova.js
+        TODO: Needs to be packaged via cordova.
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/CreateJSExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/pom.xml b/examples/flexjs/CreateJSExample/pom.xml
index 602b327..0d00d10 100644
--- a/examples/flexjs/CreateJSExample/pom.xml
+++ b/examples/flexjs/CreateJSExample/pom.xml
@@ -23,7 +23,19 @@
   <modelVersion>4.0.0</modelVersion>
 
   <!--
-        TODO: File not found: createjs.DisplayObject
+        TODO: Generated JavaScript produces errors:
+
+        base.js:2189 Uncaught TypeError: Cannot read property 'prototype' of undefinedgoog.inherits
+        @ base.js:2189(anonymous function)
+        @ ApplicationDataBinding.js:39
+
+        ApplicationDataBinding.js:37 Uncaught TypeError: org.apache.flex.binding.ApplicationDataBinding.base
is not a functionorg.apache.flex.binding.ApplicationDataBinding
+        @ ApplicationDataBinding.js:37org.apache.flex.utils.MXMLDataInterpreter.generateMXMLArray
+        @ MXMLDataInterpreter.js:123org.apache.flex.utils.MXMLDataInterpreter.generateMXMLProperties
+        @ MXMLDataInterpreter.js:321org.apache.flex.createjs.Application.generateMXMLAttributes
+        @ Application.js:127CreateJSExample
+        @ CreateJSExample.js:110(anonymous function)
+        @ index.html:71
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/DataBindingExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample/pom.xml b/examples/flexjs/DataBindingExample/pom.xml
index 068c8b4..e88246b 100644
--- a/examples/flexjs/DataBindingExample/pom.xml
+++ b/examples/flexjs/DataBindingExample/pom.xml
@@ -23,7 +23,12 @@
   <modelVersion>4.0.0</modelVersion>
 
   <!--
-        TODO: Binding of Radio Buttons doesn't seem to update the Labels and the "all data"
TextField in JS version.
+        TODO: JavaScript errors
+        HTTPService.js:400 Uncaught TypeError: this.g is not a function
+        HTTPService.js:400 Uncaught TypeError: this.g is not a functionset
+        @ HTTPService.js:400R.g
+        @ HTMLElementWrapper.js:107X.start
+        @ Application.js:226(anonymous function) @ index.html:11
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/DataBindingExample_Flat/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_Flat/pom.xml b/examples/flexjs/DataBindingExample_Flat/pom.xml
index b6deb6d..a22501a 100644
--- a/examples/flexjs/DataBindingExample_Flat/pom.xml
+++ b/examples/flexjs/DataBindingExample_Flat/pom.xml
@@ -28,9 +28,7 @@
           Doesn't seem to have colors and CSS Styles and seems to be missing the graphic
resources
 
         JS Version
-          This attribute is unexpected. It will be ignored.
-            <flat:RadioButton id="radio1" text="Price" value="Ask" groupName="group1"
change="radioChanged(event)"/>
-            (Complains about the "change" element)
+          HTTPService.js:400Uncaught TypeError: this.g is not a function
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/DataBindingExample_as/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataBindingExample_as/pom.xml b/examples/flexjs/DataBindingExample_as/pom.xml
index 66f2b2f..c5ab9e1 100644
--- a/examples/flexjs/DataBindingExample_as/pom.xml
+++ b/examples/flexjs/DataBindingExample_as/pom.xml
@@ -35,13 +35,7 @@
             at org.apache.flex.core::Application/initHandler()
 
         JS Version:
-          Language.js:74 Uncaught TypeError: Type Coercion failedv
-            @ Language.js:74q.cb
-            @ MyInitialView.js:75Yk
-            @ events.js:728el
-            @ HTMLElementWrapper.js:43Tk
-            @ events.js:852(anonymous function)
-            @ events.js:277
+          DataBindingExample.js:87 Uncaught TypeError: this.service.g is not a function
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/DataGridExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DataGridExample/pom.xml b/examples/flexjs/DataGridExample/pom.xml
index 905cb41..d3dd0b5 100644
--- a/examples/flexjs/DataGridExample/pom.xml
+++ b/examples/flexjs/DataGridExample/pom.xml
@@ -22,6 +22,10 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
+  <!--
+        Flash Version: CSS problems
+  -->
+
   <parent>
     <groupId>org.apache.flex.flexjs.examples</groupId>
     <artifactId>examples-flexjs</artifactId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/DesktopMap/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/DesktopMap/pom.xml b/examples/flexjs/DesktopMap/pom.xml
index 077493a..38a02e2 100644
--- a/examples/flexjs/DesktopMap/pom.xml
+++ b/examples/flexjs/DesktopMap/pom.xml
@@ -24,7 +24,8 @@
 
   <!--
         TODO:
-        Millions (115) of warning regarding @asreturns JSDoc tags
+        JavaScript Version:
+          MixinManager.js:46 Uncaught TypeError: Cannot read property 'mixins' of undefined
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/FlexJSStore/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/pom.xml b/examples/flexjs/FlexJSStore/pom.xml
index 0abdc49..c33a4b2 100644
--- a/examples/flexjs/FlexJSStore/pom.xml
+++ b/examples/flexjs/FlexJSStore/pom.xml
@@ -23,12 +23,10 @@
   <modelVersion>4.0.0</modelVersion>
 
   <!--
-        TODO: Initializer for 'width': percentage not allowed here: '100%'.
-        (Problems with setting percentage width and height values)
-
-        Probably Warnings:
-        Data binding will not be able to detect assignments to 'selected'.
-            <flexstore:blazeds>{cbBlazeDS.selected}</flexstore:blazeds>
+        TODO:
+        JavaScript Version:
+          base.js:2189 Uncaught TypeError: Cannot read property 'prototype' of undefined
+          index.html:11 Uncaught ReferenceError: FlexJSStore is not defined
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/FlexJSStore_jquery/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore_jquery/pom.xml b/examples/flexjs/FlexJSStore_jquery/pom.xml
index 03a1a3c..488f50e 100644
--- a/examples/flexjs/FlexJSStore_jquery/pom.xml
+++ b/examples/flexjs/FlexJSStore_jquery/pom.xml
@@ -23,8 +23,10 @@
   <modelVersion>4.0.0</modelVersion>
 
   <!--
-        TODO: Initializer for 'width': percentage not allowed here: '100%'.
-        (Problems with setting percentage width and height values)
+        TODO:
+        JavaScript Version:
+          base.js:2189 Uncaught TypeError: Cannot read property 'prototype' of undefined
+          index.html:15 Uncaught ReferenceError: FlexJSStore is not defined
   -->
 
   <parent>
@@ -46,6 +48,7 @@
         <extensions>true</extensions>
         <configuration>
           <mainClass>FlexJSStore.mxml</mainClass>
+          <removeCirculars>true</removeCirculars>
         </configuration>
       </plugin>
     </plugins>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml b/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
index 35a11e9..8091611 100644
--- a/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
+++ b/examples/flexjs/FlexWebsiteStatsViewer/pom.xml
@@ -22,6 +22,12 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
+  <!--
+      TODO:
+      JavaScript Version:
+        HTTPService.js:400 Uncaught TypeError: this.h is not a function
+  -->
+
   <parent>
     <groupId>org.apache.flex.flexjs.examples</groupId>
     <artifactId>examples-flexjs</artifactId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/MapSearch/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MapSearch/pom.xml b/examples/flexjs/MapSearch/pom.xml
index f964d7c..9d1f54d 100644
--- a/examples/flexjs/MapSearch/pom.xml
+++ b/examples/flexjs/MapSearch/pom.xml
@@ -23,7 +23,10 @@
   <modelVersion>4.0.0</modelVersion>
 
   <!--
-        TODO: Millions (115) of warning regarding @asreturns JSDoc tags
+        TODO:
+        JavaScript Version:
+          base.js:2189 Uncaught TypeError: Cannot read property 'prototype' of undefined
+          index.html:11 Uncaught ReferenceError: MapSearch is not defined
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/MobileMap/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileMap/pom.xml b/examples/flexjs/MobileMap/pom.xml
index ccc1d09..781d5a6 100644
--- a/examples/flexjs/MobileMap/pom.xml
+++ b/examples/flexjs/MobileMap/pom.xml
@@ -23,8 +23,7 @@
   <modelVersion>4.0.0</modelVersion>
 
   <!--
-        TODO: Initializer for 'width': percentage not allowed here: '100%'.
-        (Problems with setting percentage width and height values)
+        TODO: Needs to be packaged with cordova
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/MobileTrader/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MobileTrader/pom.xml b/examples/flexjs/MobileTrader/pom.xml
index 55b0282..8702091 100644
--- a/examples/flexjs/MobileTrader/pom.xml
+++ b/examples/flexjs/MobileTrader/pom.xml
@@ -23,10 +23,9 @@
   <modelVersion>4.0.0</modelVersion>
 
   <!--
-        TODO: Initializer for 'width': percentage not allowed here: '100%'.
-        (Problems with setting percentage width and height values)
-
-        Access of possibly undefined property running through a reference with static type
Timer.
+        TODO:
+        JavaScript Version:
+          ProductsModel.js:201 Uncaught TypeError: this.Pb.h is not a function
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/StorageExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StorageExample/pom.xml b/examples/flexjs/StorageExample/pom.xml
index 64d9a4d..b4bc0b9 100644
--- a/examples/flexjs/StorageExample/pom.xml
+++ b/examples/flexjs/StorageExample/pom.xml
@@ -23,8 +23,9 @@
   <modelVersion>4.0.0</modelVersion>
 
   <!--
-        TODO: Initializer for 'width': percentage not allowed here: '100%'.
-        (Problems with setting percentage width and height values)
+        TODO:
+        JavaScript Version:
+          MixinManager.js:47 Uncaught TypeError: Cannot read property 'mixins' of undefined
   -->
 
   <parent>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/StyleExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/StyleExample/pom.xml b/examples/flexjs/StyleExample/pom.xml
index ddaf349..f018c45 100644
--- a/examples/flexjs/StyleExample/pom.xml
+++ b/examples/flexjs/StyleExample/pom.xml
@@ -22,6 +22,12 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
+  <!--
+        TODO:
+        Flash Version:
+          Radio Buttons are not clickable.
+  -->
+
   <parent>
     <groupId>org.apache.flex.flexjs.examples</groupId>
     <artifactId>examples-flexjs</artifactId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/TodoListSampleApp/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/TodoListSampleApp/pom.xml b/examples/flexjs/TodoListSampleApp/pom.xml
index acdc0a5..41cc50a 100644
--- a/examples/flexjs/TodoListSampleApp/pom.xml
+++ b/examples/flexjs/TodoListSampleApp/pom.xml
@@ -22,6 +22,13 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
+  <!--
+      TODO:
+      JavaScript Version:
+        base.js:2189 Uncaught TypeError: Cannot read property 'prototype' of undefined
+        index.html:11 Uncaught ReferenceError: TodoListSampleApp is not defined
+  -->
+
   <parent>
     <groupId>org.apache.flex.flexjs.examples</groupId>
     <artifactId>examples-flexjs</artifactId>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/flexjs/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/pom.xml b/examples/flexjs/pom.xml
index bdd3a4e..ca7b187 100644
--- a/examples/flexjs/pom.xml
+++ b/examples/flexjs/pom.xml
@@ -33,8 +33,8 @@
   <packaging>pom</packaging>
 
   <modules>
-    <module>ChartExample</module><!-- OK -->
-    <module>CordovaCameraExample</module><!-- Needs to be packaged as Cordova
application -->
+    <module>ChartExample</module>
+    <module>CordovaCameraExample</module>
     <module>CreateJSExample</module>
     <module>DataBindingExample</module>
     <module>DataBindingExample_as</module>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
index b1a265b..05eeac1 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -59,16 +59,6 @@
               </configuration>
             </execution>
           </executions>
-          <configuration>
-            <targetPlayer>20.0</targetPlayer>
-          </configuration>
-          <dependencies>
-            <dependency>
-              <groupId>org.apache.flex.flexjs.compiler</groupId>
-              <artifactId>compiler-jx</artifactId>
-              <version>0.7.0-SNAPSHOT</version>
-            </dependency>
-          </dependencies>
         </plugin>
       </plugins>
     </pluginManagement>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Binding/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/pom.xml b/frameworks/projects/Binding/pom.xml
index 6aac449..340e954 100644
--- a/frameworks/projects/Binding/pom.xml
+++ b/frameworks/projects/Binding/pom.xml
@@ -54,13 +54,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Charts/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/pom.xml b/frameworks/projects/Charts/pom.xml
index 6334a90..efc440f 100644
--- a/frameworks/projects/Charts/pom.xml
+++ b/frameworks/projects/Charts/pom.xml
@@ -60,13 +60,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Collections/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/pom.xml b/frameworks/projects/Collections/pom.xml
index a7a8997..c48a4eb 100644
--- a/frameworks/projects/Collections/pom.xml
+++ b/frameworks/projects/Collections/pom.xml
@@ -56,13 +56,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Core/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/pom.xml b/frameworks/projects/Core/pom.xml
index f904e76..d5169d8 100644
--- a/frameworks/projects/Core/pom.xml
+++ b/frameworks/projects/Core/pom.xml
@@ -57,13 +57,6 @@
           </includeFiles>
           <skipExtern>false</skipExtern>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/CreateJS/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/pom.xml b/frameworks/projects/CreateJS/pom.xml
index 8e3a3a3..972e3c6 100644
--- a/frameworks/projects/CreateJS/pom.xml
+++ b/frameworks/projects/CreateJS/pom.xml
@@ -60,13 +60,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>
@@ -121,17 +114,7 @@
       <version>0.7.0-SNAPSHOT</version>
       <type>swc</type>
       <classifier>extern</classifier>
-      <!--
-        TODO: Checkout why this is needed
-        This is needed as currently maven has problems resolving flex scopes,
-        it is correctly included by this artifacts parent.
-      -->
-      <exclusions>
-        <exclusion>
-          <groupId>org.apache.flex.flexjs.externs</groupId>
-          <artifactId>flexjs-externs-js</artifactId>
-        </exclusion>
-      </exclusions>
+      <scope>runtime</scope>
     </dependency>
   </dependencies>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/DragDrop/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/pom.xml b/frameworks/projects/DragDrop/pom.xml
index 72fa7d5..b77d612 100644
--- a/frameworks/projects/DragDrop/pom.xml
+++ b/frameworks/projects/DragDrop/pom.xml
@@ -56,13 +56,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Effects/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/pom.xml b/frameworks/projects/Effects/pom.xml
index 7625d21..bed3d2d 100644
--- a/frameworks/projects/Effects/pom.xml
+++ b/frameworks/projects/Effects/pom.xml
@@ -56,13 +56,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Flat/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/pom.xml b/frameworks/projects/Flat/pom.xml
index ec5c9fb..d4beb47 100644
--- a/frameworks/projects/Flat/pom.xml
+++ b/frameworks/projects/Flat/pom.xml
@@ -66,13 +66,6 @@
           </includeFiles>
           <includeLookupOnly>true</includeLookupOnly>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Formatters/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/pom.xml b/frameworks/projects/Formatters/pom.xml
index 304c468..654c412 100644
--- a/frameworks/projects/Formatters/pom.xml
+++ b/frameworks/projects/Formatters/pom.xml
@@ -56,13 +56,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/GoogleMaps/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/pom.xml b/frameworks/projects/GoogleMaps/pom.xml
index 8f54439..25bc9f9 100644
--- a/frameworks/projects/GoogleMaps/pom.xml
+++ b/frameworks/projects/GoogleMaps/pom.xml
@@ -61,13 +61,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>
@@ -87,14 +80,15 @@
       <type>swc</type>
       <classifier>extern</classifier>
     </dependency>
+
     <dependency>
       <groupId>org.apache.flex.flexjs.externs</groupId>
       <artifactId>flexjs-externs-goolemaps</artifactId>
       <version>0.7.0-SNAPSHOT</version>
       <type>swc</type>
       <classifier>extern</classifier>
+      <scope>runtime</scope>
     </dependency>
-
   </dependencies>
 
 </project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Graphics/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/pom.xml b/frameworks/projects/Graphics/pom.xml
index a8db6bb..7caa59d 100644
--- a/frameworks/projects/Graphics/pom.xml
+++ b/frameworks/projects/Graphics/pom.xml
@@ -56,13 +56,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/HTML/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/pom.xml b/frameworks/projects/HTML/pom.xml
index 3ebe7b6..243ca8b 100644
--- a/frameworks/projects/HTML/pom.xml
+++ b/frameworks/projects/HTML/pom.xml
@@ -69,13 +69,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/HTML5/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/pom.xml b/frameworks/projects/HTML5/pom.xml
index a70d393..b1e9844 100644
--- a/frameworks/projects/HTML5/pom.xml
+++ b/frameworks/projects/HTML5/pom.xml
@@ -60,13 +60,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/JQuery/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/pom.xml b/frameworks/projects/JQuery/pom.xml
index 4361d58..b791aee 100644
--- a/frameworks/projects/JQuery/pom.xml
+++ b/frameworks/projects/JQuery/pom.xml
@@ -60,13 +60,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>
@@ -107,6 +100,7 @@
       <version>0.7.0-SNAPSHOT</version>
       <type>swc</type>
       <classifier>extern</classifier>
+      <scope>runtime</scope>
     </dependency>
   </dependencies>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Mobile/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/pom.xml b/frameworks/projects/Mobile/pom.xml
index af6a570..e09d953 100644
--- a/frameworks/projects/Mobile/pom.xml
+++ b/frameworks/projects/Mobile/pom.xml
@@ -64,13 +64,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Network/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/pom.xml b/frameworks/projects/Network/pom.xml
index ae4276c..1afc262 100644
--- a/frameworks/projects/Network/pom.xml
+++ b/frameworks/projects/Network/pom.xml
@@ -56,13 +56,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>
@@ -81,6 +74,7 @@
       <version>0.7.0-SNAPSHOT</version>
       <type>swc</type>
       <classifier>extern</classifier>
+      <scope>runtime</scope>
     </dependency>
   </dependencies>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Reflection/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/pom.xml b/frameworks/projects/Reflection/pom.xml
index 74ca744..84c3784 100644
--- a/frameworks/projects/Reflection/pom.xml
+++ b/frameworks/projects/Reflection/pom.xml
@@ -48,13 +48,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/Storage/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/pom.xml b/frameworks/projects/Storage/pom.xml
index b8b36ff..81009f9 100644
--- a/frameworks/projects/Storage/pom.xml
+++ b/frameworks/projects/Storage/pom.xml
@@ -60,13 +60,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>
@@ -93,6 +86,7 @@
       <version>0.7.0-SNAPSHOT</version>
       <type>swc</type>
       <classifier>extern</classifier>
+      <scope>runtime</scope>
     </dependency>
   </dependencies>
 

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/frameworks/projects/XML/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/pom.xml b/frameworks/projects/XML/pom.xml
index 7aac1de..71d0bc9 100644
--- a/frameworks/projects/XML/pom.xml
+++ b/frameworks/projects/XML/pom.xml
@@ -54,13 +54,6 @@
             </include-file>
           </includeFiles>
         </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.apache.flex.flexjs.compiler</groupId>
-            <artifactId>compiler-jx</artifactId>
-            <version>0.7.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
       </plugin>
     </plugins>
   </build>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6877314e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a6fa972..05ce6e1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,6 +47,7 @@
     <project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>
     <maven.version>3.3.1</maven.version>
 
+    <flex.debug>true</flex.debug>
     <flex.version>4.15.0</flex.version>
     <flash.version>20.0</flash.version>
     <air.version>20.0</air.version>
@@ -94,6 +95,30 @@
     <module>frameworks</module>
   </modules>
 
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.flex.flexjs.compiler</groupId>
+          <artifactId>flexjs-maven-plugin</artifactId>
+          <version>0.7.0-SNAPSHOT</version>
+          <extensions>true</extensions>
+          <configuration>
+            <targetPlayer>${flash.version}</targetPlayer>
+            <debug>${flex.debug}</debug>
+          </configuration>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.flex.flexjs.compiler</groupId>
+              <artifactId>compiler-jx</artifactId>
+              <version>0.7.0-SNAPSHOT</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
   <repositories>
     <repository>
       <id>apache-release</id>


Mime
View raw message