You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnaud Heritier (JIRA)" <ji...@codehaus.org> on 2008/02/16 07:33:29 UTC

[jira] Updated: (MECLIPSE-379) When downloading sources and javadocs dependency classifier is not respected.

     [ http://jira.codehaus.org/browse/MECLIPSE-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Heritier updated MECLIPSE-379:
-------------------------------------

    Fix Version/s: 2.5

> When downloading sources and javadocs dependency classifier is not respected.
> -----------------------------------------------------------------------------
>
>                 Key: MECLIPSE-379
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-379
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Core : Dependencies resolution and build path
>    Affects Versions: 2.4
>         Environment: windows vista ultimate
> java 1.6_01
> maven-2.0.8
>            Reporter: Erick Dovale
>             Fix For: 2.5
>
>
> When running goal eclipse:eclipse with downloadSources and downloadJavadocs set to true this plugin tries to download the javadocs and sources without appending the classifier value to the name of the files to download.
> Eg. json-lib uses clsasifiers for the java version. This is how the dependency is defined in my pom.xml:
> 		<dependency>
> 			<groupId>net.sf.json-lib</groupId>
> 			<artifactId>json-lib</artifactId>
> 			<version>2.2</version>
> 			<classifier>jdk15</classifier>
> 			<scope>compile</scope>
> 		</dependency>
> This is the relevant output of running mvn eclipse:eclipse for the sources:
> Downloading: http://mikemps.no-ip.com/artifactory/repo/net/sf/json-lib/json-lib/2.2/json-lib-2.2-sources.jar
> Downloading: http://repo1.maven.org/maven2/net/sf/json-lib/json-lib/2.2/json-lib-2.2-sources.jar
> Downloading: http://download.java.net/maven/1/net.sf.json-lib/java-sources/json-lib-2.2-sources.jar
> and for the javadocs:
> Downloading: http://mikemps.no-ip.com/artifactory/repo/net/sf/json-lib/json-lib/2.2/json-lib-2.2-javadoc.jar
> Downloading: http://repo1.maven.org/maven2/net/sf/json-lib/json-lib/2.2/json-lib-2.2-javadoc.jar
> Downloading: http://download.java.net/maven/1/net.sf.json-lib/javadocs/json-lib-2.2-javadoc.jar
> If the classifier was taken into consideration then the file names would starts with json-lib-2.2-jdk15-xxxx.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