Type: New Feature
Affects Version/s: None
Fix Version/s: None
Number of attachments :
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
PS: I can not use cactus plugin, etc as I want to use WAR/EAR/JAR plugins that integrate well with TEST plugin.