Java Mailing List Archive

http://www.java2.5341.com/

Home » Maven Users List »

Specifying a dependent goal for exec goals

Trevor Harmon

2008-10-02

Replies: Find Java Web Hosting

Author LoginPost Reply
Consider these commands:

mvn clean
mvn exec:java

The second line fails because the classes aren't there. it needs to be:

mvn clean
mvn install
mvn exec:java

Is there some way of having Maven run the install goal automatically?
That is, I want to specify that the install goal must always run
before exec:java does. I tried using the <phase> parameter but had no
success.

Trevor


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.