Skip to content

fix(deps): remove untrusted plugin dependencies for Airlock - #1080

Merged
jinseopkim0 merged 2 commits into
GoogleCloudPlatform:mainfrom
hj690:fix-airlock-trusted-deps
Nov 3, 2026
Merged

jinseopkim0 merged 2 commits into
GoogleCloudPlatform:mainfrom
hj690:fix-airlock-trusted-deps

Conversation

@hj690

@hj690 hj690 commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Upgrade and configure Maven build plugins so that all build and release dependencies resolve from Airlock maven-3p-trusted.

  • Override org.codehaus.plexus:plexus-i18n to 1.0-beta-10 and exclude 1.0-beta-7 from maven-bundle-plugin and maven-plugin-plugin, because 1.0-beta-7 lacks machine-readable upstream license metadata.
  • Upgrade maven-enforcer-plugin to 3.0.0, jacoco-maven-plugin to 0.8.12, maven-checkstyle-plugin to 3.6.0, and maven-javadoc-plugin to 3.11.2 to drop classworlds:classworlds:1.1-alpha-2.
  • Upgrade maven-pmd-plugin to 3.21.2 and exclude org.codehaus.plexus:plexus-container-default so the verify phase uses trusted pmd-java:6.55.0 instead of 6.42.0.
  • Pin maven-compiler-plugin, maven-javadoc-plugin, and maven-source-plugin in the jdk8 and root release profiles to avoid unpinned LATEST metadata lookups.

Upgrade and configure Maven build plugins so that all build and release dependencies resolve from Airlock maven-3p-trusted.

- Override org.codehaus.plexus:plexus-i18n to 1.0-beta-10 and exclude 1.0-beta-7 from maven-bundle-plugin and maven-plugin-plugin, because 1.0-beta-7 lacks machine-readable upstream license metadata.
- Upgrade maven-enforcer-plugin to 3.0.0, jacoco-maven-plugin to 0.8.12, maven-checkstyle-plugin to 3.6.0, and maven-javadoc-plugin to 3.11.2 to drop classworlds:classworlds:1.1-alpha-2.
- Upgrade maven-pmd-plugin to 3.21.2 and exclude org.codehaus.plexus:plexus-container-default so the verify phase uses trusted pmd-java:6.55.0 instead of 6.42.0.
- Pin maven-compiler-plugin, maven-javadoc-plugin, and maven-source-plugin in the jdk8 and root release profiles to avoid unpinned LATEST metadata lookups.
@hj690 hj690 changed the title build(deps): remove untrusted plugin dependencies for Airlock fix(build): remove untrusted plugin dependencies for Airlock Nov 3, 2026
…r pin

- Exclude doxia-core and doxia-sink-api from maven-reporting-impl:3.0.0 so maven-plugin-plugin:3.6.4 keeps Doxia 1.11.1 when running mvn plugin:report.
- Document why maven-enforcer-plugin stays below 3.2.0 while linkage-checker-enforcer-rules:0.2.0 uses AbstractNonCacheableEnforcerRule.
@hj690 hj690 changed the title fix(build): remove untrusted plugin dependencies for Airlock fix(deps): remove untrusted plugin dependencies for Airlock Nov 3, 2026
@blakeli0
blakeli0 requested a review from jinseopkim0 November 3, 2026 19:59
@jinseopkim0
jinseopkim0 merged commit 1a77a9c into GoogleCloudPlatform:main Nov 3, 2026
11 checks passed
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.

2 participants