Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.4
-
None
-
windows vista ultimate
java 1.6_01
maven-2.0.8
Description
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
Attachments
Issue Links
- is related to
-
MECLIPSE-747 Make the behavior in MECLIPSE-379 optional
- Closed