I just committed an improvement to replace this NPE with nice explanation why 
this should never happen if plugin version is used consistently in every build 
phase
see http://svn.apache.org/viewvc?rev=1406480&view=rev

this can help discover what happens on this project which should not

IMHO, this doesn't mean the actual staged version is wrong, but I still didn't 
really tried it on multiple plugins to check: need to decide if they deserve a 
new take

Regards,

Hervé

Le mardi 6 novembre 2012 20:57:40 Kristian Rosenvold a écrit :
> Buiding surefire trunk with -DmavenPluginPluginVersion=3.2, appears to
> be caused by MPLUGIN-227 fix.
> 
> Caused by: java.lang.NullPointerException
>       at java.io.File.<init>(File.java:251)
>       at
> org.apache.maven.tools.plugin.generator.PluginHelpGenerator.rewriteHelpMojo
> (PluginHelpGenerator.java:306) at
> org.apache.maven.tools.plugin.generator.PluginDescriptorGenerator.execute(P
> luginDescriptorGenerator.java:69) at
> org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute(AbstractGenera
> torMojo.java:237) at
> org.apache.maven.plugin.plugin.DescriptorGeneratorMojo.execute(DescriptorGe
> neratorMojo.java:85) at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildP
> luginManager.java:101)
> 
> The staging repo is still up if someone wants to have a look; won't
> have time immediately.
> 
> Kristian
> 
> 2012/11/6 Kristian Rosenvold <[email protected]>:
> > Hi,
> > 
> > We solved 10 issues:
> > http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11139&version=1
> > 8639
> > 
> > There are still a couple of issues left in JIRA:
> > http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=true&pid=11139&s
> > tatus=1
> > 
> > This version of the plugin tool can produce plugins that do not depend
> > on plexus-utils,
> > meaning the plugin can choose not to include plexus-utils.
> > 
> > Staging repo:
> > https://repository.apache.org/content/repositories/maven-027/
> > https://repository.apache.org/content/repositories/maven-027/org/apache/ma
> > ven/plugin-
> > tools/maven-plugin-tools/3.2/maven-plugin-tools-3.2-source-release.zip
> > 
> > Staging site: (sync pending)
> > http://maven.apache.org/plugin-tools-3.2/
> > 
> > Guide to testing staged releases:
> > http://maven.apache.org/guides/development/guide-testing-releases.html
> > 
> > Vote open for 72 hours.
> > 
> > [ ] +1
> > [ ] +0
> > [ ] -1
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

Reply via email to