GoogleCloudPlatform / app-maven-plugin

The library has moved to https://github.com/GoogleCloudPlatform/appengine-plugins/tree/main/app-maven-plugin
Apache License 2.0
102 stars 42 forks source link

Upgrade appengine-plugins-core to 0.10.0 #491

Closed suztomo closed 11 months ago

suztomo commented 11 months ago

Upgrade appengine-plugins-core to 0.10.0 that supports java21 runtime

suztomo commented 11 months ago

Temurin distribution does not have 21 yet.

Error: Could not find satisfied version for SemVer '21'. 
Available versions: 20.0.2+9, 20.0.1+9, 20.0.0+36, 19.0.2+7, 19.0.1+10, 19.0.0+36, 18.0.2+101, 18.0.2+9, 18.0.1+10, 18.0.0+36, 17.0.8+101, 17.0.8+7, 17.0.7+7, 17.0.6+10, 17.0.5+8, 17.0.4+101, 17.0.4+8, 17.0.3+7, 17.0.2+8, 17.0.1+12, 17.0.0+35, 16.0.2+7, 11.0.20+101, 11.0.20+8, 11.0.19+7, 11.0.18+10, 11.0.17+8, 11.0.16+101, 11.0.16+8, 11.0.15+10, 11.0.14+101, 11.0.14+9, 11.0.13+8, 11.0.12+7, 8.0.382+5, 8.0.372+7, 8.0.362+9, 8.0.352+8, 8.0.345+1, 8.0.342+7, 8.0.332+9, 8.0.322+6, 8.0.312+7, 8.0.302+8
suztomo commented 11 months ago
[INFO] --- maven-plugin-plugin:3.6.4:descriptor (default-descriptor) @ appengine-maven-plugin ---
Error:  

Some dependencies of Maven Plugins are expected to be in provided scope.
Please make sure that dependencies listed below declared in POM
have set '<scope>provided</scope>' as well.

The following dependencies are in wrong scope:
 * org.apache.maven:maven-plugin-api:jar:3.8.1:compile
 * org.apache.maven:maven-model:jar:3.8.1:compile
 * org.apache.maven:maven-artifact:jar:3.8.1:compile
 * org.apache.maven:maven-core:jar:3.8.1:compile
 * org.apache.maven:maven-settings:jar:3.8.1:compile
 * org.apache.maven:maven-settings-builder:jar:3.8.1:compile
 * org.apache.maven:maven-builder-support:jar:3.8.1:compile
 * org.apache.maven:maven-repository-metadata:jar:3.8.1:compile
 * org.apache.maven:maven-model-builder:jar:3.8.1:compile
 * org.apache.maven:maven-resolver-provider:jar:3.8.1:compile

Not adding Java 21 in this pull request. I created a follow-up issue: https://github.com/GoogleCloudPlatform/app-maven-plugin/issues/492.