You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/18 14:38:20 UTC

[jira] Closed: (MNG-2476) Plugin give wrong Maven goal for installing Javadoc jar

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

Brett Porter closed MNG-2476.
-----------------------------

         Assignee: Brett Porter
       Resolution: Cannot Reproduce
    Fix Version/s:     (was: Reviewed Pending Version Assignment)

using type = javadoc gives the correct line for me

> Plugin give wrong Maven goal for installing Javadoc jar
> -------------------------------------------------------
>
>                 Key: MNG-2476
>                 URL: http://jira.codehaus.org/browse/MNG-2476
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Dependencies
>            Reporter: Tim Shadel
>            Assignee: Brett Porter
>            Priority: Minor
>
> The Eclipse plugin gives the following output when it cannot locate a remote -javadoc.jar file for a dependency
> 6/9/06 2:22:30 PM GMT-07:00: [WARN] Unable to get resource from repository central (http://repo1.maven.org/maven2)
> 6/9/06 2:22:30 PM GMT-07:00: Unable to download the artifact from any repository
> Try downloading the file manually from the project website.
> Then, install it using the command: 
>     mvn install:install-file -DgroupId=org.springframework -DartifactId=spring \
>         -Dversion=2.0-m5 -Dpackaging=java-doc -Dfile=/path/to/file
>  org.springframework:spring-2.0-m5.java-doc
> The part that is in error is "-Dpackaging=java-doc".  Instead it should read "-Dpackaging=javadoc".  The second version creates the right pattern for installation in the repository.  The other one creates a .java-doc file instead (similar to the problem described in MNGECLIPSE-122).

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