« Return to Thread: custom deployment cycle

custom deployment cycle

by olip :: Rate this Message:

Reply to Author | View in Thread

Hi everyone!
I am a total newbie to Maven and cant seem to figure out the following.

I want to use one maven command to do the following thing:

1.build a war file out of my project and install it in the local repository
2.build an executable jar file which includes the war file (I have written a jetty class to load it within the jar)
3.make a project site
4.deploy everything

I can do this by typing:
four commands on the command line:
mvn install
mvn assembly:assembly
mvn site
mvn deploy


how can I do several different maven things with one maven command, can I do this with goals tags?

Thank you for our help
Oliver

 « Return to Thread: custom deployment cycle