Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

How to install the plugin ?

This plugin isn't bundled in the maven 1 distribution thus you have deploy it in your local installation of maven 1, or you have to define it in your project dependencies (RECOMMENDED).

We suppose that CURRENT_VERSION is the version of the plugin you want to use. The changes report gives you the list of versions actually available.

If you want to use a SNAPSHOT of this plugin, you'll certainly have to add the following remote repositories in your settings (property maven.repo.remote) :

  • http://snapshots.dist.codehaus.org/modello/ : To acquire snapshots of modello.
  • http://people.apache.org/repo/m1-snapshot-repository/ : To acquire snapshots of the modello plugin for m1.

In your maven installation

To install it locally, you just have to launch this command :

maven plugin:download -DgroupId=maven -DartifactId=maven-modello-plugin -Dversion=CURRENT_VERSION

You have to do it on all installations of maven 1 which will be used to build your project.

In a given project

You can easily ask to maven to download/install/use this plugin in your project. You just have to add in your project POM a dependency to this plugin :

<dependency>
  <groupId>maven</groupId>
  <artifactId>maven-modello-plugin</artifactId>
  <version>CURRENT_VERSION</version>
  <type>plugin</type>
</dependency>