Hello,

I have installed a snapshot of JSF JARS in my own repository including the sources. I don't manage to let Maven download the sources for those JARS while other JARS, which are only proxied work. I tried to compare the poms in the remote repository, but didn't find out what is wrong. May be you have an idea.

The  following command doesn't  download the sources and print only

mvn dependency:resolve -DdownloadSources=true
[INFO] The following files have been resolved:
[INFO]    javax.faces:jsf-api:jar:2.0-SNAPSHOT:compile
[INFO]    javax.faces:jsf-impl:jar:2.0-SNAPSHOT:compile
[INFO]    junit:junit:jar:4.3:test


mvn dependency:sources
[INFO] The following files have been resolved:
[INFO]    none
[INFO]
[INFO] The following files where skipped:
[INFO]    javax.faces:jsf-api:java-source:sources:2.0-SNAPSHOT
[INFO]    javax.faces:jsf-impl:java-source:sources:2.0-SNAPSHOT
[INFO]    junit:junit:java-source:sources:4.3

Further information
mvn -version
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_15
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: de_DE, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.1" arch: "x86_64" Family: "mac"

The remote repository has the following files:
javax/faces/jsf-api/2.0-SNAPSHOT/jsf-api-2.0-SNAPSHOT.jar
javax/faces/jsf-api/2.0-SNAPSHOT/jsf-api-2.0-SNAPSHOT-sources.jar
javax/faces/jsf-api/2.0-SNAPSHOT/jsf-api-2.0-SNAPSHOT.pom
<?xml version="1.0" encoding="UTF-8"?>
<project>
 <modelVersion>4.0.0</modelVersion>
 <groupId>javax.faces</groupId>
 <artifactId>jsf-api</artifactId>
 <version>2.0-SNAPSHOT</version>
 <description>Artifactory auto generated POM</description>
</project>


--
Best Regards / Viele Grüße

Sebastian Hennebrueder
-----
Software Developer and Trainer for Hibernate / Java Persistence
http://www.laliluna.de




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

Reply via email to