Goals available for this plugin:
Goal | Description |
---|---|
archetype:generate | Generates sample project from archetype. |
archetype:update-local-catalog | Updates the local catalog |
archetype:help | Display help information on 'org.apache.maven.plugins:maven-archetype-plugin' plugin. Call 'mvn archetype:help -Ddetail=true' to display all details. |
archetype:create | Deprecated. The archetype creation goal looks for an archetype with a given groupId, artifactId, and version and retrieves it from the remote repository. Once the archetype is retrieved, it is then processed against a set of user parameters to create a working Maven project. |
archetype:crawl | Crawl a Maven 2 repository (Filesystem, not HTTP) and creates a catalog file. |
archetype:create-from-project | Creates sample archetype from current project. |
archetype:integration-test | Execute the archetype integration tests. |
archetype:jar | No description. |
archetype:add-archetype-metadata | Inject any plugin-specific artifact metadata to the project's artifact, for subsequent installation and deployment. The first use-case for this is to add the LATEST metadata (which is plugin-specific) for shipping alongside the plugin's artifact. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.4 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You could run 'mvn -up' to get the latest version of this plugin, or 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.apache.maven.plugins<groupId> <artifactId>maven-archetype-plugin<artifactId> <version>2.0-alpha-3<version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.apache.maven.plugins<groupId> <artifactId>maven-archetype-plugin<artifactId> <version>2.0-alpha-3<version> </plugin> ... </plugins> </build> ... </project>