Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.2.0
-
None
-
None
Description
The fix for MJAVADOC-613 ends up mis-detecting when a submodule is being skipped in case there is an interplay between command-line and profile activation.
In OpenDaylight we have a setup, where we have a profile doing roughly:
<profile>
<id>q</id>
<properties>
<maven.javadoc.skip>true</maven.javadoc.skip>
<!-- ... and a host of other things -->
</properties>
</profile>
this profile is defined for each and every artifact we build.
We then have a job dedicated to extraction of javadoc which does:
mvn verify javadoc:aggregate -e -Pq -Dmaven.javadoc.skip=false
This works perfectly well with maven-javadoc-plugin-3.1.1, but breaks with 3.2.0: while each submodule generates its javadoc correctly (observing the command-line override of the profile), the aggregate goal ends up skipping all submodules, resulting in no aggregate being generated.
Attachments
Issue Links
- is caused by
-
MJAVADOC-613 Exclude some modules with aggregate goals
- Closed