-
Notifications
You must be signed in to change notification settings - Fork 214
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
mvnd archetype:generate failed #1036
Milestone
Comments
Affects both: 1.0.0 and 2.0.0-beta-1 |
cstamas
added a commit
that referenced
this issue
Jun 19, 2024
Cast is wrong, as message can be of multiple type. Fixes #1036
cstamas
added a commit
that referenced
this issue
Jun 20, 2024
ProjectEvent message mixup fixed. Fixes #1036
Please retest with binaries built by CI from here: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am trying to use mvnd with de archetype generate and I get this error:
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Exception in thread "main" java.lang.ClassCastException: org.mvndaemon.mvnd.common.Message$ProjectEvent cannot be cast to org.mvndaemon.mvnd.common.Message$StringMessage
at org.mvndaemon.mvnd.common.logging.TerminalOutput.doAccept(TerminalOutput.java:315)
at org.mvndaemon.mvnd.common.logging.TerminalOutput.accept(TerminalOutput.java:213)
at org.mvndaemon.mvnd.client.DefaultClient.execute(DefaultClient.java:372)
at org.mvndaemon.mvnd.client.DefaultClient.main(DefaultClient.java:163)
I am working with:
Apache Maven Daemon (mvnd) 1.0.0 darwin-amd64 native client (0cb7cbc)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jni.osx.OsXNativePty
Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
Maven home: /👻/.sdkman/candidates/mvnd/current/mvn
Java version: 22, vendor: Oracle Corporation, runtime: /👻/.sdkman/candidates/java/22-open
Default locale: es_EC, platform encoding: UTF-8
OS name: "mac os x", version: "13.6.7", arch: "x86_64", family: "mac"
The text was updated successfully, but these errors were encountered: