Maven Flex Plugin

The Maven - Flex plugin is a Maven 2 plugin designed to enable continuous integration for Adobe Flex libraries and applications, and to benefit of the power of Apache Maven.

Goals Overview

The plugin enables you to build libraries, Flex applications, and perform unit tests. Each of the goals below is linked to a standard life cycle phase, such as : package, test, install and deploy .

  • flex:makeswc allows you to build a SWC artifact (library). You can use the package goal as a shortcut, defining swc as the packaging into you POM file.
  • flex:makeswf allows you to build a SWF artifact (application). You can use the package goal as a shortcut, defining swf as the packaging into you POM file.
  • flex:installswc allows you to install a SWC artifact (library) to your local Maven repository. You can use the install goal as a shortcut, defining swc as the packaging into you POM file.
  • flex:installswf allows you to install a SWF artifact (application) to your local Maven repository. You can use the install goal as a shortcut, defining swf as the packaging into you POM file.
  • flex:deployswc allows you to deploy a SWC artifact (library) to your remote Maven repository. You can use the deploy goal as a shortcut, defining swc as the packaging into you POM file.
  • flex:deployswf allows you to deploy a SWF artifact (application) to your remote Maven repository. You can use the deploy goal as a shortcut, defining swf as the packaging into you POM file.
  • flex:asdoc allows you to build API Documentation.
  • flex:asdoc-aggregate allows you to build API Documentation for aggregator (multi-modules) projects.
  • flex:eclipse allows you to generate FlexBuilder / Eclipse files for use with a project.

Usage

General instructions on how to use the plugin can be found on the usage page .

If you still have questions regarding the plugin, please have a look at the FAQ .

If you think some features from the plugin are missing or it has a defect, you can fill a feature request or bug report in our issue tracker . When creating a new issue, please tell more about your concern. Especially for fixing bugs it is crucial that the developers can reproduce your problem. For this reason, entire debug logs, POMs or most preferably little demo projects attached to the issue are very much appreciated. Of course, patches are welcome, too. Contributors can check out the project from our source repository and will find additional information in the guide to helping with Maven .

Notes

Backward Compatibility : the plugin performs compilation using Flex SDK 3.x compiler API. There are known bugs when compiling Flex 2 applications when using this Flex compiler. You should use former releases of the plugin to compile such applications.