Vishal Pahwa wrote:
> 
> Hi
> 
> I need to run a java program from maven. For that m gonna use
> exec-maven-plugin.  But don't know how to use this. Is it possible that
> I will create one new project with folder structure
> src/main/java/com/sky/Main.java. N then use plugin like this 
> 
>   <build> 
[...]

Looks good. What was the actual question?

Bear in mind that if you want to run classes that are compiled in the
same project, the <goal> you bind to must be after compile in the
lifecylcle, after all the class must have been compiled before you can
use it :-)

-dirk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to