[ http://jira.codehaus.org/browse/MPJAVADOC-68?page=comments#action_53745 ]
Wouter Hermeling commented on MPJAVADOC-68: ------------------------------------------- Yes i did read the FAQ. And i also did some testing: If i work in offline mode (maven.javadoc.mode.online=false) then i'm only able to use offline links (the ones specified by maven.javadoc.offlineLinks) Any other links such as specified by maven.javadoc.links will be ignored. Example of what i would like: --------------------------------------------------------------------- #do not use any online/offline mode anymore #maven.javadoc.mode.online=false #use the following online link(s) maven.javadoc.links=http://java.sun.com/j2se/1.3.1/docs/api #use the following offline link(s) maven.javadoc.offlineLinks=https://somesite.com/apidocs#/some/local/dir --------------------------------------------------------------------- I tried to tric the plugin by specifying online links in the maven.javadoc.offlineLinks property (according to the plugin jelly it should work): --------------------------------------------------------------------- maven.javadoc.mode.online=true maven.javadoc.links= \ https://somesite.com/apidocs#/some/local/dir, \ http://java.sun.com/j2se/1.3.1/docs/api --------------------------------------------------------------------- but that did not work. This forces me to specify all links as offline links which means i have to download all apidocs even if they are online available (well actually onlny the package-list file). This results in the following code snippet: --------------------------------------------------------------------- maven.javadoc.mode.online=false maven.javadoc.offlineLinks= \ https://somesite.com/apidocs#/some/local/dir, \ http://java.sun.com/j2se/1.3.1/docs/api/#/local/j2se/1.3.1/apidocs --------------------------------------------------------------------- In fact my program has more like 20 links, many of them are available online. This forces me to store many apidocs on the local file system and to maintain them. Maybe i'll try to change the jelly code myself (should be doable and the javadoc seems to support it) > Combined use of online and offline links > ---------------------------------------- > > Key: MPJAVADOC-68 > URL: http://jira.codehaus.org/browse/MPJAVADOC-68 > Project: maven-javadoc-plugin > Type: Improvement > Versions: 1.7 > Reporter: Wouter Hermeling > Priority: Minor > > > i want to be able to use both offline and online links. For offline links i > mean 'online links in offline mode'. > The reason is trivial: > 1. I have links to online available apidocs like the javaapi, j2ee api, > jasperrepots api, etc > 2. I also have links to apidocs which are not availble yet. These apidocs > become availble when the whole maven site is being published to a secure site. > For situation 1, i'd like to use online links > For situation 2, i'd like to use online links in offline mode. > I've read the plugin jelly. It seems there's a build in feature to use > offline links even in online mode, but that does not seem to work. > According to the javadoc api itself, it supports both online and offline > links simultaneously. It does not even have a online/offline mode. This is > what the maven-javadoc-plugin should support as well. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]