Am 29.05.26 um 20:58 schrieb Mark Thomas:
The proposed Apache Tomcat migration tool for Jakarta EE 1.0.11 is now
available for voting.

The significant changes since 1.0.10 are:

- Shade the OSGI dependencies to avoid conflicts when migrated
   applications use the same libraries

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/jakartaee-migration/v1.0.11/

The Maven staging repository is:
https://repository.apache.org/content/repositories/orgapachetomcat-1592/

The tag is:
https://github.com/apache/tomcat-jakartaee-migration/tree/1.0.11
280094b0d345ded7722efea28478548584574a3e

The proposed 1.0.11 release is:

[X] -1: Broken. Do not release because...
[ ] +1: Acceptable. Go ahead and release.

-1 unless the following is based on a bad understanding by me:

Using the documented build procedure "./mvnw verify" leads to a download of maven 3.6.3 to my .m2 directory, probably triggered by file .mvn/wrapper/maven-wrapper.properties

distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
...

A little later that the build fails with

...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  13.094 s
[INFO] Finished at: 2026-05-31T18:18:13+02:00
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.6.2:enforce (enforce-maven-version) on project jakartaee-migration: [ERROR] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion failed with message:
[ERROR] Detected Maven Version: 3.6.3 is not in the allowed range [3.9,).
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


I had already installed a current maven version locally, but the locally installed one is not used. The one defined by the properties file is used instead. Updating the version in the property file to 3.9.15 lets the build succeed. So that is my suggestion.

Best regards,

Rainer




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to