mattcasters opened a new pull request, #8407: URL: https://github.com/apache/hop/pull/8407
Fixes #8406. After #8325, `mvn clean install` fails on Debian/Ubuntu Maven with `No such compiler 'eclipse'` at `hop-core`. That is not a too-old Maven *version*: Ubuntu 26.04 ships Maven 3.9.12 and still fails. Distro Maven uses Sisu 0.3.4/0.3.5, whose shaded ASM only reads class files through Java 14, so it never indexes `plexus-compiler-eclipse` 2.17.0 (Java 17, `@Named`). The Eclipse compiler class itself runs on JDK 21; only the Sisu scan fails. This change: - Registers `compilerId=eclipse` with a Plexus `components.xml` descriptor (`.mvn/plexus-eclipse-hint/`) so Debian/Ubuntu Maven does not need to ASM-index the Java 17 class. - Attaches the Lombok ECJ agent on every module (no longer `inherited=false` on the root aggregator) and resolves Lombok from the plugin classpath, so `cd <module> && mvn` and `mvn -pl <module>` work. Verified with Ubuntu Maven 3.8.7: `mvn -pl core compile`, `cd core && mvn clean compile`, and `cd plugins/transforms/abort && mvn compile`. `./mvnw` still works. ------------------------ Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Run `mvn clean install apache-rat:check` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically. - [x] If you have a group of commits related to the same change, please squash your commits into one and force push your branch using `git rebase -i`. - [x] Mention the appropriate issue in your description (for example: `addresses #123`), if applicable. To make clear that you license your contribution under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0) you have to acknowledge this by using the following check-box. - [x] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0) - [ ] In any other case, please file an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). -- 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]
