Maven 1.x Test Plugin

independent properties for skipping test:compile and test:test

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    1.6.2 version
  • Number of attachments :
    0

Description

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.

Activity

There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    kishore
Vote (3)
Watch (1)

Dates

  • Created:
    Updated: