On 4/24/06, Pierre Monestie <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Is there a simple way to run a Main class with maven? Something
> similar to the java task in Ant? If so what is the way to configure
> it?
> I know the runtime plugin is not completed so I'm looking for an
> intermediary solution.


You can use the execute plugin to run them directly:
http://mojo.codehaus.org/exec-maven-plugin/

There's also a plugin for assembling projects and generating bin files for
your main classes (appassembler, in the mojo sandbox). If you are interested
in this one, I can post more information about it.

--
Cheers,
Kristian

Reply via email to