ok, if you are using maven 2.0.9 that should have javadoc locked down
to 2.4
thus if you have not specified the version it should tell you that you
can upgrade from 2.4->2.5
it should also tell you that you have not specified the plugin version
for javadoc and (here's the bug) that the current version you are
using is 2.4
that's the functionality that it should provide: ie if you or your
parent projects do not specify a version and you are relying on the
super pom to lock the version, we should tell you that the version is
unspecified
if a parent pom has locked the version we will not tell you about
updates (as running the mojo on the parent should do that)
as the vote has passed I'll raise an issue w.r.t. this once I move
versions out of the sandbox
Sent from my iPod
On 30 Aug 2008, at 20:47, "Stephen Connolly" <[EMAIL PROTECTED]
> wrote:
I'll have a look on monday
On Sat, Aug 30, 2008 at 8:45 PM, Vincent Massol <[EMAIL PROTECTED]>
wrote:
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.