Might this do the trick?
http://mojo.codehaus.org/exec-maven-plugin/java-mojo.html
 On Apr 10, 2011 2:32 PM, <[email protected]> wrote:
>
> Let's suppose I have main GUI program with lots of dependencies and some
> unit tests. Maven will run my unit tests just fine. But suppose I want
> to run the main program and try my GUI out -- maybe run a manual test of
> the GUI.
>
>
> How do I do this with maven?
>
>
> I've seen it done in the sample code for the first edition of the Spring
> in Action book. They embedded some ant tasks in the POM. Is this the
> recommended approach? The problem is that this was under the maven goal
> test and so when you ran your tests, you got your GUI. What I really
> want a maven goal called run and, as I recall, that does not exist.
>
>
> Can someone point me to a tutorial on how to do this so I don't have to
> manually set up a bash script to set up my class path based on where
> maven stuck my dependencies in the cache (which could change if I edit
> my POM and change the version numbers of some of my dependencies).
>
>
> Thanks!
> Siegfried
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

Reply via email to