You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Thiessen, Todd (Todd)" <tt...@avaya.com> on 2011/06/30 16:24:25 UTC

Copying a SNAPSHOT dependency using the dependency plugin

When copying a SNAPSHOT dependency using the dependency plugin I have inconsistent behavior regarding how the copied dependency is named.  Sometimes, the dependency has the name SNAPSHOT. Other times it puts in the timestamp.

I am currently debugging to try and get to more information but I have not found too much information online regarding this yet. I thought I would ask the general community here to see if anyone has seen this and may have a nugget of information for me.

Using maven 2.2.1.

Re: Copying a SNAPSHOT dependency using the dependency plugin

Posted by Jörg Schaible <jo...@scalaris.com>.
Hi Todd,

Thiessen, Todd (Todd) wrote:

> When copying a SNAPSHOT dependency using the dependency plugin I have
> inconsistent behavior regarding how the copied dependency is named. 
> Sometimes, the dependency has the name SNAPSHOT. Other times it puts in
> the timestamp.
> 
> I am currently debugging to try and get to more information but I have not
> found too much information online regarding this yet. I thought I would
> ask the general community here to see if anyone has seen this and may have
> a nugget of information for me.
> 
> Using maven 2.2.1.

The difference is caused by a different origin of the SNAPSHOT. If you've 
built it yourself, it is SNAPSHOT, if you've downloaded it from a remote 
repo, it has a timestamp. However, this is a nasty problem, since it also 
occurs if you add a classpath to the manifest (quite normal for EJBs).

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org