flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pio...@apache.org
Subject flex-tourjs git commit: Add Maven pom to each projects - still without copying to main project
Date Wed, 25 Jan 2017 20:17:16 GMT
Repository: flex-tourjs
Updated Branches:
  refs/heads/develop c60ab1c9c -> 91d323a59


Add Maven pom to each projects - still without copying to main project


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

Branch: refs/heads/develop
Commit: 91d323a597bb155b0fe3edb9c93313f64b9904a5
Parents: c60ab1c
Author: piotrz <piotrz@apache.org>
Authored: Wed Jan 25 21:17:11 2017 +0100
Committer: piotrz <piotrz@apache.org>
Committed: Wed Jan 25 21:17:11 2017 +0100

----------------------------------------------------------------------
 TourJS/pom.xml                                  |  23 ++--
 examples/pom.xml                                |   6 +-
 .../generalComponents/alert/Alert/pom.xml       | 129 ++++++++++++++++++
 .../generalComponents/alert/SimpleAlert/pom.xml | 129 ++++++++++++++++++
 .../generalComponents/button/TextButton/pom.xml | 129 ++++++++++++++++++
 .../TextButton/src/main/flex/TextButton.mxml    |  30 +++++
 .../generalComponents/button/pom.xml            | 134 -------------------
 .../button/src/main/flex/Button.mxml            |  30 -----
 pom.xml                                         |   9 +-
 9 files changed, 438 insertions(+), 181 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/91d323a5/TourJS/pom.xml
----------------------------------------------------------------------
diff --git a/TourJS/pom.xml b/TourJS/pom.xml
index eab2141..4355ea6 100644
--- a/TourJS/pom.xml
+++ b/TourJS/pom.xml
@@ -35,11 +35,6 @@
 
   <name>Apache Flex - Tour de FlexJS</name>
 
-  <properties>
-    <compiler.debug>true</compiler.debug>
-    <compiler.output-dir>target/javascript/bin/js-debug</compiler.output-dir>
-  </properties>
-  
   <build>
     <sourceDirectory>src/main/flex</sourceDirectory>
     <resources>
@@ -52,10 +47,10 @@
 	<plugin>
 	  <groupId>org.apache.flex.flexjs.compiler</groupId>
           <artifactId>flexjs-maven-plugin</artifactId>
-          <version>0.8.0-SNAPSHOT</version>
+          <version>${version.flexjs}</version>
           <extensions>true</extensions>
           <configuration>
-            <flashVersion>20.0</flashVersion>
+            <flashVersion>${version.flash}</flashVersion>
 		    <debug>${compiler.debug}</debug>
 			<outputJavaScript>true</outputJavaScript>
 			<mainClass>TourJS.mxml</mainClass>
@@ -64,7 +59,7 @@
             <dependency>
               <groupId>org.apache.flex.flexjs.compiler</groupId>
               <artifactId>compiler-jx</artifactId>
-              <version>0.8.0-SNAPSHOT</version>
+              <version>${version.flexjs}</version>
             </dependency>
           </dependencies>
         </plugin>
@@ -113,14 +108,14 @@
     <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>Core</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
+      <version>${version.flexjs}</version>
       <type>swc</type>
     </dependency>
 
     <dependency>
       <groupId>com.adobe.flash.framework</groupId>
       <artifactId>playerglobal</artifactId>
-      <version>20.0</version>
+      <version>${version.flash}</version>
       <type>swc</type>
       <scope>provided</scope>
     </dependency>
@@ -128,25 +123,25 @@
 	<dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>Express</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
+      <version>${version.flexjs}</version>
       <type>swc</type>
     </dependency>
 	<dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>HTML</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
+      <version>${version.flexjs}</version>
       <type>swc</type>
     </dependency>
 	<dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>Network</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
+      <version>${version.flexjs}</version>
       <type>swc</type>
     </dependency>
 	 <dependency>
       <groupId>org.apache.flex.flexjs.framework</groupId>
       <artifactId>Language</artifactId>
-      <version>0.8.0-SNAPSHOT</version>
+      <version>${version.flexjs}</version>
       <type>swc</type>
     </dependency>
   </dependencies>

http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/91d323a5/examples/pom.xml
----------------------------------------------------------------------
diff --git a/examples/pom.xml b/examples/pom.xml
index 5d112bc..3744103 100644
--- a/examples/pom.xml
+++ b/examples/pom.xml
@@ -13,8 +13,10 @@
   <version>0.1.0-SNAPSHOT</version> 
   <packaging>pom</packaging> 
 
-  <modules> 
-    <module>visualComponents/generalComponents/button</module>
+  <modules>
+	<module>visualComponents/generalComponents/alert/Alert</module>
+	<module>visualComponents/generalComponents/alert/SimpleAlert</module>  
+    <module>visualComponents/generalComponents/button/TextButton</module>
   </modules> 
 
 </project> 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/91d323a5/examples/visualComponents/generalComponents/alert/Alert/pom.xml
----------------------------------------------------------------------
diff --git a/examples/visualComponents/generalComponents/alert/Alert/pom.xml b/examples/visualComponents/generalComponents/alert/Alert/pom.xml
new file mode 100644
index 0000000..fa43040
--- /dev/null
+++ b/examples/visualComponents/generalComponents/alert/Alert/pom.xml
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.flex.tourjs</groupId>
+    <artifactId>examples-tourjs</artifactId>
+    <version>0.1.0-SNAPSHOT</version>
+	<relativePath>../../../../pom.xml</relativePath>
+  </parent>
+
+  <artifactId>Alert</artifactId>
+  <version>0.1.0-SNAPSHOT</version>
+  <packaging>swf</packaging>
+
+  <name>Apache Flex - FlexJS: Examples: FlexJS: Alert</name>
+
+  <build>
+    <sourceDirectory>src/main/flex</sourceDirectory>
+    <plugins>
+	<plugin>
+	  <groupId>org.apache.flex.flexjs.compiler</groupId>
+          <artifactId>flexjs-maven-plugin</artifactId>
+          <version>${version.flexjs}</version>
+          <extensions>true</extensions>
+          <configuration>
+            <flashVersion>${version.flash}</flashVersion>
+		    <debug>${compiler.debug}</debug>
+			<outputJavaScript>true</outputJavaScript>
+			<mainClass>Alert.mxml</mainClass>
+          </configuration>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.flex.flexjs.compiler</groupId>
+              <artifactId>compiler-jx</artifactId>
+              <version>${version.flexjs}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+		<executions>
+          <execution>
+            <id>package-javascript</id>
+            <phase>package</phase>
+            <goals>
+              <goal>war</goal>
+            </goals>
+          </execution>
+        </executions>
+		<configuration>
+          <warSourceDirectory>${compiler.output-dir}</warSourceDirectory>
+          <failOnMissingWebXml>false</failOnMissingWebXml>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+		<executions>
+          <execution>
+            <id>attach-war</id>
+            <phase>package</phase>
+            <goals>
+              <goal>attach-artifact</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <artifacts>
+            <artifact>
+              <file>target/alert-0.1.0-SNAPSHOT.war</file>
+              <type>war</type>
+            </artifact>
+          </artifacts>
+        </configuration>
+      </plugin>
+    </plugins>
+	</build>
+  <dependencies>
+   <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Core</artifactId>
+      <version>${version.flexjs}</version>
+      <type>swc</type>
+    </dependency>
+	
+    <dependency>
+      <groupId>com.adobe.flash.framework</groupId>
+      <artifactId>playerglobal</artifactId>
+      <version>${version.flash}</version>
+      <type>swc</type>
+      <scope>provided</scope>
+    </dependency>
+	<dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>HTML</artifactId>
+      <version>${version.flexjs}</version>
+      <type>swc</type>
+    </dependency>
+	 <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Language</artifactId>
+      <version>${version.flexjs}</version>
+      <type>swc</type>
+    </dependency>
+  </dependencies>
+
+</project>

http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/91d323a5/examples/visualComponents/generalComponents/alert/SimpleAlert/pom.xml
----------------------------------------------------------------------
diff --git a/examples/visualComponents/generalComponents/alert/SimpleAlert/pom.xml b/examples/visualComponents/generalComponents/alert/SimpleAlert/pom.xml
new file mode 100644
index 0000000..f664d7f
--- /dev/null
+++ b/examples/visualComponents/generalComponents/alert/SimpleAlert/pom.xml
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.flex.tourjs</groupId>
+    <artifactId>examples-tourjs</artifactId>
+    <version>0.1.0-SNAPSHOT</version>
+	<relativePath>../../../../pom.xml</relativePath>
+  </parent>
+
+  <artifactId>SimpleAlert</artifactId>
+  <version>0.1.0-SNAPSHOT</version>
+  <packaging>swf</packaging>
+
+  <name>Apache Flex - FlexJS: Examples: FlexJS: SimpleAlert</name>
+
+  <build>
+    <sourceDirectory>src/main/flex</sourceDirectory>
+    <plugins>
+	<plugin>
+	  <groupId>org.apache.flex.flexjs.compiler</groupId>
+          <artifactId>flexjs-maven-plugin</artifactId>
+          <version>${version.flexjs}</version>
+          <extensions>true</extensions>
+          <configuration>
+            <flashVersion>${version.flash}</flashVersion>
+		    <debug>${compiler.debug}</debug>
+			<outputJavaScript>true</outputJavaScript>
+			<mainClass>SimpleAlert.mxml</mainClass>
+          </configuration>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.flex.flexjs.compiler</groupId>
+              <artifactId>compiler-jx</artifactId>
+              <version>${version.flexjs}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+		<executions>
+          <execution>
+            <id>package-javascript</id>
+            <phase>package</phase>
+            <goals>
+              <goal>war</goal>
+            </goals>
+          </execution>
+        </executions>
+		<configuration>
+          <warSourceDirectory>${compiler.output-dir}</warSourceDirectory>
+          <failOnMissingWebXml>false</failOnMissingWebXml>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+		<executions>
+          <execution>
+            <id>attach-war</id>
+            <phase>package</phase>
+            <goals>
+              <goal>attach-artifact</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <artifacts>
+            <artifact>
+              <file>target/simplealert-0.1.0-SNAPSHOT.war</file>
+              <type>war</type>
+            </artifact>
+          </artifacts>
+        </configuration>
+      </plugin>
+    </plugins>
+	</build>
+  <dependencies>
+   <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Core</artifactId>
+      <version>${version.flexjs}</version>
+      <type>swc</type>
+    </dependency>
+	
+    <dependency>
+      <groupId>com.adobe.flash.framework</groupId>
+      <artifactId>playerglobal</artifactId>
+      <version>${version.flash}</version>
+      <type>swc</type>
+      <scope>provided</scope>
+    </dependency>
+	<dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>HTML</artifactId>
+      <version>${version.flexjs}</version>
+      <type>swc</type>
+    </dependency>
+	 <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Language</artifactId>
+      <version>${version.flexjs}</version>
+      <type>swc</type>
+    </dependency>
+  </dependencies>
+
+</project>

http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/91d323a5/examples/visualComponents/generalComponents/button/TextButton/pom.xml
----------------------------------------------------------------------
diff --git a/examples/visualComponents/generalComponents/button/TextButton/pom.xml b/examples/visualComponents/generalComponents/button/TextButton/pom.xml
new file mode 100644
index 0000000..8ca3aca
--- /dev/null
+++ b/examples/visualComponents/generalComponents/button/TextButton/pom.xml
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.apache.flex.tourjs</groupId>
+    <artifactId>examples-tourjs</artifactId>
+    <version>0.1.0-SNAPSHOT</version>
+	<relativePath>../../../../pom.xml</relativePath>
+  </parent>
+
+  <artifactId>TextButton</artifactId>
+  <version>0.1.0-SNAPSHOT</version>
+  <packaging>swf</packaging>
+
+  <name>Apache Flex - FlexJS: Examples: FlexJS: TextButton</name>
+
+  <build>
+    <sourceDirectory>src/main/flex</sourceDirectory>
+    <plugins>
+	<plugin>
+	  <groupId>org.apache.flex.flexjs.compiler</groupId>
+          <artifactId>flexjs-maven-plugin</artifactId>
+          <version>${version.flexjs}</version>
+          <extensions>true</extensions>
+          <configuration>
+            <flashVersion>${version.flash}</flashVersion>
+		    <debug>${compiler.debug}</debug>
+			<outputJavaScript>true</outputJavaScript>
+			<mainClass>TextButton.mxml</mainClass>
+          </configuration>
+          <dependencies>
+            <dependency>
+              <groupId>org.apache.flex.flexjs.compiler</groupId>
+              <artifactId>compiler-jx</artifactId>
+              <version>${version.flexjs}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-war-plugin</artifactId>
+		<executions>
+          <execution>
+            <id>package-javascript</id>
+            <phase>package</phase>
+            <goals>
+              <goal>war</goal>
+            </goals>
+          </execution>
+        </executions>
+		<configuration>
+          <warSourceDirectory>${compiler.output-dir}</warSourceDirectory>
+          <failOnMissingWebXml>false</failOnMissingWebXml>
+        </configuration>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>build-helper-maven-plugin</artifactId>
+		<executions>
+          <execution>
+            <id>attach-war</id>
+            <phase>package</phase>
+            <goals>
+              <goal>attach-artifact</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <artifacts>
+            <artifact>
+              <file>target/textbutton-0.1.0-SNAPSHOT.war</file>
+              <type>war</type>
+            </artifact>
+          </artifacts>
+        </configuration>
+      </plugin>
+    </plugins>
+	</build>
+  <dependencies>
+   <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Core</artifactId>
+      <version>${version.flexjs}</version>
+      <type>swc</type>
+    </dependency>
+	
+    <dependency>
+      <groupId>com.adobe.flash.framework</groupId>
+      <artifactId>playerglobal</artifactId>
+      <version>${version.flash}</version>
+      <type>swc</type>
+      <scope>provided</scope>
+    </dependency>
+	<dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>HTML</artifactId>
+      <version>${version.flexjs}</version>
+      <type>swc</type>
+    </dependency>
+	 <dependency>
+      <groupId>org.apache.flex.flexjs.framework</groupId>
+      <artifactId>Language</artifactId>
+      <version>${version.flexjs}</version>
+      <type>swc</type>
+    </dependency>
+  </dependencies>
+
+</project>

http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/91d323a5/examples/visualComponents/generalComponents/button/TextButton/src/main/flex/TextButton.mxml
----------------------------------------------------------------------
diff --git a/examples/visualComponents/generalComponents/button/TextButton/src/main/flex/TextButton.mxml
b/examples/visualComponents/generalComponents/button/TextButton/src/main/flex/TextButton.mxml
new file mode 100644
index 0000000..95ec65c
--- /dev/null
+++ b/examples/visualComponents/generalComponents/button/TextButton/src/main/flex/TextButton.mxml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+-->
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+                   xmlns:js="library://ns.apache.org/flexjs/basic" >
+    <js:valuesImpl>
+        <js:SimpleCSSValuesImpl />
+    </js:valuesImpl>
+    <js:initialView>
+        <js:View>
+        	<js:TextButton text="Hello World!" />
+        </js:View>
+    </js:initialView>
+</js:Application>

http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/91d323a5/examples/visualComponents/generalComponents/button/pom.xml
----------------------------------------------------------------------
diff --git a/examples/visualComponents/generalComponents/button/pom.xml b/examples/visualComponents/generalComponents/button/pom.xml
deleted file mode 100644
index 83f623a..0000000
--- a/examples/visualComponents/generalComponents/button/pom.xml
+++ /dev/null
@@ -1,134 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-  Licensed to the Apache Software Foundation (ASF) under one or more
-  contributor license agreements.  See the NOTICE file distributed with
-  this work for additional information regarding copyright ownership.
-  The ASF licenses this file to You under the Apache License, Version 2.0
-  (the "License"); you may not use this file except in compliance with
-  the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
-
-  <parent>
-    <groupId>org.apache.flex.tourjs</groupId>
-    <artifactId>examples-tourjs</artifactId>
-    <version>0.1.0-SNAPSHOT</version>
-	<relativePath>../../../pom.xml</relativePath>
-  </parent>
-
-  <artifactId>button</artifactId>
-  <version>0.1.0-SNAPSHOT</version>
-  <packaging>swf</packaging>
-
-  <name>Apache Flex - FlexJS: Examples: FlexJS: Button</name>
-
-  <properties>
-    <compiler.debug>true</compiler.debug>
-    <compiler.output-dir>target/javascript/bin/js-debug</compiler.output-dir>
-  </properties>
-  
-  <build>
-    <sourceDirectory>src/main/flex</sourceDirectory>
-    <plugins>
-	<plugin>
-	  <groupId>org.apache.flex.flexjs.compiler</groupId>
-          <artifactId>flexjs-maven-plugin</artifactId>
-          <version>0.8.0-SNAPSHOT</version>
-          <extensions>true</extensions>
-          <configuration>
-            <flashVersion>20.0</flashVersion>
-		    <debug>${compiler.debug}</debug>
-			<outputJavaScript>true</outputJavaScript>
-			<mainClass>Button.mxml</mainClass>
-          </configuration>
-          <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>
-		<executions>
-          <execution>
-            <id>package-javascript</id>
-            <phase>package</phase>
-            <goals>
-              <goal>war</goal>
-            </goals>
-          </execution>
-        </executions>
-		<configuration>
-          <warSourceDirectory>${compiler.output-dir}</warSourceDirectory>
-          <failOnMissingWebXml>false</failOnMissingWebXml>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>build-helper-maven-plugin</artifactId>
-		<executions>
-          <execution>
-            <id>attach-war</id>
-            <phase>package</phase>
-            <goals>
-              <goal>attach-artifact</goal>
-            </goals>
-          </execution>
-        </executions>
-        <configuration>
-          <artifacts>
-            <artifact>
-              <file>target/button-0.1.0-SNAPSHOT.war</file>
-              <type>war</type>
-            </artifact>
-          </artifacts>
-        </configuration>
-      </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>com.adobe.flash.framework</groupId>
-      <artifactId>playerglobal</artifactId>
-      <version>20.0</version>
-      <type>swc</type>
-      <scope>provided</scope>
-    </dependency>
-	<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>

http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/91d323a5/examples/visualComponents/generalComponents/button/src/main/flex/Button.mxml
----------------------------------------------------------------------
diff --git a/examples/visualComponents/generalComponents/button/src/main/flex/Button.mxml
b/examples/visualComponents/generalComponents/button/src/main/flex/Button.mxml
deleted file mode 100644
index 95ec65c..0000000
--- a/examples/visualComponents/generalComponents/button/src/main/flex/Button.mxml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
--->
-<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
-                   xmlns:js="library://ns.apache.org/flexjs/basic" >
-    <js:valuesImpl>
-        <js:SimpleCSSValuesImpl />
-    </js:valuesImpl>
-    <js:initialView>
-        <js:View>
-        	<js:TextButton text="Hello World!" />
-        </js:View>
-    </js:initialView>
-</js:Application>

http://git-wip-us.apache.org/repos/asf/flex-tourjs/blob/91d323a5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d5eb833..1f173ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,14 @@
   <artifactId>tourjs</artifactId> 
   <version>0.1.0-SNAPSHOT</version> 
   <packaging>pom</packaging> 
-
+  
+  <properties>
+    <compiler.debug>true</compiler.debug>
+    <compiler.output-dir>target/javascript/bin/js-debug</compiler.output-dir>
+	<version.flexjs>0.8.0-SNAPSHOT</version.flexjs>
+	<version.flash>20.0</version.flash>
+  </properties>
+  
   <modules> 
     <module>examples</module>
     <module>TourJS</module>


Mime
View raw message