The maven.test.failure.ignore property is forced to true during the execution of the tests (so that report generation do not fail if the tests fail) but it is not reset to its initial value aftewards, thus causing issues for other plugins thereafter relying on it.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113461 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -27,9 +27,13 @@
|
||||
|
||||
<j:if test="${unitTestSourcesPresent == 'true'}">
|
||||
|
||||
<!-- Make sure that the report is generated whether the tests pass or
|
||||
not -->
|
||||
<j:set var="ignoreTestFailureOld" value="${maven.test.failure.ignore}"/>
|
||||
<j:set var="maven.test.failure.ignore" scope="parent" value="true"/>
|
||||
<attainGoal name="test:test"/>
|
||||
<j:set var="maven.test.failure.ignore" scope="parent"/>
|
||||
<j:set var="maven.test.failure.ignore" scope="parent"
|
||||
value="${ignoreTestFailureOld}"/>
|
||||
|
||||
<j:set var="testReportsDirectory"
|
||||
value="${pom.getPluginContext('maven-test-plugin').getVariable('maven.test.reportsDirectory')}"/>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-junit-report-plugin</id>
|
||||
<name>Maven JUnit Report Plug-in</name>
|
||||
<currentVersion>1.2</currentVersion>
|
||||
<currentVersion>1.3-SNAPSHOT</currentVersion>
|
||||
<description/>
|
||||
<shortDescription>Java Project Management Tools</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/junit-report/</url>
|
||||
@@ -14,7 +14,24 @@
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/junit-report/</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/junit-report/</url>
|
||||
</repository>
|
||||
<developers/>
|
||||
<versions>
|
||||
<version>
|
||||
<id>1.3</id>
|
||||
<name>1.3</name>
|
||||
<tag>HEAD</tag>
|
||||
</version>
|
||||
</versions>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Vincent Massol</name>
|
||||
<id>vmassol</id>
|
||||
<email>vmassol@pivolis.com</email>
|
||||
<organization>Pivolis</organization>
|
||||
<roles>
|
||||
<role>Java Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>commons-jelly</groupId>
|
||||
|
||||
24
junit-report/xdocs/changes.xml
Normal file
24
junit-report/xdocs/changes.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0"?>
|
||||
<document>
|
||||
<properties>
|
||||
<title>Changes</title>
|
||||
<author email="vmassol@apache.org">Vincent Massol</author>
|
||||
</properties>
|
||||
|
||||
<body>
|
||||
|
||||
<release version="1.3" date="in CVS">
|
||||
<action dev="vmassol" type="fix">
|
||||
The <code>maven.test.failure.ignore</code> is forced to true during
|
||||
the execution of the tests (so that report generation do not fail
|
||||
if the tests fail) but it is not reset to its initial value aftewards,
|
||||
thus causing issues for other plugins thereafter relying on it.
|
||||
</action>
|
||||
</release>
|
||||
|
||||
<release version="1.2" date="?">
|
||||
</release>
|
||||
|
||||
</body>
|
||||
</document>
|
||||
|
||||
Reference in New Issue
Block a user