maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalle Korhonen" <kalle.o.korho...@gmail.com>
Subject Re: execute java class with symbolic name
Date Mon, 02 Jun 2008 19:11:54 GMT
Why don't you just put your main class in the default package then?

Kalle


On Mon, Jun 2, 2008 at 12:06 PM, mscarpentier <mariano.carpentier@gmail.com>
wrote:

>
> Hello, I wanted to execute a Java class that has a "main method" on it with
> Maven, and so far I could execute this by doing something like this "mvn
> exec:java -Dexec.mainClass=com.business.project.MyClass"... What I wanted
> to
> use was something more 'user friendly', like "mvn MyCustomizedClass" or
> even
> "mvn exec:MyCustomizedClass".
> Thanks everybody!
> --
> View this message in context:
> http://www.nabble.com/execute-java-class-with-symbolic-name-tp17608467p17608467.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message