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:26:08 UTC

[50/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - - Adjusted the configuration of the MDLExample to build correctly with maven.

- Adjusted the configuration of the MDLExample to build correctly with maven.


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

Branch: refs/heads/feature-autobuild/example-maven-dirs
Commit: 9321215b9c2cdff1f114b28115f365d51774c669
Parents: a54a76e
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Tue Nov 8 16:25:06 2016 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Tue Nov 8 16:25:06 2016 +0100

----------------------------------------------------------------------
 examples/flexjs/MDLExample/pom.xml | 52 +++++----------------------------
 1 file changed, 8 insertions(+), 44 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9321215b/examples/flexjs/MDLExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/MDLExample/pom.xml b/examples/flexjs/MDLExample/pom.xml
index 464adca..2dd229e 100644
--- a/examples/flexjs/MDLExample/pom.xml
+++ b/examples/flexjs/MDLExample/pom.xml
@@ -47,43 +47,21 @@
         <artifactId>flexjs-maven-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <!--flashVersion>20.0</flashVersion-->
           <mainClass>App.mxml</mainClass>
         </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>
-              <htmlTemplate>${basedir}/src/main/resources/mdl-js-index-template.html</htmlTemplate>
-              <additionalCompilerOptions>-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css</additionalCompilerOptions>
-            </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>
 
   <dependencies>
-    <!--dependency>
-      <groupId>org.apache.flex.flexjs.framework</groupId>
-      <artifactId>Core</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
-      <type>swc</type>
-    </dependency-->
-    
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>MaterialDesignLite</artifactId>
@@ -99,20 +77,6 @@
       <type>swc</type>
       <scope>provided</scope>
     </dependency>
-
-    <!-- Needed for JavaScript compilation -->
-    <!--dependency>
-      <groupId>org.apache.flex.flexjs.framework</groupId>
-      <artifactId>HTML</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
-      <type>swc</type>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.flex.flexjs.framework</groupId>
-      <artifactId>Language</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
-      <type>swc</type>
-    </dependency-->
   </dependencies>
 
 </project>
\ No newline at end of file