>>>>> Alexander Kriegisch <alexan...@kriegisch.name>:

> A quick test shows that the feature still seems to work as expected up
> to JDK 24 [1].

I forgot to say what I was using, but I'm currently using Java 21.0.4
from openjdk on debian 12.10 "bookwork" on amd64.

> What do you mean by "Maven build abrubtly terminates"?

Here's the output of "mvn clean install" on the project. Maven build
ends on line 26 with no error message:
 https://gist.github.com/steinarb/12596b7771bc2d0e2a3835292b07329e

> The build should terminate with an error, if System.exit was called
> with a non-zero return code [2] and reported as follows:

> System::exit was called with return code 123

Yes, I would have expected something like that from a non-null value
returned by Driver.doMain().

> But that is just Maven Exec failing the build. The JVM should not
> terminate without notice in the middle of the Mojo execution like
> without using 'blockSystemExit'.

Indeed.

> As your gist does not qualify as a reproducer, because I cannot just
> download and execute it without errors out of context, would you please
> create a stand-alone reproducer on GitHub and link to it from this
> thread? The maintainers and maybe I can then take a closer look.

Ok, I will try to create a simple repro case.

But until then:
 This is the project the gist belongs in:
  https://github.com/steinarb/liquibase-karaf-feature

 The gist is a drop-in replacement for this pom:
  
https://github.com/steinarb/liquibase-karaf-feature/blob/master/liquibase-integration-test/karaf.liquibase.sample/pom.xml
 (i.e. the ./liquibase-integration-test/karaf.liquibase.sample/pom.xml
  file of a "git clone"


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to