Hi,
I tried to use this plugin to check the dependency version updates I
might need for the project.
I use Maven 2.1.0, on WinXP professional, and JDK 1.6.0
I got the following exceptions:
E:\maven-work\main\bsm>mvn versions:dependency-updates-report
[WARNING] Not decrypting password for server
'repo.mobiletv.org-releases' due to
exception in security handler.
Ensure that you have configured your master password file (and
relocation if app
ropriate)
See the installation instructions for details.
Cause: C:\Documents and Settings\subirs.W\.m2\settings-
security.xml (The
sys
tem cannot find the file specified)
[WARNING] Not decrypting password for server
'repo.mobiletv.org-snapshots' due t
o exception in security handler.
Ensure that you have configured your master password file (and
relocation if app
ropriate)
See the installation instructions for details.
Cause: C:\Documents and Settings\subirs.W\.m2\settings-
security.xml (The
sys
tem cannot find the file specified)
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] MBS - utilities
[INFO] BSM - model
[INFO] BSM - GUI Web Application Module
[INFO] BSM - WSI Web Application Module
[INFO] BSM - Welcome Web Application Module
[INFO] BSM - Root
[INFO] Searching repository for plugin with prefix: 'versions'.
[INFO]
------------------------------------------------------------------------
[INFO] Building MBS - utilities
[INFO] task-segment: [versions:dependency-updates-report]
[INFO]
------------------------------------------------------------------------
Downloading:
http://10.150.137.44:8080/artifactory/repo/org/hibernate/hibernate-
core/3.3.2.GA/hibernate-core-3.3.2.GA.pom
[INFO] Unable to find resource
'org.hibernate:hibernate-core:pom:3.3.2.GA' in re
pository central (http://10.150.137.44:8080/artifactory/repo)
Downloading:
http://10.150.137.44:8080/artifactory/repo/org/hibernate/hibernate-
core/3.3.2.GA/hibernate-core-3.3.2.GA.jar
2255K downloaded (hibernate-core-3.3.2.GA.jar)
[INFO] [versions:dependency-updates-report]
[INFO] artifact axis:axis-wsdl4j: checking for updates from central
[INFO] artifact c3p0:c3p0: checking for updates from central
[INFO] artifact c3p0:c3p0-oracle-thin-extras: checking for updates
from
central
[INFO] artifact com.oracle:ojdbc14: checking for updates from
central
[INFO] artifact commons-discovery:commons-discovery: checking for
updates from c
entral
[INFO] artifact commons-fileupload:commons-fileupload: checking for
updates from
central
[INFO] artifact commons-io:commons-io: checking for updates from
central
[INFO] artifact commons-lang:commons-lang: checking for updates from
central
[INFO] artifact commons-logging:commons-logging: checking for
updates
from centr
al
[INFO] artifact javax.activation:activation: checking for updates
from
central
[INFO] artifact javax.mail:mail: checking for updates from central
[INFO] artifact javax.servlet:jsp-api: checking for updates from
central
[INFO] artifact javax.servlet:jstl: checking for updates from
central
[INFO] artifact javax.servlet:servlet-api: checking for updates from
central
[INFO] artifact json_simple:json_simple: checking for updates from
central
[INFO] artifact log4j:log4j: checking for updates from central
[INFO] artifact net.sf.mime-util:mime-util: checking for updates
from
central
[INFO] artifact net.sourceforge.stripes:stripes: checking for
updates
from centr
al
[INFO] artifact org.apache.ant:ant: checking for updates from
central
[INFO] artifact org.apache.axis:axis: checking for updates from
central
[INFO] artifact org.apache.axis:axis-jaxrpc: checking for updates
from
central
[INFO] artifact org.apache.axis:axis-saaj: checking for updates from
central
[INFO] artifact org.apache.maven:jspc-compiler-tomcat6: checking for
updates fro
m central
[INFO] artifact org.apache.maven:maven-archiver: checking for
updates
from centr
al
[INFO] artifact org.apache.maven:maven-artifact: checking for
updates
from centr
al
[INFO] artifact org.apache.maven:maven-project: checking for updates
from centra
l
[INFO] artifact org.apache.tomcat:juli: checking for updates from
central
[INFO] artifact org.apache.tomcat:tribes: checking for updates from
central
[INFO] artifact org.codehaus.mojo:rpm-maven-plugin: checking for
updates
from ce
ntral
[INFO] artifact org.codehaus.mojo.jspc:jspc-compiler-tomcat6:
checking
for updat
es from central
[INFO] artifact org.hibernate:hibernate-core: checking for updates
from
central
[INFO] artifact org.testng:testng: checking for updates from central
[INFO] artifact session-plugin3:session-plugin3: checking for
updates
from centr
al
[INFO] artifact taglibs:standard: checking for updates from central
[FATAL ERROR]
org.codehaus.mojo.versions.DependencyUpdatesReport#execute() cause
d a linkage error (java.lang.NoSuchMethodError) and may be out-of-
date.
Check th
e realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.codehaus.mojo:versions-mav
en-plugin:1.0]
urls[0] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/codeha
us/mojo/versions-maven-plugin/1.0/versions-maven-plugin-1.0.jar
urls[1] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/codeha
us/plexus/plexus-utils/1.5.1/plexus-utils-1.5.1.jar
urls[2] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apache
/maven/reporting/maven-reporting-impl/2.0.4.1/maven-reporting-
impl-2.0.4
.1.jar
urls[3] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/commons-va
lidator/commons-validator/1.2.0/commons-validator-1.2.0.jar
urls[4] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/commons-be
anutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
urls[5] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/commons-lo
gging/commons-logging/1.0.4/commons-logging-1.0.4.jar
urls[6] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/commons-di
gester/commons-digester/1.6/commons-digester-1.6.jar
urls[7] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/commons-co
llections/commons-collections/3.2/commons-collections-3.2.jar
urls[8] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/oro/oro/2.
0.8/oro-2.0.8.jar
urls[9] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apache
/maven/doxia/doxia-core/1.0-alpha-10/doxia-core-1.0-alpha-10.jar
urls[10] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apach
e/maven/doxia/doxia-site-renderer/1.0/doxia-site-renderer-1.0.jar
urls[11] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/codeh
aus/plexus/plexus-i18n/1.0-beta-7/plexus-i18n-1.0-beta-7.jar
urls[12] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/codeh
aus/plexus/plexus-velocity/1.1.7/plexus-velocity-1.1.7.jar
urls[13] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apach
e/velocity/velocity/1.5/velocity-1.5.jar
urls[14] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/commons-l
ang/commons-lang/2.1/commons-lang-2.1.jar
urls[15] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apach
e/maven/doxia/doxia-decoration-model/1.0/doxia-decoration-
model-1.0.jar
urls[16] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apach
e/maven/doxia/doxia-module-apt/1.0/doxia-module-apt-1.0.jar
urls[17] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apach
e/maven/doxia/doxia-module-fml/1.0/doxia-module-fml-1.0.jar
urls[18] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apach
e/maven/doxia/doxia-module-xdoc/1.0/doxia-module-xdoc-1.0.jar
urls[19] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apach
e/maven/doxia/doxia-module-xhtml/1.0/doxia-module-xhtml-1.0.jar
urls[20] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apach
e/maven/shared/maven-common-artifact-filters/1.2/maven-common-
artifact-f
ilters-1
.2.jar
urls[21] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/apach
e/maven/shared/maven-plugin-testing-harness/1.1/maven-plugin-
testing-har
ness-1.1
.jar
urls[22] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/codeh
aus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-
alpha-7.jar
urls[23] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/org/codeh
aus/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.jar
urls[24] = file:/C:/Documents and
Settings/subirs.W/.m2/repository/stax/stax
-api/1.0.1/stax-api-1.0.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/D:/apache-maven-2.1.0/lib/maven-2.1.0-uber.jar
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO]
org
.apache
.maven.doxia.module.xhtml.XhtmlSink.writeEndTagWithoutEOL(Ljav
a
x/swing/text/html/HTML$Tag;)V
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoSuchMethodError:
org.apache.maven.doxia.module.xhtml.XhtmlSink.write
EndTagWithoutEOL(Ljavax/swing/text/html/HTML$Tag;)V
at
org.apache.maven.doxia.module.xhtml.XhtmlSink.bold_(XhtmlSink.java:
11
14)
at
org
.codehaus.mojo.versions.AbstractVersionsReportRenderer.renderDepen
dencySummaryTableRow(AbstractVersionsReportRenderer.java:197)
at
org
.codehaus.mojo.versions.AbstractVersionsReportRenderer.renderDepen
dencySummaryTable(AbstractVersionsReportRenderer.java:447)
at
org
.codehaus.mojo.versions.AbstractVersionsReportRenderer.renderDepen
dencySummaryTable(AbstractVersionsReportRenderer.java:436)
at
org
.codehaus.mojo.versions.DependencyUpdatesRenderer.renderSummaryTab
le(DependencyUpdatesRenderer.java:110)
at
org
.codehaus.mojo.versions.DependencyUpdatesRenderer.renderBody(Depen
dencyUpdatesRenderer.java:72)
at
org
.apache.maven.reporting.AbstractMavenReportRenderer.render(Abstrac
tMavenReportRenderer.java:65)
at
org
.codehaus.mojo.versions.DependencyUpdatesReport.doGenerateReport(D
ependencyUpdatesReport.java:92)
at
org
.codehaus.mojo.versions.AbstractVersionsReport.executeReport(Abstr
actVersionsReport.java:248)
at
org
.apache.maven.reporting.AbstractMavenReport.generate(AbstractMaven
Report.java:90)
at
org
.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenR
eport.java:65)
at
org
.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:483)
at
org
.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:678)
at
org
.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:553)
at
org
.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:523)
at
org
.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:371)
at
org
.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:332)
at
org
.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:181)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:
430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 42 seconds
[INFO] Finished at: Mon Aug 24 13:36:18 IST 2009
[INFO] Final Memory: 18M/254M
[INFO]
------------------------------------------------------------------------
E:\maven-work\main\bsm>
-----Original Message-----
From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com]
Sent: Monday, August 24, 2009 4:11 AM
To: u...@mojo.codehaus.org; Maven Users List; d...@mojo.codehaus.org
Subject: [ANN] Versions Maven Plugin 1.0 released
The Mojo team is pleased to announce the release of the Versions
Maven
Plugin, version 1.0.
The Versions Plugin has the following goals.
* versions:display-dependency-updates scans a project's
dependencies and produces a report of those dependencies which have
newer versions available.
* versions:display-plugin-updates scans a project's plugins and
produces a report of those plugins which have newer versions
available.
* versions:display-property-updates scans a projectand produces a
report of those properties which are used to control artifact
versions
and which properies have newer versions available.
* versions:update-parent updates the parent section of a project
so that it references the newest available version. For example, if
you use a corporate root POM, this goal can be helpful if you need
to
ensure you are using the latest version of the corporate root POM.
* versions:update-properties updates properties defined in a
project so that they correspond to the latest available version of
specific dependencies. This can be useful if a suite of dependencies
must all be locked to one version.
* versions:update-child-modules updates the parent section of the
child modules of a project so the version matches the version of the
current project. For example, if you have an aggregator pom that is
also the parent for the projects that it aggregates and the children
and parent versions get out of sync, this mojo can help fix the
versions of the child modules. (Note you may need to invoke Maven
with
the -N option in order to run this goal if your project is broken so
badly that it cannot build because of the version mis-match).
* versions:lock-snapshots searches the pom for all -SNAPSHOT
versions and replaces them with the current timestamp version of
that
-SNAPSHOT, e.g. -20090327.172306-4
* versions:unlock-snapshots searches the pom for all timestamp
locked snapshot versions and replaces them with -SNAPSHOT.
* versions:resolve-ranges finds dependencies using version ranges
and resolves the range to the specific version being used.
* versuibs:set can be used to set the project version from the
command line.
* versions:use-releases searches the pom for all -SNAPSHOT
versions which have been released and replaces them with the
corresponding release version.
* versions:use-next-releases searches the pom for all non-SNAPSHOT
versions which have been a newer release and replaces them with the
next release version.
* versions:use-latest-releases searches the pom for all
non-SNAPSHOT versions which have been a newer release and replaces
them with the latest release version.
* versions:use-next-snapshots searches the pom for all
non-SNAPSHOT versions which have been a newer -SNAPSHOT version and
replaces them with the next -SNAPSHOT version.
* versions:use-latest-snapshots searches the pom for all
non-SNAPSHOT versions which have been a newer -SNAPSHOT version and
replaces them with the latest -SNAPSHOT version.
* versions:use-next-versions searches the pom for all versions
which have been a newer version and replaces them with the next
version.
* versions:use-latest-versions searches the pom for all versions
which have been a newer version and replaces them with the latest
version.
* versions:commit removes the pom.xml.versionsBackup files. Forms
one half of the built-in "Poor Man's SCM".
* versions:revert restores the pom.xml files from the
pom.xml.versionsBackup files. Forms one half of the built-in "Poor
Man's SCM".
The artifacts have been deployed to the mojo repository and have
been
mirrored to central.
The Mojo Team.
Release Notes - Maven 2.x Versions Plugin - Version 1.0
** Bug
* [MVERSIONS-38] - Rulessets are not correctly loaded from http
uri's
* [MVERSIONS-39] - update-properties throws NPE if a property is
configured for updating but is not defined in the pom
* [MVERSIONS-44] - versions:set Fails for Projects with No
Dependencies
* [MVERSIONS-45] - use-latest-versio ignores the allowSnapshots
bug
* [MVERSIONS-46] - IT it-display-dependency-updates-report-001
fails
* [MVERSIONS-47] - IT it-display-plugin-updates-004 fails
* [MVERSIONS-48] - IT it-update-properties-004 fails
* [MVERSIONS-49] - IT it-update-properties-005 fails
* [MVERSIONS-50] - remove the display-dependency-updates-report
and replace with dependency-updates-report
* [MVERSIONS-59] - versions:display-plugin-updates fails
* [MVERSIONS-60] - NPE in versions:dependency-updates-report
* [MVERSIONS-61] - it-dependency-updates-report-001 fails
* [MVERSIONS-62] - it-plugin-updates-report-001 fails
* [MVERSIONS-63] - it-update-properties-005 fails
** Improvement
* [MVERSIONS-23] - Add possibility to include dependencymanagement
in DisplayDependencyUpdates
* [MVERSIONS-40] - [update-child-modules] Recursively process the
whole hierarchy
* [MVERSIONS-57] - Refactor display-dependency-updates to use the
dependency-updates-report back-end and just format the results for
the
CLI
* [MVERSIONS-65] - Update documentation to reflect new mojos and
reports
** New Feature
* [MVERSIONS-9] - check for released versions of SNAPSHOT
dependencies
* [MVERSIONS-29] - use-next-snapshots
* [MVERSIONS-43] - Add a mojo to set the project version
* [MVERSIONS-52] - Add the possibility to use version range in
includes/excludes filters on use-latest-releases
* [MVERSIONS-53] - plugin-updates-report
* [MVERSIONS-56] - property-updates-report
* [MVERSIONS-64] - display-property-updates mojo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any
attachments