Plugin Documentation

Goals available for this plugin:

Goal Report? Description
flexmojos:asdoc No Goal which generates documentation from the ActionScript sources.
flexmojos:asdoc-report Yes Generates documentation for the ActionScript code in the project using the standard Asdoc tool
flexmojos:attach-asdoc No Goal which generates documentation from the ActionScript sources in DITA format.
flexmojos:attach-dita-asdoc No Goal which generates documentation from the ActionScript sources in DITA format.
flexmojos:axdt No Generates AXDT configuration files for SWC and SWF projects.
flexmojos:compile-swc No

Goal which compiles the Flex sources into a library for either Flex or AIR depending.

The Flex Compiler plugin compiles all ActionScript sources. It can compile the source into 'swc' files. The plugin supports the 'swc' packaging.

flexmojos:compile-swf No

Goal which compiles the Flex sources into an application for either Flex or AIR depending on the package type.

The Flex Compiler plugin compiles all ActionScript sources. It can compile the source into 'swf' files. The plugin supports 'swf' packaging.

flexmojos:copy-flex-resources No Goal to copy flex artifacts into war projects.
flexmojos:dita-asdoc No Goal which generates documentation from the ActionScript sources in DITA format.
flexmojos:flexbuilder No Generates Flex Builder configuration files for SWC and SWF projects.
flexmojos:flexcover Yes Instruments, Tests, and Generates a FlexCover Report.
flexmojos:flexcover-run No Goal which runs a Flex project against the FlexCover CoverageViewer
flexmojos:generate No This goal generate actionscript 3 code based on Java classes. It does uses Granite GAS3.
flexmojos:generate-config-swc No Goal which generate the flex-config without compile.
flexmojos:generate-config-swf No Goal which generate the flex-config without compile.
flexmojos:instrument No Goal which instruments a Flex project with FlexCover metadata
flexmojos:instrument-swc No Goal which instruments a Flex project with FlexCover metadata
flexmojos:manifest No No description.
flexmojos:optimize No Goal which run post-link SWF optimization on swc files. This goal is used to produce RSL files.
flexmojos:sign-air No No description.
flexmojos:source-view No No description.
flexmojos:sources No Goal to create a JAR-package containing all the source files of a Flex project.
flexmojos:test-compile No Goal to compile the Flex test sources.
flexmojos:test-run No Goal to run unit tests on Flex. It does support the following frameworks:
  • Adobe Flexunit
  • FUnit
  • asunit
  • advanced flex debug
  • FlexMonkey
flexmojos:test-swc No Build a SWC of the test classes for the current project.
flexmojos:test-swf No Build the SWF including all TEST libraries.
flexmojos:trust No Write a file entry onto flashplayer trust file
flexmojos:wrapper No This goal generate the html wrapper to Flex applications, like what is done by flex builder.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0.9
JDK 1.5
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.sonatype.flexmojos</groupId>
          <artifactId>flexmojos-maven-plugin</artifactId>
          <version>3.5.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.sonatype.flexmojos</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <version>3.5.0</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- To use the report goals in your POM or parent POM -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.sonatype.flexmojos</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <version>3.5.0</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"