Thanks for your response. Just tested it with maven 2.2.1 and maven 3.0, I 
doesn't work neither.
Do you think it's a problem with the dependency-plugin? I wonder what's the 
criteria is to skip files when using the goal :sources. How does the plugin 
know, if it should skip or not?

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag 
von Anders Hammar
Gesendet: Dienstag, 30. November 2010 09:26
An: Maven Users List
Betreff: Re: maven 3.0.1 doesn't download sources

Are you saying this worked with Maven 3.0?
If not, it could be a problem with either Maven or Artifactory. However, I
do vaguely recall seeing a ticket regarding something similar to this.
Couldn't find it in jira when I searched though.

/Anders

On Tue, Nov 30, 2010 at 08:25, Moser, Christian <[email protected]> wrote:

> Hi
>
>
>
> Maven 3.0.1 and artifactory 2.3.1 with unique (non-unique won't work)
> snapshot repository doesn't UPDATE sources from the repository. Calling
> mvn -U dependency:sources with an empty local repository will resolve
> all sources correctly. After a newer artifact was deployed and the maven
> was called again with mvn -U dependency:sources, the pom and .jar
> archive was updated, but the dependency plugin skips to download the
> newer source files. Why does the plugin refuses to download?
>
> We're using the default -sources classifier.
>
>
>
> Regards,
>
> Christian
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to