So suppose I have 2 projects: projectLib and projectWar.

Whenever I'm in the projectLib folder where the pom.xml is, I'd like to just
type "mvn" and have it run the "mvn install" lifecycle

Whenever I'm in the projectWar folder where the pom.xml is, I'd like to just
type "mvn" and have it run the "mvn package" or "mvn deploy" lifecycle

Is there a way to set this default behavior in the pom.xml for each project?

Thanks,
Kane

--
View this message in context: 
http://maven.40175.n5.nabble.com/Is-there-a-way-to-set-a-default-lifecycle-action-tp4647944p4647944.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]

Reply via email to