David, I know that test is ran before install but I didn't know how running "mvn clean install" was different than just running the test phase via "mvn test". My question was to wonder if running "mvn clean install" would affect the results of my "mvn test". :) I'll just agree that Maven hates me.
Take care, Jeremy On 1/23/07, David Blevins <[EMAIL PROTECTED]> wrote:
On Jan 23, 2007, at 8:23 PM, Jeremy Whitlock wrote: > Is "mvn clean install" a precursor to the "mvn test"? It's the reverse (test is before install). The best doc I know of for this subject is here: http://maven.apache.org/guides/introduction/introduction-to-the- lifecycle.html -David > On 1/23/07, David Blevins <[EMAIL PROTECTED]> wrote: >> >> >> On Jan 23, 2007, at 4:07 PM, Jeremy Whitlock wrote: >> >> > David, >> > Thanks for the tip. That is a step I was not doing. Why would >> > installing OpenEJB be required for running the tests? >> >> It's a maven thing. Install means to put poms and such in your local >> repo. The clean command cleans out our target directories which is >> also critical if you haven't built in while. >> >> -David >> >> > Take care, >> > >> > Jeremy >> > >> > On 1/23/07, David Blevins <[EMAIL PROTECTED]> wrote: >> >> >> >> >> >> On Jan 19, 2007, at 9:01 PM, Jeremy Whitlock wrote: >> >> >> >> > If I run >> >> > "mvn test" from openejb3/container/openejb-core, the tests >> all run >> >> > properly >> >> > and pass. If I run "mvn test" from openejb3/, the previously >> >> > passing tests >> >> > of openejb-core fail for some reason. >> >> >> >> Just to note, you should use 'mvn clean install'. Even if "mvn >> test" >> >> should work, definitley use "mvn clean install" >> >> >> >> -David >> >> >> >> >> >>
