To skip the unit tests:

mvn -Dmaven.test.skip=true

or add the following to pom.xml:

<project>
 ...
 <build>
   <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-surefire-plugin</artifactId>
       <configuration>
         <skip>true</skip>
       </configuration>
     </plugin>

   </plugins>
 </build>
 ...
</project>

On 06/06/06, cristal <[EMAIL PROTECTED]> wrote:

Is there a way that the maven2 build can skip the test phase even if the
src/test/java/* is in the folder structure?

Thanks.
--
View this message in context: 
http://www.nabble.com/Skipping-Test-Phase.-t1741757.html#a4733181
Sent from the Maven - Users forum at Nabble.com.


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



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

Reply via email to