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 2007/11/30 05:00:59 UTC

[jira] Updated: (MECLIPSE-221) Javadoc's for dependencies are not downloaded correctly (name incorrently specified)

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

Arnaud Heritier updated MECLIPSE-221:
-------------------------------------

    Component/s: Dependencies resolution and build path

> Javadoc's for dependencies are not downloaded correctly (name incorrently specified)
> ------------------------------------------------------------------------------------
>
>                 Key: MECLIPSE-221
>                 URL: http://jira.codehaus.org/browse/MECLIPSE-221
>             Project: Maven 2.x Eclipse Plugin
>          Issue Type: Bug
>          Components: Dependencies resolution and build path
>            Reporter: Bulent Erdemir
>         Attachments: patch.txt
>
>
> Hi,
> Open the preferences for maven and enable "Download artifact javadoc". Then create a basic pom.xml and add a dependency to commons-lang version 2.0. Like below:
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>sil1</groupId>
>   <artifactId>sil1</artifactId>
>   <version>0.0.1</version>
>   <dependencies>
>     <dependency>
>       <groupId>commons-lang</groupId>
>       <artifactId>commons-lang</artifactId>
>       <version>2.2</version>
>     </dependency>
>   </dependencies>
> </project> 
> Then issue mvn compile. So that maven downloads the artifacts. 
> maven downloads the pom, the artifact itself. But not the javadoc. Because the repository has the file named "commons-lang-2.2-javadoc.jar " for the javadoc, however, maven searches for a file named "commons-lang-2.2-javadoc.java-doc". 
> So, the plugin needs to be modified to search for the right file name for javadoc retrieval. 
> Bulent Erdemir

-- 
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