Plugin Documentation

Goals available for this plugin:

Goal Description
andromdapp:build A Mojo used for executing the build goals from the top level project.
andromdapp:clean-structure Removes the an AndroMDApp generated application structure.
andromdapp:deploy Provides the deployment of applications to a given directory.
andromdapp:eclipse Writes the necessary .classpath and .project files for a new eclipse application.
andromdapp:generate AndroMDA application generator Mojo.
andromdapp:help Display help information on andromdapp-maven-plugin.
Call
  mvn andromdapp:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.
andromdapp:instrument-scripts Allows for the ScriptClassGenerator mojo to be invoked. on one or more given classes.
andromdapp:link Basically post processes a previously built ear and replaces any war artifacts with symbolic links and then symbolic links the ear to the deploy directory so that we don't have to redeploy an ear in order to make jsp changes.
andromdapp:schema Provides the ability to drop database schemas.
andromdapp:undeploy Provides the undeployment of applications from a given directory.

System Requirements

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

Maven 2.0
JDK 1.6
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.andromda.maven.plugins</groupId>
          <artifactId>andromdapp-maven-plugin</artifactId>
          <version>3.5-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.andromda.maven.plugins</groupId>
        <artifactId>andromdapp-maven-plugin</artifactId>
        <version>3.5-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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