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 <c...@metrohm.com> 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 > > > >