You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 165f02e
Browse filesBrowse the repository at this point in the historyBrowse files
build(deps): pin native-maven-plugin and override download-maven-plugin plexus dependency for Airlock (#14754)
## Summary
This PR resolves the two remaining plugin dependency issues reported by
the `java-missing-airlock-deps` audit (b/568717591):
1. **Pin `org.graalvm.buildtools:native-maven-plugin` to
`${native-maven-plugin.version}` (`0.10.6`)**:
- `java-shared-config/native-image-shared-config/pom.xml` previously
declared `<version>${native-maven-plugin.version}</version>` only inside
`<profile><id>native</id>`.
- Three modules (`google-auth-library-java/credentials`,
`google-auth-library-java/appengine`, and
`java-spanner/google-cloud-spanner`) configure `native-maven-plugin` in
top-level `<build><plugins>` without `<version>`. When `-Pnative` is
inactive, Maven resolves the latest version from `maven-metadata.xml`
(`1.1.16`), which is still in Airlock's 14-day soak window.
- Add `native-maven-plugin` to `<build><pluginManagement><plugins>` in
`native-image-shared-config/pom.xml` and set
`<version>${native-maven-plugin.version}</version>` in those three
modules (matching `grpc-gcp-java/pom.xml`).
2. **Override `org.codehaus.plexus:plexus-container-default` to
`1.0-alpha-9-stable-1` in `download-maven-plugin:1.6.8`**:
- `com.googlecode.maven-download-plugin:download-maven-plugin:1.6.8` in
`java-showcase/gapic-showcase` and
`sdk-platform-java/gapic-generator-java` transitively pulls
`org.codehaus.plexus:plexus-container-default:1.0-alpha-8`, which
Airlock parks in `standard-maven-3p-l1-limited-internal-use` due to
missing upstream license metadata.
- Add a plugin `<dependency>` override pinning
`org.codehaus.plexus:plexus-container-default` to `1.0-alpha-9-stable-1`
(with `*:*` exclusions), which is available in `maven-3p-trusted`.
0 commit comments