[ 
http://jira.codehaus.org/browse/MNG-2248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=153471#action_153471
 ] 

Paul Gier commented on MNG-2248:
--------------------------------

The [dependency 
plugin|http://maven.apache.org/plugins/maven-dependency-plugin/] can be used to 
download sources.  And I think you could use the same "sources" goal with a 
configured classifier to download javadocs.  You can't put it into the 
settings.xml, but you could configure your pom to download sources for each 
build.

Does this resolve your issue?

> Maven should get the source and javadoc jars from a repository if they are 
> available
> ------------------------------------------------------------------------------------
>
>                 Key: MNG-2248
>                 URL: http://jira.codehaus.org/browse/MNG-2248
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Artifacts and Repositories
>            Reporter: Aaron Freeman
>            Priority: Minor
>             Fix For: 3.x
>
>
> It would be nice if the component that downloads a binary jar file from a 
> repositroy would also download any available source or javadoc jars. 
> Currently the only way to do this is by using the eclipse plugin.

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