Skip to content

build: prevent javadoc aggregate execution from running on sub-modules (#4624) - #4625

Draft
jinseopkim0 wants to merge 1 commit into
7.xfrom
7.x-cherry-pick-3fb41d2
Draft

jinseopkim0 wants to merge 1 commit into
7.xfrom
7.x-cherry-pick-3fb41d2

Conversation

@jinseopkim0

Copy link
Copy Markdown
Contributor

backport #4624

#4624)

### Problem
Kokoro release builds fail during aggregate Javadoc generation on
sub-modules such as `spring-cloud-previews` when `-DperformRelease=true`
is passed, because unreleased dependency artifacts cannot be resolved
from remote repositories.

### Solution
Add `<inherited>false</inherited>` to the `aggregate` execution of
`maven-javadoc-plugin` in the root `pom.xml` so only the repository root
project runs the aggregated Javadoc goal.

b/559881315
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant