You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "kishore (JIRA)" <ji...@codehaus.org> on 2005/05/10 17:15:29 UTC

[jira] Created: (MPTEST-51) independent properties for skipping test:compile and test:test

independent properties for skipping test:compile and test:test
--------------------------------------------------------------

         Key: MPTEST-51
         URL: http://jira.codehaus.org/browse/MPTEST-51
     Project: maven-test-plugin
        Type: New Feature
 Environment: 1.6.2 version
    Reporter: kishore


Currently when I set maven.test.skip=true, both test:compile and test:test are skipped. I would like to skip these two independently because I am using cactus which needs deployment prior to testing. So I would like to run test:compile and deploy first. And later i want to run test:test.

I do not directly use the test plugin. It is used by WAR, EAR, etc. plugins that invoke test:test. So during the deployment goal, I would like to skip running the tests - but I want to compile the tests, package them and deploy them.

And later while running the tests, I would like skip the compilation (this is just a time saving thing.)

My suggestion is:
maven.test.compile.skip=true/false #skip test:compile only
maven.test.run.skip=true/false #skip test:test only
maven.test.skip=true/false #skip both run and compile, same as now

Thanks
Kishore

PS: I can not use cactus plugin, etc as I want to use WAR/EAR/JAR plugins that integrate well with TEST plugin.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org