launch config and maven build

idea #9164 on vista, maven internal

I've created a simple launch config for a java hello world app.
I build it using maven. If the maven build fails, the application
is launched anyways (it's last build is run). I want to behavior to be
that if the maven build fails, nothing is launched. How do I do that?

Thanks.

0
1 comment

Mike Carifio wrote:

idea #9164 on vista, maven internal

I've created a simple launch config for a java hello world app.
I build it using maven. If the maven build fails, the application
is launched anyways (it's last build is run). I want to behavior to be
that if the maven build fails, nothing is launched. How do I do that?

Thanks.


Actually it's pilot error on my part. Adding a "Groovy facet" to a java
project doesn't magically tell the maven pom how to compile groovy
scripts. Once I update the pom with the "gmaven plugin" and put the
groovy classes in the correct folder (groovy), then I get the behavior
I expect. Somewhat. I'm not always sure what to expect.

0

Please sign in to leave a comment.