Showing posts with label Maven - Deployment. Show all posts
Showing posts with label Maven - Deployment. Show all posts

Sunday, July 19, 2009

Maven Instrumentation for EJB project

mvn compile -Doutput.directory=target/classes cobertura:instrument install -Dwas-ejb

Wednesday, May 27, 2009

Useful mvn commands

mvn eclipse:eclipse -DdownloadSources=true

This will set up the eclipse environment and also download the source for the jar files.

mvn clean install war:inplace

This will create a open war inside the target directory. This is very useful to modify non-java resources.

mvn clean install -Dmaven.test.skip=true

This will skip the unit tests . It helps to speed up the install but it is a bad practice.

mvn clean compile install -Dwas-ejb

This will create stub and skeleton for EJB projects.

mvn clean compile install -Dwas6.wasHome="D:\My-Projects\Pack-group\runtimes\base_v61

This will help to deploy EJB projects into WAS.