Zhou, Wei wrote:
Hi,

I need to build the jar file before my test code can be run. But Maven 2
only packages the jar file after the test code is run successfully. I
have tried to play with my pom file to move the maven-jar-plugin into an
earlier phase. But I have no luck. Does anyone know how to build a jar
file before the test phase?

Thanks!

Wei


You can temporary turn off the test phase by mvn -Dmaven.test.skip=true clean package

Cheh

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to