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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
