porcelli opened a new issue, #2208: URL: https://github.com/apache/incubator-kie-issues/issues/2208
## Description The `incubator-kie-kogito-examples` repository was recently upgraded to Maven 3.9.11 (#2118), but the Maven Wrapper infrastructure was left behind at version 0.5.6 (Takari). The current wrapper configuration still references Maven 3.8.4: ```properties distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar ``` ## Proposed Changes 1. Upgrade Maven Wrapper from Takari 0.5.6 to Apache Maven Wrapper 3.3.4 2. Update `distributionUrl` to Maven 3.9.11 3. Remove deprecated files (`MavenWrapperDownloader.java`, `maven-wrapper.jar`) ## Caveat The new Apache Maven Wrapper 3.3.4 removed the `find_maven_basedir()` function that walked up directories to find `.mvn/wrapper/maven-wrapper.properties`. This breaks subproject wrappers that rely on the root configuration. The wrapper scripts need to be patched to restore this behavior for repositories with `mvnw` scripts in subprojects. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
