Open ppalaga opened 2 years ago
/cc @quarkusio/devtools
Hm.. on the console, it looks like it just fails, but in reality, it actually created the project as expected. BTW, the same issue with quarkus 2.6.3
Same with the create-extension. And the same behavior: in the console script crashes, but in fact it works as expected.
~\Projects\project\application [BRANCHNAME +1 ~0 -0 !]> mvn io.quarkus:quarkus-maven-plugin:create-extension -DwithoutTests
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ---------< my.project:application >---------
[INFO] Building application 2022.1.2.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- quarkus-maven-plugin:2.4.0.Final:create-extension (default-cli) @ application ---
Set the extension groupId: my.project.extension
Set the extension id: filter-extension
Exception in thread "main" java.io.IOError: java.io.IOException: Stream Closed
at org.fusesource.jansi.AnsiConsole.systemUninstall(AnsiConsole.java:544)
at org.apache.maven.shared.utils.logging.MessageUtils.doSystemUninstall(MessageUtils.java:101)
at org.apache.maven.shared.utils.logging.MessageUtils.systemUninstall(MessageUtils.java:80)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: java.io.IOException: Stream Closed
at java.base/java.io.FileOutputStream.writeBytes(Native Method)
at java.base/java.io.FileOutputStream.write(FileOutputStream.java:354)
at org.fusesource.jansi.io.FastBufferedOutputStream.flushBuffer(FastBufferedOutputStream.java:58)
at org.fusesource.jansi.io.FastBufferedOutputStream.flush(FastBufferedOutputStream.java:65)
at java.base/java.io.FilterOutputStream.flush(FilterOutputStream.java:153)
at org.fusesource.jansi.io.AnsiOutputStream.uninstall(AnsiOutputStream.java:338)
at org.fusesource.jansi.AnsiPrintStream.uninstall(AnsiPrintStream.java:82)
at org.fusesource.jansi.AnsiConsole.systemUninstall(AnsiConsole.java:541)
... 11 more
Same issue with io.quarkus:quarkus-maven-plugin:2.9.2.Final , openjdk 11.0.2 , maven 3.8.5
same issue with mvn io.quarkus:quarkus-maven-plugin:2.10.1.Final:create, Apache Maven 3.8.4
Apache Maven 3.8.6 java version "11.0.17" 2022-10-18 LTS graalvm-ce-java11-22.3.0
command mvn -U io.quarkus:quarkus-maven-plugin:create
this was using the plugin version 3.0.0 alpha
testet it with version 2.14.1 mvn -U io.quarkus:quarkus-maven-plugin:2.14.1.Final:create
Both Still same error
Describe the bug
Going through the new Camel Quarkus Workshop by @aldettinger on Windows.
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
git clone git@github.com:aldettinger/camel-quarkus-workshop.git
- not sure this is actually needed. I am just listing what I did