Have you tried removing your entire local repo? That seems to fix lots of problems...
Steve ertnutler wrote: > I've read through and followed this: > http://maven.apache.org/guides/introduction/introduction-to-plugin-prefix-mapping.html > > I have a custom plugin whose groupId I've configured in a custom pluginGroup > in my <m2_home>/conf/settings.xml like so: > > <pluginGroups> > <pluginGroup>com.mycompany.maven.plugin</pluginGroup> > </pluginGroups> > > In the generated plugin.xml, I have <goalPrefix>promotion</goalPrefix> and > <goal>promote</goal>. The problem is that unless I install this file to my > local repo by building it locally, I can't use the shorthand notation to > invoke it. In other words, when I install the plugin to my local repo, this > command works fine: > > mvn promotion:promote > > But when I delete the artifact from my local repo and run the same command, > I get the following output. (Using the fully qualified notation results in > the plugin being invoked as normal, so I know that the plugin is in my > central repo.) > > Here's the relevant output: > > [INFO] Searching repository for plugin with prefix: 'promotion'. > [INFO] com.mycompany.maven.plugin: check for updates from central > [INFO]--------------------------------------------------------------------------- > [ERROR] BUILD ERROR > [INFO]--------------------------------------------------------------------------- > [INFO] The plugin 'org.apache.maven.plugins:maven-promotion-plugin' does not > exist....' > > It appears that the <pluginGroup> is being resolved, but I can't figure out > why Maven doesn't resolve the shorthand unless I install locally. Any > ideas? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]