appfuse:install

Full name:

org.codehaus.mojo:appfuse-maven-plugin:2.1-SNAPSHOT:install

Description:

This mojo is used to "install" generated artifacts (Java files, XML files) into an AppFuse project.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: generate-sources.
  • Invokes the execution of the lifecycle phase compile prior to executing itself.

Optional Parameters

Name Type Since Description
destinationDirectory String - The path where the generated artifacts will be placed. This is intentionally not set to the default location for maven generated sources. This is to keep these files out of the eclipse/idea generated sources directory as the intention is that these files will be copied to a source directory to be edited and modified and not re generated each time the plugin is run. If you want to regenerate the files each time you build the project just set this value to ${basedir}/target/generated-sources or set the flag on eclipse/idea plugin to include this file in your project file as a source directory. Default value is: ${basedir}.
genericCore boolean - (no description) Default value is: true.
sourceDirectory String - The directory containing the source code. Default value is: ${basedir}/target/appfuse/generated-sources.

Parameter Details

destinationDirectory :

The path where the generated artifacts will be placed. This is intentionally not set to the default location for maven generated sources. This is to keep these files out of the eclipse/idea generated sources directory as the intention is that these files will be copied to a source directory to be edited and modified and not re generated each time the plugin is run. If you want to regenerate the files each time you build the project just set this value to ${basedir}/target/generated-sources or set the flag on eclipse/idea plugin to include this file in your project file as a source directory.

  • Type: java.lang.String
  • Required: No
  • Expression: ${appfuse.destinationDirectory}
  • Default: ${basedir}

genericCore :

(no description)

  • Type: boolean
  • Required: No
  • Expression: ${appfuse.genericCore}
  • Default: true

sourceDirectory :

The directory containing the source code.

  • Type: java.lang.String
  • Required: No
  • Expression: ${appfuse.sourceDirectory}
  • Default: ${basedir}/target/appfuse/generated-sources