Wayne Fay wrote:
I have a variety of dependencies declared in my largish J2EE project
and I'm wondering if perhaps there's a plugin or something available
that would run out to the Maven repo, check my declared dependencies
and versions against those available in the repo, and let me know
which ones seem to have updates available.

Ideally it would produce a list like:

groupId/artifactId --- my declared version -- other versions available
xml-apis/xml-apis: 1.0.b2 [1.3.02, 1.3.03, 1.3.04]
org.codehaus.woodstox/wstx-asl: 3.0.0 [3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.1.1, 3.2.0]
etc

Obviously I can do this myself manually (and I do now and then) but it
would be nice if this was available in an easy to use plugin available
from the command line. I don't necessarily always want to use the
latest and greatest version of all my dependencies, but if I've
declared 3.0.0 and a new version 3.0.4 is available (with bugfixes
etc) then I should probably know about it, test my app to make it
doesn't break anything, and plan to include it in a future version of
my app.

If it doesn't already exist, I'll have to start looking into
implementing this myself, I suppose.

Wayne

Hi Wayne,

This is an interesting idea. At my day job we have something like this for our ant builds. After every release build a report is generated which shows, among other things, precisely this. It is currently text based and looks like this:

-----------------------------------------------------------------
Product XYZ is not using the latest version of these dependencies
-----------------------------------------------------------------
Dependency                         Used     Latest
-----------------------------------------------------------------
jakarta-commons-logging.jar        1.0.4    1.1
junit.jar                          3.8.1    3.8.2


Perhaps I can use some of this reporting code and turn it into a plugin.

--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to