You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/06/15 08:31:11 UTC
[37/48] git commit: [flex-utilities] [refs/heads/develop] - move
maven-flex-plugin under flex-maven-tools
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/locale-chains/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/locale-chains/pom.xml b/maven-flex-plugin/examples/i18n/locale-chains/pom.xml
deleted file mode 100644
index bff39bc..0000000
--- a/maven-flex-plugin/examples/i18n/locale-chains/pom.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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.examples.i18n</groupId>
- <artifactId>i18n</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>locale-chains</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <modules>
- <module>swf</module>
- <module>war</module>
- </modules>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/locale-chains/swf/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/locale-chains/swf/pom.xml b/maven-flex-plugin/examples/i18n/locale-chains/swf/pom.xml
deleted file mode 100644
index 6d71468..0000000
--- a/maven-flex-plugin/examples/i18n/locale-chains/swf/pom.xml
+++ /dev/null
@@ -1,79 +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.examples.i18n</groupId>
- <artifactId>locale-chains</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>locale-chains-swf</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>swf</packaging>
-
- <build>
- <sourceDirectory>src/main/flex</sourceDirectory>
- <plugins>
- <plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
- <extensions>true</extensions>
- <configuration>
- <debug>true</debug>
- <localesCompiled>
- <locale>en_US</locale>
- <locale>en_GB,en_US</locale>
- <locale>de_DE</locale>
- <locale>de_AT,de_DE</locale>
- </localesCompiled>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.apache.flex</groupId>
- <artifactId>compiler</artifactId>
- <version>4.14.1</version>
- <type>pom</type>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.flex</groupId>
- <artifactId>framework</artifactId>
- <version>4.14.1</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>14.0</version>
- <type>swc</type>
- </dependency>
- </dependencies>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/flex/Main.mxml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/flex/Main.mxml b/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/flex/Main.mxml
deleted file mode 100644
index 3f2cdad..0000000
--- a/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/flex/Main.mxml
+++ /dev/null
@@ -1,63 +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.
-
--->
-<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark">
-
- <fx:Metadata>
- [ResourceBundle("myresources")]
- </fx:Metadata>
-
- <fx:Script>
- <![CDATA[
- import mx.collections.ArrayCollection;
-
- import spark.events.IndexChangeEvent;
-
- [Bindable]
- private var locales:ArrayCollection = new ArrayCollection([
- {label:"US English", locale:"en_US"},
- {label:"British English", locale:"en_GB,en_US"},
- {label:"German", locale:"de_DE,en_US"},
- {label:"Austrian German", locale:"de_AT,de_DE,en_US"}
- ]);
-
- private function onLanguageChange(event:IndexChangeEvent):void {
- resourceManager.localeChain = getLocaleChain(localeSelector.selectedItem.locale);
- }
-
- private function getLocaleChain(str:String):Array {
- var result:Array = [];
- for each(var locale:String in str.split(",")) {
- result.push(locale);
- }
- return result;
- }
-
- ]]>
- </fx:Script>
-
- <s:VGroup>
- <s:ComboBox id="localeSelector" dataProvider="{locales}" change="onLanguageChange(event)"/>
- <s:Label text="{resourceManager.getString('myresources','hotDrink')}"/>
- <s:Label text="{resourceManager.getString('myresources','coldDrink')}"/>
- <s:Label text="{resourceManager.getString('myresources','strangeDrink')}"/>
- </s:VGroup>
-
-</s:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/de_AT/myresources.properties
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/de_AT/myresources.properties b/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/de_AT/myresources.properties
deleted file mode 100644
index c48d822..0000000
--- a/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/de_AT/myresources.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-################################################################################
-##
-## 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.
-##
-################################################################################
-hotDrink=Haferl Kaffee
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/de_DE/myresources.properties
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/de_DE/myresources.properties b/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/de_DE/myresources.properties
deleted file mode 100644
index ca4e20e..0000000
--- a/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/de_DE/myresources.properties
+++ /dev/null
@@ -1,20 +0,0 @@
-################################################################################
-##
-## 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.
-##
-################################################################################
-hotDrink=Tasse Kaffee
-coldDrink=Bier
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/en_GB/myresources.properties
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/en_GB/myresources.properties b/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/en_GB/myresources.properties
deleted file mode 100644
index b020332..0000000
--- a/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/en_GB/myresources.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-################################################################################
-##
-## 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.
-##
-################################################################################
-hotDrink=Cup of tee
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/en_US/myresources.properties
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/en_US/myresources.properties b/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/en_US/myresources.properties
deleted file mode 100644
index 6959d2c..0000000
--- a/maven-flex-plugin/examples/i18n/locale-chains/swf/src/main/locales/en_US/myresources.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-################################################################################
-##
-## 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.
-##
-################################################################################
-hotDrink=Cup of coffee
-coldDrink=Beer
-strangeDrink=Red Bull
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/locale-chains/war/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/locale-chains/war/pom.xml b/maven-flex-plugin/examples/i18n/locale-chains/war/pom.xml
deleted file mode 100644
index e837c60..0000000
--- a/maven-flex-plugin/examples/i18n/locale-chains/war/pom.xml
+++ /dev/null
@@ -1,124 +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.examples.i18n</groupId>
- <artifactId>locale-chains</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>locale-chains-war</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>war</packaging>
-
- <!--
- Properties used in the wrapper template, used by maven-war-plugin to
- perform the filtering.
- -->
- <properties>
- <swf>locale-chains-swf-1.0.0-SNAPSHOT</swf>
- <width>100%</width>
- <height>100%</height>
- <title>My First Application</title>
- <useBrowserHistory>true</useBrowserHistory>
- <bgcolor>white</bgcolor>
- <version_major>10</version_major>
- <version_minor>2</version_minor>
- <version_revision>0</version_revision>
- <expressInstallSwf>expressInstall.swf</expressInstallSwf>
- <application>application</application>
- </properties>
-
- <build>
- <plugins>
- <!--
- Copy all the flex related resources (SWFs, RSLs, ...)
- -->
- <plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
- <executions>
- <execution>
- <goals>
- <goal>copy-flex-resources</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.apache.flex</groupId>
- <artifactId>compiler</artifactId>
- <version>4.14.1</version>
- <type>pom</type>
- </dependency>
- </dependencies>
- </plugin>
- <!--
- Builds the war and copies the flex default wrapper template.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <overlays>
- <overlay>
- <groupId>org.apache.flex.wrapper</groupId>
- <artifactId>swfobject</artifactId>
- <type>war</type>
- <filtered>true</filtered>
- </overlay>
- </overlays>
- </configuration>
- </plugin>
- <!--
- Make the war project "runnable" by running mvn jetty:run
- -->
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.17</version>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.flex.examples.i18n</groupId>
- <artifactId>locale-chains-swf</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <type>swf</type>
- </dependency>
-
- <dependency>
- <groupId>org.apache.flex.wrapper</groupId>
- <artifactId>swfobject</artifactId>
- <version>4.14.1</version>
- <type>war</type>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/locale-chains/war/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/locale-chains/war/src/main/webapp/WEB-INF/web.xml b/maven-flex-plugin/examples/i18n/locale-chains/war/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 8dd835a..0000000
--- a/maven-flex-plugin/examples/i18n/locale-chains/war/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,31 +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.
-
--->
-<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://java.sun.com/xml/ns/javaee"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
- id="WebApp_ID" version="2.5">
-
- <display-name>war war</display-name>
-
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- </welcome-file-list>
-
-</web-app>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/pom.xml b/maven-flex-plugin/examples/i18n/pom.xml
deleted file mode 100644
index 26c6cc0..0000000
--- a/maven-flex-plugin/examples/i18n/pom.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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.examples</groupId>
- <artifactId>parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.flex.examples.i18n</groupId>
- <artifactId>i18n</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <modules>
- <module>compiled-locales</module>
- <module>runtime-locales</module>
- <module>locale-chains</module>
- </modules>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/runtime-locales/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/runtime-locales/pom.xml b/maven-flex-plugin/examples/i18n/runtime-locales/pom.xml
deleted file mode 100644
index 3a3a8d2..0000000
--- a/maven-flex-plugin/examples/i18n/runtime-locales/pom.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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.examples.i18n</groupId>
- <artifactId>i18n</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>runtime-locales</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <modules>
- <module>swf</module>
- <module>war</module>
- </modules>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/runtime-locales/swf/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/runtime-locales/swf/pom.xml b/maven-flex-plugin/examples/i18n/runtime-locales/swf/pom.xml
deleted file mode 100644
index 54818c6..0000000
--- a/maven-flex-plugin/examples/i18n/runtime-locales/swf/pom.xml
+++ /dev/null
@@ -1,77 +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.examples.i18n</groupId>
- <artifactId>runtime-locales</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>runtime-locales-swf</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>swf</packaging>
-
- <build>
- <sourceDirectory>src/main/flex</sourceDirectory>
- <plugins>
- <plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
- <extensions>true</extensions>
- <configuration>
- <debug>true</debug>
- <localesRuntime>
- <locale>en_US</locale>
- <locale>de_DE</locale>
- </localesRuntime>
- </configuration>
- <dependencies>
- <dependency>
- <groupId>org.apache.flex</groupId>
- <artifactId>compiler</artifactId>
- <version>4.14.1</version>
- <type>pom</type>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.flex</groupId>
- <artifactId>framework</artifactId>
- <version>4.14.1</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>14.0</version>
- <type>swc</type>
- </dependency>
- </dependencies>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/flex/Main.mxml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/flex/Main.mxml b/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/flex/Main.mxml
deleted file mode 100644
index db86365..0000000
--- a/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/flex/Main.mxml
+++ /dev/null
@@ -1,80 +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.
-
--->
-<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark"
- creationComplete="onCreationComplete(event)">
-
- <fx:Metadata>
- [ResourceBundle("myresources")]
- </fx:Metadata>
-
- <fx:Script>
- <![CDATA[
- import mx.collections.ArrayCollection;
- import mx.events.FlexEvent;
- import mx.events.ResourceEvent;
- import mx.modules.ModuleBase;
-
- import spark.events.IndexChangeEvent;
-
- // Actually I don't quite know why I need to do this ...
- // without it, I get an error, that this class is missing.
- private var tst:ModuleBase = null;
-
- [Bindable]
- private var locales:ArrayCollection = new ArrayCollection([{label: "English", locale: "en_US"},
- {label: "German", locale: "de_DE"}]);
-
- private function onCreationComplete(event:FlexEvent):void {
- if("en" == Capabilities.language) {
- localeSelector.selectedItem = locales.getItemAt(0);
- } else if("de" == Capabilities.language) {
- localeSelector.selectedItem = locales.getItemAt(1);
- }
- onLanguageChange();
- }
-
- private function onLanguageChange(event:IndexChangeEvent = null):void {
- var selectedLocale:String = String(localeSelector.selectedItem.locale);
-
- // Ensure that you are not loading the same resource module more than once.
- if (resourceManager.getLocales().indexOf(selectedLocale) != -1) {
- completeHandler(null);
- } else {
- var resourceModuleURL:String =
- "./locales/runtime-locales-swf-1.0.0-SNAPSHOT-" + selectedLocale + ".swf";
- var eventDispatcher:IEventDispatcher = resourceManager.loadResourceModule(resourceModuleURL);
- eventDispatcher.addEventListener(ResourceEvent.COMPLETE, completeHandler);
- }
- }
-
- private function completeHandler(event:ResourceEvent):void {
- resourceManager.localeChain = [localeSelector.selectedItem.locale];
- }
-
- ]]>
- </fx:Script>
-
- <s:VGroup>
- <s:ComboBox id="localeSelector" dataProvider="{locales}" change="onLanguageChange(event)"/>
- <s:Label text="{resourceManager.getString('myresources','greeting')}"/>
- </s:VGroup>
-
-</s:Application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/locales/de_DE/myresources.properties
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/locales/de_DE/myresources.properties b/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/locales/de_DE/myresources.properties
deleted file mode 100644
index f792b93..0000000
--- a/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/locales/de_DE/myresources.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-################################################################################
-##
-## 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.
-##
-################################################################################
-greeting=Hallo Welt!
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/locales/en_US/myresources.properties
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/locales/en_US/myresources.properties b/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/locales/en_US/myresources.properties
deleted file mode 100644
index ba8ac99..0000000
--- a/maven-flex-plugin/examples/i18n/runtime-locales/swf/src/main/locales/en_US/myresources.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-################################################################################
-##
-## 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.
-##
-################################################################################
-greeting=Hello World!
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/runtime-locales/war/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/runtime-locales/war/pom.xml b/maven-flex-plugin/examples/i18n/runtime-locales/war/pom.xml
deleted file mode 100644
index d1d753e..0000000
--- a/maven-flex-plugin/examples/i18n/runtime-locales/war/pom.xml
+++ /dev/null
@@ -1,124 +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.examples.i18n</groupId>
- <artifactId>runtime-locales</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>runtime-locales-war</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>war</packaging>
-
- <!--
- Properties used in the wrapper template, used by maven-war-plugin to
- perform the filtering.
- -->
- <properties>
- <swf>runtime-locales-swf-1.0.0-SNAPSHOT</swf>
- <width>100%</width>
- <height>100%</height>
- <title>My First Application</title>
- <useBrowserHistory>true</useBrowserHistory>
- <bgcolor>white</bgcolor>
- <version_major>10</version_major>
- <version_minor>2</version_minor>
- <version_revision>0</version_revision>
- <expressInstallSwf>expressInstall.swf</expressInstallSwf>
- <application>application</application>
- </properties>
-
- <build>
- <plugins>
- <!--
- Copy all the flex related resources (SWFs, RSLs, ...)
- -->
- <plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
- <executions>
- <execution>
- <goals>
- <goal>copy-flex-resources</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.apache.flex</groupId>
- <artifactId>compiler</artifactId>
- <version>4.14.1</version>
- <type>pom</type>
- </dependency>
- </dependencies>
- </plugin>
- <!--
- Builds the war and copies the flex default wrapper template.
- -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <overlays>
- <overlay>
- <groupId>org.apache.flex.wrapper</groupId>
- <artifactId>swfobject</artifactId>
- <type>war</type>
- <filtered>true</filtered>
- </overlay>
- </overlays>
- </configuration>
- </plugin>
- <!--
- Make the war project "runnable" by running mvn jetty:run
- -->
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.17</version>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.flex.examples.i18n</groupId>
- <artifactId>runtime-locales-swf</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <type>swf</type>
- </dependency>
-
- <dependency>
- <groupId>org.apache.flex.wrapper</groupId>
- <artifactId>swfobject</artifactId>
- <version>4.14.1</version>
- <type>war</type>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
-
-</project>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/i18n/runtime-locales/war/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/i18n/runtime-locales/war/src/main/webapp/WEB-INF/web.xml b/maven-flex-plugin/examples/i18n/runtime-locales/war/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 8dd835a..0000000
--- a/maven-flex-plugin/examples/i18n/runtime-locales/war/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,31 +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.
-
--->
-<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://java.sun.com/xml/ns/javaee"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
- id="WebApp_ID" version="2.5">
-
- <display-name>war war</display-name>
-
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- </welcome-file-list>
-
-</web-app>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/mobile/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/mobile/pom.xml b/maven-flex-plugin/examples/mobile/pom.xml
deleted file mode 100644
index 44b1683..0000000
--- a/maven-flex-plugin/examples/mobile/pom.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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.examples</groupId>
- <artifactId>parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.flex.examples.mobile</groupId>
- <artifactId>mobile</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <modules>
- <module>simple-air</module>
- </modules>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/mobile/simple-air/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/mobile/simple-air/pom.xml b/maven-flex-plugin/examples/mobile/simple-air/pom.xml
deleted file mode 100644
index c49e789..0000000
--- a/maven-flex-plugin/examples/mobile/simple-air/pom.xml
+++ /dev/null
@@ -1,110 +0,0 @@
-<!--
-
- 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.examples.mobile</groupId>
- <artifactId>mobile</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <artifactId>simple-air</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>air</packaging>
-
- <build>
- <sourceDirectory>src/main/flex</sourceDirectory>
- <plugins>
- <plugin>
- <groupId>net.flexmojos.oss</groupId>
- <artifactId>flexmojos-maven-plugin</artifactId>
- <version>7.1.0-SNAPSHOT</version>
- <extensions>true</extensions>
- <executions>
- <execution>
- <goals>
- <goal>sign-air</goal>
- </goals>
- </execution>
- </executions>
-
- <configuration>
- <!-- Strangely I get linker errors, if I comment in this line -->
- <!--keepGeneratedActionscript>true</keepGeneratedActionscript-->
-
- <storepass>flexmojos</storepass>
- <descriptorTemplate>${basedir}/src/main/resources/descriptor.xml</descriptorTemplate>
- <debug>true</debug>
- </configuration>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.flex</groupId>
- <artifactId>compiler</artifactId>
- <version>4.14.1</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>com.adobe.air.compiler</groupId>
- <artifactId>adt</artifactId>
- <version>17.0</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.flex</groupId>
- <artifactId>framework</artifactId>
- <version>4.14.1</version>
- <type>pom</type>
- </dependency>
-
- <!-- Add the components optimized for mobile use -->
- <dependency>
- <groupId>org.apache.flex.framework</groupId>
- <artifactId>mobile</artifactId>
- <version>4.14.1</version>
- <type>pom</type>
- </dependency>
-
- <!-- Add the default mobile skin -->
- <dependency>
- <groupId>org.apache.flex.framework.themes</groupId>
- <artifactId>mobile</artifactId>
- <version>4.14.1</version>
- <type>swc</type>
- <scope>theme</scope>
- </dependency>
-
- <!-- Air runtime dependencies -->
- <dependency>
- <groupId>com.adobe.air</groupId>
- <artifactId>framework</artifactId>
- <version>17.0</version>
- <type>pom</type>
- </dependency>
- </dependencies>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/mobile/simple-air/src/main/air/sign.p12
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/mobile/simple-air/src/main/air/sign.p12 b/maven-flex-plugin/examples/mobile/simple-air/src/main/air/sign.p12
deleted file mode 100644
index 0be9fc3..0000000
Binary files a/maven-flex-plugin/examples/mobile/simple-air/src/main/air/sign.p12 and /dev/null differ
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/SimpleAirMobileApplication.mxml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/SimpleAirMobileApplication.mxml b/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/SimpleAirMobileApplication.mxml
deleted file mode 100644
index 09845f7..0000000
--- a/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/SimpleAirMobileApplication.mxml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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.
-
--->
-<s:TabbedViewNavigatorApplication
- xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark">
-
- <s:ViewNavigator label="tab1" firstView="tabs.Tab1"/>
- <s:ViewNavigator label="tab2" firstView="tabs.Tab2"/>
-
-</s:TabbedViewNavigatorApplication>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/tabs/Tab1.mxml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/tabs/Tab1.mxml b/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/tabs/Tab1.mxml
deleted file mode 100644
index dfe492c..0000000
--- a/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/tabs/Tab1.mxml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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.
-
--->
-<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
-
- <s:Label text="tab1"/>
-
-</s:View>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/tabs/Tab2.mxml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/tabs/Tab2.mxml b/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/tabs/Tab2.mxml
deleted file mode 100644
index e3a3783..0000000
--- a/maven-flex-plugin/examples/mobile/simple-air/src/main/flex/tabs/Tab2.mxml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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.
-
--->
-<s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark">
-
- <s:Label text="tab2"/>
-
-</s:View>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/mobile/simple-air/src/main/resources/descriptor.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/mobile/simple-air/src/main/resources/descriptor.xml b/maven-flex-plugin/examples/mobile/simple-air/src/main/resources/descriptor.xml
deleted file mode 100644
index cdc220d..0000000
--- a/maven-flex-plugin/examples/mobile/simple-air/src/main/resources/descriptor.xml
+++ /dev/null
@@ -1,297 +0,0 @@
-<?xml version="1.0" encoding="utf-8" standalone="no"?>
-<application xmlns="http://ns.adobe.com/air/application/17.0">
-
-<!-- Adobe AIR Application Descriptor File Template.
-
- Specifies parameters for identifying, installing, and launching AIR applications.
-
- xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/3.5
- The last segment of the namespace specifies the version
- of the AIR runtime required for this application to run.
-
- minimumPatchLevel - The minimum patch level of the AIR runtime required to run
- the application. Optional.
--->
-
- <!-- A universally unique application identifier. Must be unique across all AIR applications.
- Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
- <id>SimpleAirMobile</id>
-
- <!-- Used as the filename for the application. Required. -->
- <filename>SimpleAirMobile</filename>
-
- <!-- The name that is displayed in the AIR application installer.
- May have multiple values for each language. See samples or xsd schema file. Optional. -->
- <name>SimpleAirMobile</name>
-
- <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
- Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
- An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
- <versionNumber>1.0.0</versionNumber>
-
- <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
- <!-- <versionLabel></versionLabel> -->
-
- <!-- Description, displayed in the AIR application installer.
- May have multiple values for each language. See samples or xsd schema file. Optional. -->
- <!-- <description></description> -->
-
- <!-- Copyright information. Optional -->
- <!-- <copyright></copyright> -->
-
- <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
- <!-- <publisherID></publisherID> -->
-
- <!-- Settings for the application's initial window. Required. -->
- <initialWindow>
- <!-- The main SWF or HTML file of the application. Required. -->
- <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
- <content>${output}</content>
-
- <!-- The title of the main window. Optional. -->
- <!-- <title></title> -->
-
- <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
- <!-- <systemChrome></systemChrome> -->
-
- <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
- <!-- <transparent></transparent> -->
-
- <!-- Whether the window is initially visible. Optional. Default false. -->
- <!-- <visible></visible> -->
-
- <!-- Whether the user can minimize the window. Optional. Default true. -->
- <!-- <minimizable></minimizable> -->
-
- <!-- Whether the user can maximize the window. Optional. Default true. -->
- <!-- <maximizable></maximizable> -->
-
- <!-- Whether the user can resize the window. Optional. Default true. -->
- <!-- <resizable></resizable> -->
-
- <!-- The window's initial width in pixels. Optional. -->
- <!-- <width></width> -->
-
- <!-- The window's initial height in pixels. Optional. -->
- <!-- <height></height> -->
-
- <!-- The window's initial x position. Optional. -->
- <!-- <x></x> -->
-
- <!-- The window's initial y position. Optional. -->
- <!-- <y></y> -->
-
- <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
- <!-- <minSize></minSize> -->
-
- <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
- <!-- <maxSize></maxSize> -->
-
- <!-- The aspect ratio of the app ("portrait" or "landscape" or "any"). Optional. Mobile only. Default is the natural orientation of the device -->
-
- <!-- <aspectRatio></aspectRatio> -->
-
- <!-- Whether the app will begin auto-orienting on launch. Optional. Mobile only. Default false -->
-
- <!-- <autoOrients></autoOrients> -->
-
- <!-- Whether the app launches in full screen. Optional. Mobile only. Default false -->
-
- <!-- <fullScreen></fullScreen> -->
-
- <!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->
-
- <!-- <renderMode></renderMode> -->
-
- <!-- Whether the default direct mode rendering context allocates storage for depth and stencil buffers. Optional. Default false. -->
- <!-- <depthAndStencil></depthAndStencil> -->
-
- <!-- Whether or not to pan when a soft keyboard is raised or lowered (either "pan" or "none"). Optional. Defaults "pan." -->
- <!-- <softKeyboardBehavior></softKeyboardBehavior> -->
-
- <!-- Display Resolution for the app (either "standard" or "high"). Optional, OSX-only. Default "standard" -->
- <!-- <requestedDisplayResolution></requestedDisplayResolution> -->
- <autoOrients>true</autoOrients>
- <fullScreen>false</fullScreen>
- <visible>true</visible>
- <softKeyboardBehavior>none</softKeyboardBehavior>
- </initialWindow>
-
- <!-- We recommend omitting the supportedProfiles element, -->
- <!-- which in turn permits your application to be deployed to all -->
- <!-- devices supported by AIR. If you wish to restrict deployment -->
- <!-- (i.e., to only mobile devices) then add this element and list -->
- <!-- only the profiles which your application does support. -->
- <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
-
- <!-- Languages supported by application -->
- <!-- Only these languages can be specified -->
- <!-- <supportedLanguages>en de cs es fr it ja ko nl pl pt ru sv tr zh</supportedLanguages> -->
-
- <!-- The subpath of the standard default installation location to use. Optional. -->
- <!-- <installFolder></installFolder> -->
-
- <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
- <!-- <programMenuFolder></programMenuFolder> -->
-
- <!-- The icon the system uses for the application. For at least one resolution,
- specify the path to a PNG file included in the AIR package. Optional. -->
- <!-- <icon>
- <image16x16></image16x16>
- <image29x29></image29x29>
- <image32x32></image32x32>
- <image36x36></image36x36>
- <image48x48></image48x48>
- <image50x50></image50x50>
- <image57x57></image57x57>
- <image58x58></image58x58>
- <image72x72></image72x72>
- <image96x96></image96x96>
- <image100x100></image100x100>
- <image114x114></image114x114>
- <image128x128></image128x128>
- <image144x144></image144x144>
- <image512x512></image512x512>
- <image732x412></image732x412>
- <image1024x1024></image1024x1024>
- </icon> -->
-
- <!-- Whether the application handles the update when a user double-clicks an update version
- of the AIR file (true), or the default AIR application installer handles the update (false).
- Optional. Default false. -->
- <!-- <customUpdateUI></customUpdateUI> -->
-
- <!-- Whether the application can be launched when the user clicks a link in a web browser.
- Optional. Default false. -->
- <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
-
- <!-- Listing of file types for which the application can register. Optional. -->
- <!-- <fileTypes> -->
-
- <!-- Defines one file type. Optional. -->
- <!-- <fileType> -->
-
- <!-- The name that the system displays for the registered file type. Required. -->
- <!-- <name></name> -->
-
- <!-- The extension to register. Required. -->
- <!-- <extension></extension> -->
-
- <!-- The description of the file type. Optional. -->
- <!-- <description></description> -->
-
- <!-- The MIME content type. -->
- <!-- <contentType></contentType> -->
-
- <!-- The icon to display for the file type. Optional. -->
- <!-- <icon>
- <image16x16></image16x16>
- <image32x32></image32x32>
- <image48x48></image48x48>
- <image128x128></image128x128>
- </icon> -->
-
- <!-- </fileType> -->
- <!-- </fileTypes> -->
-
- <!-- iOS specific capabilities -->
- <!-- <iPhone> -->
- <!-- A list of plist key/value pairs to be added to the application Info.plist -->
- <!-- <InfoAdditions>
- <![CDATA[
- <key>UIDeviceFamily</key>
- <array>
- <string>1</string>
- <string>2</string>
- </array>
- <key>UIStatusBarStyle</key>
- <string>UIStatusBarStyleBlackOpaque</string>
- <key>UIRequiresPersistentWiFi</key>
- <string>YES</string>
- ]]>
- </InfoAdditions> -->
- <!-- A list of plist key/value pairs to be added to the application Entitlements.plist -->
- <!-- <Entitlements>
- <![CDATA[
- <key>keychain-access-groups</key>
- <array>
- <string></string>
- <string></string>
- </array>
- ]]>
- </Entitlements> -->
- <!-- Display Resolution for the app (either "standard" or "high"). Optional. Default "standard" -->
- <!-- <requestedDisplayResolution></requestedDisplayResolution> -->
- <!-- Forcing Render Mode CPU for the devices mentioned. Optional -->
- <!-- <forceCPURenderModeForDevices></forceCPURenderModeForDevices> -->
- <!-- File containing line separated list of external swf paths. These swfs won't be
- packaged inside the application and corresponding stripped swfs will be output in
- externalStrippedSwfs folder. -->
- <!-- <externalSwfs></externalSwfs> -->
- <!-- </iPhone> -->
-
- <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
- <!--<android> -->
- <!-- <manifestAdditions>
- <![CDATA[
- <manifest android:installLocation="auto">
- <uses-permission android:name="android.permission.INTERNET"/>
- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
- <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
- <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
- <application android:enabled="true">
- <activity android:excludeFromRecents="false">
- <intent-filter>
- <action android:name="android.intent.action.MAIN"/>
- <category android:name="android.intent.category.LAUNCHER"/>
- </intent-filter>
- </activity>
- </application>
- </manifest>
- ]]>
- </manifestAdditions> -->
- <!-- Color depth for the app (either "32bit" or "16bit"). Optional. Default 16bit before namespace 3.0, 32bit after -->
- <!-- <colorDepth></colorDepth> -->
- <!-- Indicates if the app contains video or not. Necessary for ordering of video planes with graphics plane, especially in Jellybean - if you app does video this must be set to true - valid values are true or false -->
- <!-- <containsVideo></containsVideo> -->
- <!-- </android> -->
- <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
-
- <android>
- <colorDepth>16bit</colorDepth>
- <manifestAdditions><![CDATA[
- <manifest android:installLocation="auto">
- <!--See the Adobe AIR documentation for more information about setting Google Android permissions-->
- <!--Removing the permission android.permission.INTERNET will have the side effect
- of preventing you from debugging your application on your device-->
- <uses-permission android:name="android.permission.INTERNET"/>
- <!--<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>-->
- <!--<uses-permission android:name="android.permission.READ_PHONE_STATE"/>-->
- <!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>-->
- <!--The DISABLE_KEYGUARD and WAKE_LOCK permissions should be toggled together
- in order to access AIR's SystemIdleMode APIs-->
- <!--<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>-->
- <!--<uses-permission android:name="android.permission.WAKE_LOCK"/>-->
- <!--<uses-permission android:name="android.permission.CAMERA"/>-->
- <!--<uses-permission android:name="android.permission.RECORD_AUDIO"/>-->
- <!--The ACCESS_NETWORK_STATE and ACCESS_WIFI_STATE permissions should be toggled
- together in order to use AIR's NetworkInfo APIs-->
- <!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>-->
- <!--<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>-->
- </manifest>
-
- ]]></manifestAdditions>
- </android>
- <!--iPhone>
- <InfoAdditions><![CDATA[
- <key>UIDeviceFamily</key>
- <array>
- <string>1</string>
- <string>2</string>
- </array>
- <key>UIApplicationExitsOnSuspend</key>
- <true/>
- ]]></InfoAdditions>
- <requestedDisplayResolution>high</requestedDisplayResolution>
- </iPhone-->
-</application>
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/examples/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/examples/pom.xml b/maven-flex-plugin/examples/pom.xml
deleted file mode 100644
index c8028bd..0000000
--- a/maven-flex-plugin/examples/pom.xml
+++ /dev/null
@@ -1,120 +0,0 @@
-<?xml version="1.0"?>
-<!--
-
- 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>
-
- <groupId>org.apache.flex.examples</groupId>
- <artifactId>parent</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>pom</packaging>
-
- <modules>
- <module>flexjs</module>
- <module>i18n</module>
- <module>mobile</module>
- </modules>
-
- <repositories>
- <!--
- This is where we get released stuff from.
- -->
- <repository>
- <id>maven-central</id>
- <url>http://repo1.maven.org/maven2/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- <!--
- This is where we get unreleased Apache stuff from
- -->
- <repository>
- <id>apache-snapshots</id>
- <url>http://repository.apache.org/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- <!--
- This is where we get unreleased Flexmojos stuff from.
- -->
- <repository>
- <id>sonatype-snapshots</id>
- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <!--
- This is where we get released stuff from.
- -->
- <pluginRepository>
- <id>maven-central</id>
- <url>http://repo1.maven.org/maven2/</url>
- <releases>
- <enabled>true</enabled>
- </releases>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- <!--
- This is where we get unreleased Apache stuff from
- -->
- <pluginRepository>
- <id>apache-snapshots</id>
- <url>http://repository.apache.org/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- <!--
- This is where we get unreleased Flexmojos stuff from.
- -->
- <pluginRepository>
- <id>sonatype-snapshots</id>
- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/plugins/maven-flex-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/plugins/maven-flex-plugin/pom.xml b/maven-flex-plugin/plugins/maven-flex-plugin/pom.xml
deleted file mode 100644
index 672fadd..0000000
--- a/maven-flex-plugin/plugins/maven-flex-plugin/pom.xml
+++ /dev/null
@@ -1,105 +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/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.apache.flex.plugins</groupId>
- <artifactId>plugins</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <!-- This package name is intentional -->
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-flex-plugin</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>maven-plugin</packaging>
-
- <name>Maven-Flex-Plugin / Plugins / flex-maven-plugin</name>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-plugin-plugin</artifactId>
- <version>3.2</version>
- <configuration>
- <encoding>${project.encoding}</encoding>
- <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
- </configuration>
- <executions>
- <execution>
- <id>mojo-descriptor</id>
- <phase>process-classes</phase>
- <goals>
- <goal>descriptor</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-plugin-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-core</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.plugin-tools</groupId>
- <artifactId>maven-plugin-annotations</artifactId>
- <scope>compile</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.flex.components</groupId>
- <artifactId>api</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <!-- Compiler implementations -->
- <dependency>
- <groupId>org.apache.flex.components</groupId>
- <artifactId>compiler-falcon</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.flex.components</groupId>
- <artifactId>compiler-mxmlc</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.flex.components</groupId>
- <artifactId>compiler-compc</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.flex.components</groupId>
- <artifactId>compiler-asdoc</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/AbstractFlexMojo.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/AbstractFlexMojo.java b/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/AbstractFlexMojo.java
deleted file mode 100644
index 79a42a3..0000000
--- a/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/AbstractFlexMojo.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package org.apache.flex.maven.plugins.flex;
-
-import org.apache.maven.plugin.AbstractMojo;
-
-public abstract class AbstractFlexMojo extends AbstractMojo {
-}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/compiler/CompilerMojo.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/compiler/CompilerMojo.java b/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/compiler/CompilerMojo.java
deleted file mode 100644
index 8a72a12..0000000
--- a/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/compiler/CompilerMojo.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*
- * 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.
- */
-package org.apache.flex.maven.plugins.flex.compiler;
-
-import org.apache.flex.maven.plugins.flex.AbstractFlexMojo;
-import org.apache.maven.plugin.MojoExecution;
-import org.apache.maven.plugin.descriptor.PluginDescriptor;
-import org.apache.maven.plugins.annotations.*;
-import org.apache.maven.project.MavenProject;
-
-import java.util.Map;
-
-@Mojo(name = "compile",
- defaultPhase = LifecyclePhase.COMPILE,
- requiresDependencyResolution = ResolutionScope.COMPILE,
- threadSafe = true)
-public class CompilerMojo extends AbstractFlexMojo {
-
- @Parameter(defaultValue = "false")
- protected boolean useLegacyCompiler;
-
- @Component
- protected Map<String, Compiler> compilerMap;
-
- @Component
- protected MavenProject project;
-
- @Component
- protected MojoExecution mojoEcecution;
-
- public void execute() {
- if(mojoEcecution.getLifecyclePhase().equals(LifecyclePhase.COMPILE.id())) {
- if(useLegacyCompiler) {
- if(project.getPackaging().equalsIgnoreCase("SWC")) {
- compilerMap.get("compc").compile(project);
- } else if(project.getPackaging().equalsIgnoreCase("SWF")) {
- compilerMap.get("mxmlc").compile(project);
- } else {
- throw new RuntimeException("Wrong packaging");
- }
- } else {
- compilerMap.get("falcon").compile(project);
- }
- } else if(mojoEcecution.getLifecyclePhase().equals(LifecyclePhase.PROCESS_SOURCES.id())) {
- compilerMap.get("asdoc").compile(project);
- }
- }
-
-}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/generator/GeneratorMojo.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/generator/GeneratorMojo.java b/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/generator/GeneratorMojo.java
deleted file mode 100644
index 76714ff..0000000
--- a/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/generator/GeneratorMojo.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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.
- */
-package org.apache.flex.maven.plugins.flex.generator;
-
-import org.apache.flex.maven.plugins.flex.AbstractFlexMojo;
-import org.apache.maven.plugins.annotations.LifecyclePhase;
-import org.apache.maven.plugins.annotations.Mojo;
-
-@Mojo(name = "generate",
- defaultPhase = LifecyclePhase.GENERATE_SOURCES,
- threadSafe = true)
-public class GeneratorMojo extends AbstractFlexMojo {
-
- public void execute() {
- getLog().debug("Executing generate");
- }
-
-}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/OptimizerMojo.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/OptimizerMojo.java b/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/OptimizerMojo.java
deleted file mode 100644
index 39cbaac..0000000
--- a/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/OptimizerMojo.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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.
- */
-package org.apache.flex.maven.plugins.flex.optimizer;
-
-import org.apache.flex.maven.plugins.flex.AbstractFlexMojo;
-import org.apache.maven.plugins.annotations.LifecyclePhase;
-import org.apache.maven.plugins.annotations.Mojo;
-
-@Mojo(name = "optimize",
- defaultPhase = LifecyclePhase.PROCESS_CLASSES,
- threadSafe = true)
-public class OptimizerMojo extends AbstractFlexMojo {
-
- public void execute() {
- getLog().debug("Executing optimize");
- }
-
-}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java b/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java
deleted file mode 100644
index 9cd765b..0000000
--- a/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * 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.
- */
-package org.apache.flex.maven.plugins.flex.packager;
-
-import org.apache.flex.maven.plugins.flex.AbstractFlexMojo;
-import org.apache.maven.plugins.annotations.LifecyclePhase;
-import org.apache.maven.plugins.annotations.Mojo;
-
-@Mojo(name = "package",
- defaultPhase = LifecyclePhase.PACKAGE,
- threadSafe = true)
-public class PackagerMojo extends AbstractFlexMojo {
-
- public void execute() {
- getLog().debug("Executing package");
- }
-
-}