[ODLPARENT-121] Upgrade maven-javadoc-plugin to 3.0.0 Created: 22/Sep/17  Updated: 24/Jan/18  Resolved: 24/Jan/18

Status: Resolved
Project: odlparent
Component/s: General
Affects Version/s: 2.0.5
Fix Version/s: 3.0.2

Type: Bug
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks ODLPARENT-119 Milestone: Support build with JDK 9 Resolved
External issue ID: 9202

 Description   

Version 2.10.4 relies on apache commons, which fails to parse JDK9 version, leading to an ExceptionInInitializerError.

Version 3.0.0-M1 seems to work, we need to upgrade to it in order to be able to run on JDK9.



 Comments   
Comment by Robert Varga [ 18/Oct/17 ]

https://git.opendaylight.org/gerrit/64444

Comment by Michael Vorburger [ 06/Dec/17 ]

Apparently the bump from maven-javadoc-plugin 2.10.4 to 3.0.0-M1 is, at least sometimes, causing signficant (noticeable) build slow-down? rovarga mentions this on https://lists.opendaylight.org/pipermail/release/2017-November/013005.html :

'mvn clean install -Dmaven.javadoc.skip' – the javadoc skip is needed to not waste time, as currently upstream package references can cause a major slowdown.

and skitt had this to say about his on IRC:

vorburger: skitt: rovarga: in odlparent 3.0.0 there is some issue with maven-javadoc-plugin:3.0.0-M1 - it's REALLY slow, isn't it?
skitt: vorburger, yes
skitt: vorburger, it’s the link stuff
vorburger: skitt: oh those http links to external libs we added so that you can "click through" ? Then let's comment that out!
vorburger: skitt: or is it just one of the links? just noticed [WARNING] javadoc: warning - Error fetching URL: http://doc.akka.io/japi/akka/2.5.3/
skitt: vorburger, akka.io regularly causes problems, but having the links at all introduces lots of build duration variability
skitt: vorburger, especially on Jenkins
vorburger: skitt: then let us just comment out all links? That's totally a "nice to have".. build speed is WAY more important.

I've justed raised https://git.opendaylight.org/gerrit/#/c/66277/ for this. (PS also https://git.opendaylight.org/gerrit/#/c/66278/)

Comment by Robert Varga [ 06/Dec/17 ]

The links should go into a profile – they are 'nice to have', in the sense that you do not need to hunt for cross-reference documentation – which is not trivial to find at times.

Comment by Robert Varga [ 06/Dec/17 ]

The issue is definitely not 3.0.0-M1, the same thing happens with 2.10.4.

Comment by Michael Vorburger [ 08/Dec/17 ]

> The links should go into a profile

skitt did this in https://git.opendaylight.org/gerrit/#/c/66283/ .. where do we now add the -Pjavadoc-links for this?

Generated at Wed Feb 07 20:27:41 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.