maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jia Lu (JIRA)" <>
Subject [jira] Commented: (SUREFIRE-319) <skip>true</skip> cannot be overridden using mvn -Dmaven.test.skip=false test
Date Tue, 12 Feb 2008 00:27:29 GMT


Jia Lu  commented on SUREFIRE-319:

We expereience same issue. It would be very useful if the "skip" values in pom.xml can be
overridden in command line. 
e.g pom.xml

Developers can simply build without junit test by just using "mvn install" . And "mvn install
-Dmaven.test.skip=true" will build and run JUnit tests.

> <skip>true</skip> cannot be overridden using mvn -Dmaven.test.skip=false
> -----------------------------------------------------------------------------
>                 Key: SUREFIRE-319
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Bug
>         Environment: java version "1.5.0_09"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b01)
> Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_09-b01, mixed mode)
>            Reporter: Graham Leggett
>             Fix For: 2.x
> If the pom file is configured to skip tests using <skip>true</skip>, and
an attempt is made to override this on the command line using mvn -Dmaven.test.skip=false
test, the attempt does not work (the test is still skipped).
> In theory, the command line flag should override the pom setting.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message