|
The macro is now part of the confluence-artifact-info-plugin. The plugin has been released - v.1.2 - and installed on both test and productive wiki instances.
User must provide at least the parameter className and may specify the optional parameters version, rangeHigherVersion, rangeLowerVersion; range params. are ignored when a specific version was specified. SNPASHOT is not supported. (We never create javadoc artifacts for SNAPSHOT versions.)
info.magnolia.sys.confluence.plugin.artifactinfo.macro.JavadocLinkMacro
Note that it was necessary to increase the value of the property read-timeout for the jersey client which queries nexus. (From 2'' to 30'' to be on the safe side.) This value can be set in the config. UI of the plugin.
Docu was updated accordingly - see Configuring artifact-info-plugin.
This high read-timeout-value is due to the fact, that the Nexus REST API only takes the parameter cn (className into account, the parameter version will be ignored won such search, which leads to rather big payload on the response.
The macro has a asynchronous and a synchronous mode, the former is the default and gets the real link via AJAX call to a servlet.
Links of javadoc-URLs are cached.
|