You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/05/02 00:26:22 UTC

[jira] Commented: (MJAVADOC-32) Add javadoc links to dependencies in project.xml

    [ http://jira.codehaus.org/browse/MJAVADOC-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=265388#action_265388 ] 

Herve Boutemy commented on MJAVADOC-32:
---------------------------------------

note that thsi element should not be added inside dependency element, but inside project itself

> Add javadoc links to dependencies in project.xml
> ------------------------------------------------
>
>                 Key: MJAVADOC-32
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-32
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Improvement
>            Reporter: Brett Porter
>
> (originally filed by Tim McCune)
> It would be nice to be able to specify the URLs that are currently in maven.javadoc.links in project.properties in my project.xml.  For example:
> {code:xml}<dependency>
>   <groupId>junit</groupId>
>   <artifactId>junit</artifactId>
>   <version>3.8</version>
>   <api>http://junit.sourceforge.net/javadoc</api>
> </dependency>{code}
> It would also be nice to be able to specify a JDK version in project.xml and have Maven automatically link in the javadoc API for that version of the JDK.  Specifying the JDK version in project.xml would also allow Maven to make intelligent assumptions about stuff like maven.compile.source, maven.compile.target, maven.javadoc.source, maven.test.source, etc.  It's really annoying to have to specify at least 4 separate properties in project.properties for every project just because I'm using JDK 1.5.

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