Re: How do exec:java on a mainclass that calls System.exit() without terminating the maven build?

Steinar Bang <[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.user
Organization Probably a good idea
Message-ID <[email protected]>
>>>>> Slawomir Jaranowski <[email protected]>:

> Hi Steinar
> Can you test my patch: https://github.com/mojohaus/exec-maven-plugin/pull/472

Looks successful to me: https://gist.github.com/steinarb/922753fd7bcb7189c1716e7761d237df

Thanks!

Here is what I did to test:
 git clone https://github.com/mojohaus/exec-maven-plugin.git
 cd exec-maven-plugin/
 git checkout class-writer-classloader
 mvn install

Then I bumped <version> of exec-maven-plugin to 3.5.1-SNAPSHOT and built
my test project, with the result shown in the above gist.

> I added an example provided by you as an IT.

Cool!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.