Hi Troy, Yes, you are correct- it really is doing two things. mvn clean compile should be sufficient if using mvn to run and resolve dependencies which is nice. (We can update the docs if that makes it simpler) package is convenient in certain situations when it's convenient to have all of the 3rd party and transient dependencies downloaded and bundled up such as running it outside mvn with custom processes/scripts etc.
--Pei > -----Original Message----- > From: Bleeker, Troy C. [mailto:[email protected]] > Sent: Thursday, February 21, 2013 5:54 PM > To: [email protected] > Subject: compile versus package > > The command > mvn clean compile package > is now in the doc for command line build however I was wondering if that is > really doing two things. If a developer just wants to run code and not > package up all the deliverables is this sufficient: > mvn clean compile > > Thanks > Troy Bleeker * Senior Business Analyst CBAP(r) * Biomedical Statistics and > Informatics > Phone: 507-293-1574 * Fax: 507-284-0360 * [email protected] Mayo > Clinic * 200 First Street SW * Rochester, MN 55905 * www.mayoclinic.org
