[ http://jira.codehaus.org/browse/MNG-3116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102789 ]
Tim Kettler commented on MNG-3116: ---------------------------------- Have a look at the plugin documentation: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html <skipExec> should do what you want. > maven.test.skip=true should not skip test compilation/packaging > --------------------------------------------------------------- > > Key: MNG-3116 > URL: http://jira.codehaus.org/browse/MNG-3116 > Project: Maven 2 > Issue Type: Improvement > Affects Versions: 2.0.7 > Reporter: Florian Kirchmeir > > Hi! > I'm raising an issue that has already been noted for Maven 1.x. See: > http://jira.codehaus.org/browse/MPTEST-51 > In our case, we're running into this problem because our build-machine is > different from the test-machine. > So, when building the application, tests must not be executed, but still be > compiled and packaged! > Currently, when setting maven.test.skip=true, compilation and packaging will > be skipped as well. > We'd need a way to skip test execution only! > Best regards, > Florian Kirchmeir -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira