maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <>
Subject Re: dependency:list and dependency:build-classpath produce a different version for SNAPSHOTS
Date Fri, 19 Oct 2012 15:19:07 GMT

I've done an equivalent fix for copy-dependencies last week, so I'll do  
the same for build-classpath.
Please check


Op Fri, 19 Oct 2012 16:20:58 +0200 schreef Davide Silvestre  

> Hi,
> I am using version 2.5.1 of the maven-dependency-plugin.
> My project is buiding a zip file containing a set of dependency jars and  
> i am also generating 2 files containing the classpath (generated using  
> dependency:build-classpath) and the list of jars (generated using  
> dependency:list).
> Unfortunately the output for the version is different in case I have  
> SNAPSHOTS: the classpath is generated with the dependencies in the  
> classpath are generated with the full version instead of the SNAPSHOT  
> label (i.e.  
> \\my-jar-2.2-20121019.054848-6.jar<file:///\\my-jar-2.2-20121019.054848-6.jar>),
> but the dependency:list lists the same jars  
> my-group-id:my-jar:jar:2.2-SNAPSHOT:runtime.
> If instead of 2.5.1 then also in the classpath are generated with the  
> SNAPSHOT label instead of the timestamp and build number.
> Is there a way to control this?
> I would like to generate both of them with the long versions  
> (2.2-20121019.054848-6) and not (2.2-SNAPSHOT).
> Davide

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message