Stephen,
Thanks that fixed it!
However there's another problem. When I ran it again I got:
[INFO] The following plugin updates are available:
[INFO] maven-javadoc-plugin .....................................
2.4 -> 2.5
[INFO]
[WARNING] The following plugins do not have their version specified:
[WARNING] maven-javadoc-
plugin ......................................... 2.5
[WARNING] maven-project-info-reports-
plugin ............................ 2.1
[INFO]
It says that the javadoc plugin doesn't have its version specified but
it has as it's reported above.
Any idea?
Thanks
-Vincent
On Aug 30, 2008, at 9:17 PM, Stephen Connolly wrote:
Vincent
Hopefully fixed in rev 7522
On Fri, Aug 29, 2008 at 9:21 PM, Vincent Massol <[EMAIL PROTECTED]>
wrote:
Hi Stephen,
This looks really useful. However it worked on one module I tried it
on and failed on another one with this error:
[DEBUG] Configuring mojo 'org.codehaus.mojo:versions-maven-plugin:
1.0.0-alpha-1-SNAPSHOT:display-plugin-updates' -->
[DEBUG] (f) localRepository = [local] -> file:///Users/vmassol/.m2/repository
[DEBUG] (s) project = MavenProject: com.xpn.xwiki.platform:xwiki-
core:1.6-SNAPSHOT @ /Users/vmassol/dev/xwiki/trunks/platform/core/
xwiki-core/pom.xml
[DEBUG] (f) reactorProjects = [MavenProject:
com.xpn.xwiki.platform:xwiki-core:1.6-SNAPSHOT @ /Users/vmassol/dev/
xwiki/trunks/platform/core/xwiki-core/pom.xml]
[DEBUG] (f) remoteRepositories = [[apache.snapshots] -> http://people.apache.org/maven-snapshot-repository
, [xwiki-externals] -> http://maven.xwiki.org/externals, [xwiki-
releases] -> http://maven.xwiki.org/releases, [xwiki-snapshots] -> http://maven.xwiki.org/snapshots
, [central] -> http://repo1.maven.org/maven2]
[DEBUG] -- end configuration --
[INFO] [versions:display-plugin-updates]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] null
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NullPointerException
at org.codehaus.mojo.versions.DisplayPluginUpdatesMojo
$1.compare(DisplayPluginUpdatesMojo.java:65)
at java.util.TreeMap.compare(TreeMap.java:1093)
at java.util.TreeMap.put(TreeMap.java:465)
at java.util.TreeSet.add(TreeSet.java:210)
at
java.util.AbstractCollection.addAll(AbstractCollection.java:318)
at java.util.TreeSet.addAll(TreeSet.java:258)
at
org
.codehaus
.mojo
.versions
.DisplayPluginUpdatesMojo.execute(DisplayPluginUpdatesMojo.java:71)
at
org
.apache
.maven
.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
451)
The module that failed can be found here if it helps:
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/
Thanks
-Vincent
On Aug 28, 2008, at 1:03 PM, Stephen Connolly wrote:
Hi Everyone,
The versions-maven-plugin is currently in the *sandbox*.
This is the first step for a future 1.0.0-alpha-1 release
http://mojo.codehaus.org/versions-maven-plugin
Please vote for the *promotion* of versions-maven-plugin out of the *
sandbox*:
+1 [ move out]
0 [ ]
-1 [stay in sandbox ]
The vote is open for at least 72 hours.