Dear Wiki user, You have subscribed to a wiki page or wiki category on "Maven Wiki" for change notification.
The following page has been changed by EdwinPark: http://wiki.apache.org/maven/Maven2Info ------------------------------------------------------------------------------ === Various bugfixes and info for getting custom plugins to work === - This information applies to Maven2 beta 3 + This information applies to Maven 2.0 Use the following archetype command to create a starter plugin project: {{{m2 archetype:create -DgroupId=com.mystuff -DartifactId=foo-maven-plugin -DpackageName=com.mystuff.myplugin -DarchetypeArtifactId=maven-archetype-mojo}}} - - Note: The current mojo archetype creates a dependency in the pom.xml for maven-plugin-api version 2.0-beta-1-SNAPSHOT, which does not exist. Change this to 2.0-beta-3. By default, the goal names will be foo:*, based on the artifactId. To use a different prefix, set the prefix configuration parameter for maven-plugin-plugin on your project. @@ -37, +35 @@ {{{m2 install -DupdateReleaseInfo=true}}} - This will add a {{{<release>}}} tag in {{{$HOME/.m2/repository/org/apache/maven/plugins/maven-foo-plugin/maven-metadata-local.xml}}} that matches the {{{<latest>}}} version in the same file. + This will add a {{{<release>}}} tag in {{{$HOME/.m2/repository/com/mystuff/foo-maven-plugin/maven-metadata-local.xml}}} that matches the {{{<latest>}}} version in the same file. (Note: you probably won't need to do the above anymore, the latest maven 2.0 does this automatically on plugin install) Also note that the registered versions of the plugins are kept here: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]