flex2:compile-swf

Compilation action for Flex2 actionscript 3 classes.

Mojo Attributes :

  • Requires a Maven 2.0 project to execute.
  • Requires dependency resolution of artifacts in scope: runtime
  • Automatically executes within the lifecycle phase: compile

Required Parameters

Name Type Description
finalName String Name of the generated compiled binary file.
flexHome File The directory in which Flex (command-line or builder) is installed.
mainMxmlFile String The main mxml file

Optional Parameters

Name Type Description
classifier String Classifier to add to the artifact generated. If given, the artifact will be an attachment instead.
dataServicesConfig File No description.
debug boolean No description.
extraParameters Parameter[] No description.
flexConfig File The location of the flex configuration file.
incremental boolean No description.
javaOpts String[] These are additional JVM options used when invoking the Flex compiler
licenses License[] No description.
locale String The current locale.
optimize boolean No description.
profile boolean No description.
projectHelper MavenProjectHelper No description.
resolveExtraSwcsFromFlexFrameworksLibs boolean Resolve extra libraries (such as charts or fds) from ${flex.home}/frameworks/libs. Default is false, in which case these (and other) swcs should be deployed as flex artifacts (swcs).
showActionscriptWarnings boolean No description.
showBindingWarnings boolean No description.
showDeprecationWarnings boolean No description.
source File Location of the flex sources.
strict boolean No description.
useNetwork boolean No description.
warnings boolean No description.

Parameter Details

classifier

Classifier to add to the artifact generated. If given, the artifact will be an attachment instead.

  • Type : java.lang.String
  • Required : No

dataServicesConfig

No Description.

  • Type : java.io.File
  • Required : No
  • Expression : ${flex.dataservices.config}

debug

No Description.

  • Type : boolean
  • Required : No
  • Expression : ${flex.compiler.debug}

extraParameters

No Description.

  • Type : net.israfil.mojo.flex2.Parameter[]
  • Required : No
  • Expression : ${flex.extraParameters}

finalName

Name of the generated compiled binary file.

  • Type : java.lang.String
  • Required : Yes
  • Expression : ${project.build.finalName}

flexConfig

The location of the flex configuration file.

  • Type : java.io.File
  • Required : No
  • Expression : ${flex.config}

flexHome

The directory in which Flex (command-line or builder) is installed.

  • Type : java.io.File
  • Required : Yes
  • Expression : ${flex.home}

incremental

No Description.

  • Type : boolean
  • Required : No
  • Expression : ${flex.compiler.incremental}

javaOpts

These are additional JVM options used when invoking the Flex compiler

  • Type : java.lang.String[]
  • Required : No
  • Expression : ${flex.java.options}

licenses

No Description.

  • Type : net.israfil.mojo.flex2.License[]
  • Required : No
  • Expression : ${flex.licenses}

locale

The current locale.

  • Type : java.lang.String
  • Required : No
  • Expression : ${flex.locale}

mainMxmlFile

The main mxml file

  • Type : java.lang.String
  • Required : Yes
  • Expression : ${flex.application.name}

optimize

No Description.

  • Type : boolean
  • Required : No
  • Expression : ${flex.compiler.optimize}

profile

No Description.

  • Type : boolean
  • Required : No
  • Expression : ${flex.compiler.profile}

projectHelper

No Description.

  • Type : org.apache.maven.project.MavenProjectHelper
  • Required : No

resolveExtraSwcsFromFlexFrameworksLibs

Resolve extra libraries (such as charts or fds) from ${flex.home}/frameworks/libs. Default is false, in which case these (and other) swcs should be deployed as flex artifacts (swcs).

  • Type : boolean
  • Required : No

showActionscriptWarnings

No Description.

  • Type : boolean
  • Required : No
  • Expression : ${flex.compiler.show-actionscript-warnings}

showBindingWarnings

No Description.

  • Type : boolean
  • Required : No
  • Expression : ${flex.compiler.show-binding-warnings}

showDeprecationWarnings

No Description.

  • Type : boolean
  • Required : No
  • Expression : ${flex.compiler.show-deprecation-warnings}

source

Location of the flex sources.

  • Type : java.io.File
  • Required : No
  • Expression : ${flex.compiler.source}

strict

No Description.

  • Type : boolean
  • Required : No
  • Expression : ${flex.compiler.strict}

useNetwork

No Description.

  • Type : boolean
  • Required : No
  • Expression : ${flex.compiler.use-network}

warnings

No Description.

  • Type : boolean
  • Required : No
  • Expression : ${flex.compiler.show-warnings}