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:13 UTC
[39/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/flex-maven-tools/maven-flex-plugin/examples/mobile/simple-air/src/main/resources/descriptor.xml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/examples/mobile/simple-air/src/main/resources/descriptor.xml b/flex-maven-tools/maven-flex-plugin/examples/mobile/simple-air/src/main/resources/descriptor.xml
new file mode 100644
index 0000000..cdc220d
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/examples/mobile/simple-air/src/main/resources/descriptor.xml
@@ -0,0 +1,297 @@
+<?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/flex-maven-tools/maven-flex-plugin/examples/pom.xml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/examples/pom.xml b/flex-maven-tools/maven-flex-plugin/examples/pom.xml
new file mode 100644
index 0000000..c8028bd
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/examples/pom.xml
@@ -0,0 +1,120 @@
+<?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/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/pom.xml b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/pom.xml
new file mode 100644
index 0000000..672fadd
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/pom.xml
@@ -0,0 +1,105 @@
+<?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/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/AbstractFlexMojo.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/AbstractFlexMojo.java b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/AbstractFlexMojo.java
new file mode 100644
index 0000000..79a42a3
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/AbstractFlexMojo.java
@@ -0,0 +1,6 @@
+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/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/compiler/CompilerMojo.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/compiler/CompilerMojo.java b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/compiler/CompilerMojo.java
new file mode 100644
index 0000000..8a72a12
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/compiler/CompilerMojo.java
@@ -0,0 +1,63 @@
+/*
+ * 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/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/generator/GeneratorMojo.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/generator/GeneratorMojo.java b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/generator/GeneratorMojo.java
new file mode 100644
index 0000000..76714ff
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/generator/GeneratorMojo.java
@@ -0,0 +1,32 @@
+/*
+ * 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/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/OptimizerMojo.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/OptimizerMojo.java b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/OptimizerMojo.java
new file mode 100644
index 0000000..39cbaac
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/OptimizerMojo.java
@@ -0,0 +1,32 @@
+/*
+ * 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/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java
new file mode 100644
index 0000000..9cd765b
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/packager/PackagerMojo.java
@@ -0,0 +1,32 @@
+/*
+ * 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");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestCompilerMojo.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestCompilerMojo.java b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestCompilerMojo.java
new file mode 100644
index 0000000..ed4b77c
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestCompilerMojo.java
@@ -0,0 +1,44 @@
+/*
+ * 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.test;
+
+import org.apache.flex.maven.plugins.flex.compiler.CompilerMojo;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.ResolutionScope;
+
+@Mojo(name = "test-compile",
+ defaultPhase = LifecyclePhase.TEST_COMPILE,
+ requiresDependencyResolution = ResolutionScope.TEST,
+ threadSafe = true)
+public class TestCompilerMojo extends CompilerMojo {
+
+ public void execute() {
+ 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);
+ }
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestGeneratorMojo.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestGeneratorMojo.java b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestGeneratorMojo.java
new file mode 100644
index 0000000..e87f2d7
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestGeneratorMojo.java
@@ -0,0 +1,34 @@
+/*
+ * 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.test;
+
+import org.apache.flex.maven.plugins.flex.compiler.CompilerMojo;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.ResolutionScope;
+
+@Mojo(name = "test-generate",
+ defaultPhase = LifecyclePhase.GENERATE_TEST_SOURCES,
+ requiresDependencyResolution = ResolutionScope.TEST,
+ threadSafe = true)
+public class TestGeneratorMojo extends CompilerMojo {
+
+ public void execute() {
+ getLog().debug("Executing test-generate");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestRunnerMojo.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestRunnerMojo.java b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestRunnerMojo.java
new file mode 100644
index 0000000..08160c8
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/java/org/apache/flex/maven/plugins/flex/test/TestRunnerMojo.java
@@ -0,0 +1,32 @@
+/*
+ * 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.test;
+
+import org.apache.flex.maven.plugins.flex.AbstractFlexMojo;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+
+@Mojo(name = "test",
+ defaultPhase = LifecyclePhase.TEST,
+ threadSafe = true)
+public class TestRunnerMojo extends AbstractFlexMojo {
+
+ public void execute() {
+ getLog().debug("Executing test");
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/resources/META-INF/plexus/components.xml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/resources/META-INF/plexus/components.xml b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/resources/META-INF/plexus/components.xml
new file mode 100644
index 0000000..dfec973
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-flex-plugin/src/main/resources/META-INF/plexus/components.xml
@@ -0,0 +1,109 @@
+<component-set>
+ <components>
+
+ <!--
+
+ Default lifecycle for a flex artifact with packaging "swf"
+
+ -->
+ <component>
+ <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
+ <role-hint>swf</role-hint>
+ <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
+ <configuration>
+ <phases>
+ <!--validate></validate>
+ <initialize></initialize-->
+ <generate-sources>org.apache.maven.plugins:maven-flex-plugin:generate</generate-sources>
+ <process-sources>org.apache.maven.plugins:maven-flex-plugin:compile</process-sources>
+ <!--generate-resources></generate-resources>
+ <process-resources></process-resources-->
+ <compile>org.apache.maven.plugins:maven-flex-plugin:compile</compile>
+ <!--process-classes></process-classes-->
+ <generate-test-sources>org.apache.maven.plugins:maven-flex-plugin:test-generate</generate-test-sources>
+ <!--process-test-sources></process-test-sources>
+ <generate-test-resources></generate-test-resources>
+ <process-test-resources></process-test-resources-->
+ <test-compile>org.apache.maven.plugins:maven-flex-plugin:test-compile</test-compile>
+ <!--process-test-classes></process-test-classes-->
+ <test>org.apache.maven.plugins:maven-flex-plugin:test</test>
+ <!--prepare-package></prepare-package-->
+ <package>org.apache.maven.plugins:maven-flex-plugin:optimize</package>
+ <!--pre-integration-test></pre-integration-test>
+ <integration-test></integration-test>
+ <post-integration-test></post-integration-test>
+ <verify></verify>
+ <install></install>
+ <deploy></deploy-->
+ </phases>
+ </configuration>
+ </component>
+
+ <!--
+
+ Default lifecycle for a flex artifact with packaging "swc"
+
+ -->
+ <component>
+ <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
+ <role-hint>swc</role-hint>
+ <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
+ <configuration>
+ <phases>
+ <!--validate></validate>
+ <initialize></initialize-->
+ <generate-sources>org.apache.maven.plugins:maven-flex-plugin:generate</generate-sources>
+ <process-sources>org.apache.maven.plugins:maven-flex-plugin:compile</process-sources>
+ <!--generate-resources></generate-resources>
+ <process-resources></process-resources-->
+ <compile>org.apache.maven.plugins:maven-flex-plugin:compile</compile>
+ <!--process-classes></process-classes-->
+ <generate-test-sources>org.apache.maven.plugins:maven-flex-plugin:test-generate</generate-test-sources>
+ <!--process-test-sources></process-test-sources>
+ <generate-test-resources></generate-test-resources>
+ <process-test-resources></process-test-resources-->
+ <test-compile>org.apache.maven.plugins:maven-flex-plugin:test-compile</test-compile>
+ <!--process-test-classes></process-test-classes-->
+ <test>org.apache.maven.plugins:maven-flex-plugin:test</test>
+ <!--prepare-package></prepare-package-->
+ <package>org.apache.maven.plugins:maven-flex-plugin:optimize</package>
+ <!--pre-integration-test></pre-integration-test>
+ <integration-test></integration-test>
+ <post-integration-test></post-integration-test>
+ <verify></verify>
+ <install></install>
+ <deploy></deploy-->
+ </phases>
+ </configuration>
+ </component>
+
+ <!--
+
+ Tell Maven how to deal with the different types of flex artifacts
+
+ -->
+ <component>
+ <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
+ <role-hint>swc</role-hint>
+ <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
+ <configuration>
+ <!-- Extension used by artifacts in the repository -->
+ <extension>swc</extension>
+ <!-- Type used when specifying dependencies -->
+ <type>swc</type>
+ <!-- Type used when specifying the packaging of an artifact -->
+ <packaging>swc</packaging>
+ </configuration>
+ </component>
+ <component>
+ <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
+ <role-hint>swf</role-hint>
+ <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
+ <configuration>
+ <extension>swf</extension>
+ <type>swf</type>
+ <packaging>swf</packaging>
+ </configuration>
+ </component>
+ </components>
+</component-set>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/plugins/maven-mavenizer-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-mavenizer-plugin/pom.xml b/flex-maven-tools/maven-flex-plugin/plugins/maven-mavenizer-plugin/pom.xml
new file mode 100644
index 0000000..c4d3371
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-mavenizer-plugin/pom.xml
@@ -0,0 +1,75 @@
+<?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-mavenizer-plugin</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>maven-plugin</packaging>
+
+ <name>Maven-Flex-Plugin / Plugins / flex-mavenizer-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.plugin-tools</groupId>
+ <artifactId>maven-plugin-annotations</artifactId>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/plugins/maven-mavenizer-plugin/src/main/java/org/apache/flex/maven/plugins/mavenizer/MavenizerMojo.java
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/maven-mavenizer-plugin/src/main/java/org/apache/flex/maven/plugins/mavenizer/MavenizerMojo.java b/flex-maven-tools/maven-flex-plugin/plugins/maven-mavenizer-plugin/src/main/java/org/apache/flex/maven/plugins/mavenizer/MavenizerMojo.java
new file mode 100644
index 0000000..f2abad4
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/maven-mavenizer-plugin/src/main/java/org/apache/flex/maven/plugins/mavenizer/MavenizerMojo.java
@@ -0,0 +1,41 @@
+/*
+ * 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.mavenizer;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugins.annotations.LifecyclePhase;
+import org.apache.maven.plugins.annotations.Mojo;
+import org.apache.maven.plugins.annotations.Parameter;
+
+import java.io.File;
+
+@Mojo(name = "mavenizer",
+ defaultPhase = LifecyclePhase.NONE,
+ threadSafe = false)
+public class MavenizerMojo extends AbstractMojo {
+
+ @Parameter(property = "org.apache.flex.sdk-home-dir", readonly = true, required = true)
+ protected File sdkHomeDirectory;
+
+ @Parameter(property = "settings.localRepository", readonly = true, required = true)
+ protected String localRepository;
+
+ public void execute() {
+ System.out.println("Installing FDK from " + sdkHomeDirectory + " to " + localRepository);
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/plugins/pom.xml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/plugins/pom.xml b/flex-maven-tools/maven-flex-plugin/plugins/pom.xml
new file mode 100644
index 0000000..d01e664
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/plugins/pom.xml
@@ -0,0 +1,46 @@
+<?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</groupId>
+ <artifactId>flex-plugin-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.flex.plugins</groupId>
+ <artifactId>plugins</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <name>Maven-Flex-Plugin / Plugins</name>
+
+ <modules>
+ <!-- Plugin for actually performing the flex builds -->
+ <module>maven-flex-plugin</module>
+ <!-- Plugin for generating the maven artifacts for performing flex maven builds -->
+ <module>maven-mavenizer-plugin</module>
+ </modules>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/pom.xml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/pom.xml b/flex-maven-tools/maven-flex-plugin/pom.xml
new file mode 100644
index 0000000..e17e247
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/pom.xml
@@ -0,0 +1,127 @@
+<?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>
+
+ <groupId>org.apache.flex</groupId>
+ <artifactId>flex-plugin-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <name>Maven-Flex-Plugin (Parent)</name>
+ <description>Maven plugin to allow building of artifacts using Apache Flex</description>
+ <url>http://incubator.apache.org/flex/</url>
+ <inceptionYear>2012</inceptionYear>
+
+ <organization>
+ <name>The Apache Software Foundation</name>
+ <url>http://apache.org/</url>
+ </organization>
+
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ </license>
+ </licenses>
+
+ <developers>
+ <developer>
+ <id>cdutz</id>
+ <name>Chrisotfer Dutz</name>
+ <email>cdutz@apache.org</email>
+ <roles>
+ <role>developer</role>
+ </roles>
+ <timezone>+1</timezone>
+ </developer>
+ </developers>
+
+ <scm>
+ <connection>
+ scm:svn:https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/maven-flex-plugin
+ </connection>
+ <developerConnection>
+ scm:svn:https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/maven-flex-plugin
+ </developerConnection>
+ <url>https://svn.apache.org/repos/asf/incubator/flex/utilities/trunk/maven-flex-plugin</url>
+ </scm>
+
+ <properties>
+ <project.encoding>UTF-8</project.encoding>
+ <project.build.sourceEncoding>${project.encoding}</project.build.sourceEncoding>
+ <jdk.version>1.6</jdk.version>
+ <maven.version>3.0.4</maven.version>
+ </properties>
+
+ <modules>
+ <module>plugins</module>
+ <module>components</module>
+ <module>testsuite</module>
+ </modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ <encoding>${project.encoding}</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <encoding>${project.encoding}</encoding>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>${maven.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>${maven.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven.plugin-tools</groupId>
+ <artifactId>maven-plugin-annotations</artifactId>
+ <version>3.2</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/testsuite/pom.xml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/testsuite/pom.xml b/flex-maven-tools/maven-flex-plugin/testsuite/pom.xml
new file mode 100644
index 0000000..9283f88
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/testsuite/pom.xml
@@ -0,0 +1,39 @@
+<?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</groupId>
+ <artifactId>flex-plugin-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.flex.testsuite</groupId>
+ <artifactId>testsuite</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <name>Maven-Flex-Plugin / Testsuite</name>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swc/pom.xml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swc/pom.xml b/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swc/pom.xml
new file mode 100644
index 0000000..6dd000f
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swc/pom.xml
@@ -0,0 +1,45 @@
+<?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>
+
+ <groupId>org.apache.flex.testsuite</groupId>
+ <artifactId>flex.general.simple-swc</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-flex-plugin</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <useLegacyCompiler>false</useLegacyCompiler>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swc/src/main/flex/Main.mxml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swc/src/main/flex/Main.mxml b/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swc/src/main/flex/Main.mxml
new file mode 100644
index 0000000..c1d1f3b
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swc/src/main/flex/Main.mxml
@@ -0,0 +1,23 @@
+<?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">
+ <s:Label text="Hello World!"/>
+</s:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swf/pom.xml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swf/pom.xml b/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swf/pom.xml
new file mode 100644
index 0000000..0b8722d
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swf/pom.xml
@@ -0,0 +1,45 @@
+<?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>
+
+ <groupId>org.apache.flex.testsuite</groupId>
+ <artifactId>flex.general.simple-swf</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-flex-plugin</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <useLegacyCompiler>false</useLegacyCompiler>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swf/src/main/flex/Main.mxml
----------------------------------------------------------------------
diff --git a/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swf/src/main/flex/Main.mxml b/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swf/src/main/flex/Main.mxml
new file mode 100644
index 0000000..c1d1f3b
--- /dev/null
+++ b/flex-maven-tools/maven-flex-plugin/testsuite/projects/concepts/flex/general/simple-swf/src/main/flex/Main.mxml
@@ -0,0 +1,23 @@
+<?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">
+ <s:Label text="Hello World!"/>
+</s:Application>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/components/api/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/components/api/pom.xml b/maven-flex-plugin/components/api/pom.xml
deleted file mode 100644
index e153d2f..0000000
--- a/maven-flex-plugin/components/api/pom.xml
+++ /dev/null
@@ -1,46 +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.components</groupId>
- <artifactId>components</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.flex.components</groupId>
- <artifactId>api</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <name>Maven-Flex-Plugin / Components / API</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-core</artifactId>
- </dependency>
- </dependencies>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java b/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java
deleted file mode 100644
index 8de3e0c..0000000
--- a/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/compiler/Compiler.java
+++ /dev/null
@@ -1,25 +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.maven.project.MavenProject;
-
-public interface Compiler {
-
- void compile(MavenProject project);
-
-}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java b/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java
deleted file mode 100644
index 89ba054..0000000
--- a/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/generator/Generator.java
+++ /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.
- */
-package org.apache.flex.maven.plugins.flex.generator;
-
-public interface Generator {
-}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java b/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java
deleted file mode 100644
index 0ccd766..0000000
--- a/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/optimizer/Optimizer.java
+++ /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.
- */
-package org.apache.flex.maven.plugins.flex.optimizer;
-
-public interface Optimizer {
-}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java b/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java
deleted file mode 100644
index 11ea9c3..0000000
--- a/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/packager/Packager.java
+++ /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.
- */
-package org.apache.flex.maven.plugins.flex.packager;
-
-public interface Packager {
-}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java b/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java
deleted file mode 100644
index 3fda4d3..0000000
--- a/maven-flex-plugin/components/api/src/main/java/org/apache/flex/maven/plugins/flex/test/Test.java
+++ /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.
- */
-package org.apache.flex.maven.plugins.flex.test;
-
-public interface Test {
-}
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/components/compiler/compiler-asdoc/pom.xml
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/components/compiler/compiler-asdoc/pom.xml b/maven-flex-plugin/components/compiler/compiler-asdoc/pom.xml
deleted file mode 100644
index 9ee41fc..0000000
--- a/maven-flex-plugin/components/compiler/compiler-asdoc/pom.xml
+++ /dev/null
@@ -1,74 +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.components</groupId>
- <artifactId>compiler</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </parent>
-
- <groupId>org.apache.flex.components</groupId>
- <artifactId>compiler-asdoc</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <name>Maven-Flex-Plugin / Components / Compiler / ASDoc</name>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.codehaus.plexus</groupId>
- <artifactId>plexus-component-metadata</artifactId>
- <version>1.5.5</version>
- <executions>
- <execution>
- <id>process-classes</id>
- <goals>
- <goal>generate-metadata</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.flex.components</groupId>
- <artifactId>api</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.apache.maven</groupId>
- <artifactId>maven-plugin-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.apache.maven.plugin-tools</groupId>
- <artifactId>maven-plugin-annotations</artifactId>
- <scope>compile</scope>
- </dependency>
- </dependencies>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/bfa34a48/maven-flex-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java
----------------------------------------------------------------------
diff --git a/maven-flex-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java b/maven-flex-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java
deleted file mode 100644
index 1e3fc2c..0000000
--- a/maven-flex-plugin/components/compiler/compiler-asdoc/src/main/java/org/apache/flex/maven/plugins/flex/compiler/asdoc/AsdocCompilerImpl.java
+++ /dev/null
@@ -1,31 +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.asdoc;
-
-import org.apache.flex.maven.plugins.flex.compiler.Compiler;
-import org.apache.maven.project.MavenProject;
-import org.codehaus.plexus.component.annotations.Component;
-
-@Component(role = Compiler.class, hint = "asdoc")
-public class AsdocCompilerImpl implements Compiler {
-
- @Override
- public void compile(MavenProject project) {
- System.out.println("Executing compile: Asdoc");
- }
-
-}