Plugin give wrong Maven goal for installing Javadoc jar
-------------------------------------------------------

         Key: MNGECLIPSE-136
         URL: http://jira.codehaus.org/browse/MNGECLIPSE-136
     Project: Maven 2.x Extension for Eclipse
        Type: Bug

  Components: Dependency Resolver  
    Reporter: Tim Shadel
 Assigned to: Eugene Kuleshov 


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

Reply via email to