Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible JLine classpath issue #1125

Open
teabot opened this issue Sep 4, 2024 · 1 comment
Open

Possible JLine classpath issue #1125

teabot opened this issue Sep 4, 2024 · 1 comment

Comments

@teabot
Copy link

teabot commented Sep 4, 2024

I'm working on a large multi-module project. When building with mvnd, with certain modules, I consistently encounter fatal errors in the io.quarkus:quarkus-maven-plugin of the form:

[ERROR] Failed to execute goal io.quarkus:quarkus-maven-plugin:3.6.9:generate-code-tests (default) on project xxx:
Execution default of goal io.quarkus:quarkus-maven-plugin:3.6.9:generate-code-tests failed:
A required class was missing while executing io.quarkus:quarkus-maven-plugin:3.6.9:generate-code-tests:
org/jline/reader/LineReader
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>io.quarkus:quarkus-maven-plugin:3.6.9
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
...

This does not occur with vanilla mvn, and thus I am considering if this is an issue with mvnd. I have tried manually adding the JLine dependency to the quarkus-maven-plugin but the issue persists.

mvn

❯ mvn -X
Running `/Users/elliot.west/git/dremio/mvnw`...
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /Users/elliot.west/.m2/wrapper/dists/apache-maven-3.9.9-bin/33b4b2b4/apache-maven-3.9.9
Java version: 21.0.4, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "14.6.1", arch: "aarch64", family: "mac"

mvnd

❯ mvnd -X
Apache Maven Daemon (mvnd) 1.0.1 darwin-aarch64 native client (621c13a190faf99724130a4dd0b8ec473a9cde44)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jni.osx.OsXNativePty
Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
Maven home: /opt/homebrew/Cellar/mvnd@1/1.0.1/libexec/mvn
Java version: 21.0.4, vendor: Eclipse Adoptium, runtime: /Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "14.6.1", arch: "aarch64", family: "mac"
@dasteg
Copy link

dasteg commented Oct 21, 2024

happens here as well constantly. cant use mvnd with quarkus. linux, mnd 1.0.2, maven 3.9.9

works on colleague's machine with windows though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants