[ http://jira.codehaus.org/browse/MNG-2462?page=all ]
John Casey moved MRM-126 to MNG-2462: ------------------------------------- Component/s: (was: repository interface) Artifacts and Repositories Complexity: Intermediate Key: MNG-2462 (was: MRM-126) Project: Maven 2 (was: Maven Repository Manager) > Using Maven 1.x Legacy Repository Layout in a Maven 2.0.4 Project, I can't > depend on a "java-sources" jar > --------------------------------------------------------------------------------------------------------- > > Key: MNG-2462 > URL: http://jira.codehaus.org/browse/MNG-2462 > Project: Maven 2 > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 2.0.4 > Environment: Mac Os X > Reporter: Ed Burns > Priority: Minor > Fix For: 2.0.5 > > > Consider this dependency: > <dependency> > <groupId>javax.faces</groupId> > <artifactId>jsf-api</artifactId> > <version>1.2</version> > <classifier>sources</classifier> > </dependency> > This yields depdency id: javax.faces:jsf-api:jar:sources:1.2 > This artifact is resolved from a 1.x Maven repository > <repository> > <snapshots /> > <id>java.net</id> > <name>Java.net Maven 1.x Repository for external projects</name> > <url>https://maven-repository.dev.java.net/nonav/repository/</url> > <layout>legacy</layout> > </repository> > And the path to the actual jar is > https://maven-repository.dev.java.net/nonav/repository/javax.faces/java-sources/jsf-api-1.2-sources.jar > However, maven 2.0.4 is trying to fetch: > https://maven-repository.dev.java.net/nonav/repository/javax.faces/jars/jsf-api-1.2-sources.jar -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira