[ http://jira.codehaus.org/browse/MNG-1231?page=comments#action_64934 ] 

David Boden commented on MNG-1231:
----------------------------------

This user's problem was probably due to the fact that it's not clear in the 
documentation that you have to have a maven-metadata.xml file in your remote 
repository to describe the plugins like this one:

http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-metadata.xml

This also has to have a corresponding .sha1 hash file, even if you use the -c 
option.

I've got my plugin working from my repository. However:
m2 -DupdateReleaseInfo=true install
just doesn't work for me. I get the maven-metadata-local.xml file generated, 
but Maven doesn't look at it when it's doing the build. For the settings.xml 
<pluginGroup/> to work, you have to have downloaded the plugin from a remote 
repository.

> pluginGroups ignored in settings.xml
> ------------------------------------
>
>          Key: MNG-1231
>          URL: http://jira.codehaus.org/browse/MNG-1231
>      Project: Maven 2
>         Type: Bug

>   Components: Plugins and Lifecycle
>     Versions: 2.0 (RC)
>  Environment: Solaris 8
> JDK 1.5
>     Reporter: Kevin McNamee
>     Assignee: Brett Porter

>
>
> Following the example in
> http://www.codehaus.org/~jvanzyl/maven2/guides/plugin/guide-java-plugin-development.html
> the plugin group "sample.plugin" is completely ignored in the settings.xml.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to