You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/04/20 10:02:13 UTC

[maven-enforcer] 03/03: IT failures shouldn't be ignored

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-enforcer.git

commit c84d3dbe38ae8756f85785f304f9971135457b76
Author: rfscholte <rf...@apache.org>
AuthorDate: Sat Apr 20 12:02:04 2019 +0200

    IT failures shouldn't be ignored
---
 maven-enforcer-plugin/pom.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/maven-enforcer-plugin/pom.xml b/maven-enforcer-plugin/pom.xml
index 0d2eda7..0842e22 100644
--- a/maven-enforcer-plugin/pom.xml
+++ b/maven-enforcer-plugin/pom.xml
@@ -151,6 +151,9 @@
   <profiles>
     <profile>
       <id>run-its</id>
+      <properties>
+        <maven.it.failure.ignore>false</maven.it.failure.ignore>
+      </properties>
       <build>
         <plugins>
           <plugin>
@@ -163,6 +166,7 @@
               <postBuildHookScript>verify</postBuildHookScript>
               <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
               <settingsFile>src/it/mrm/settings.xml</settingsFile>
+              <ignoreFailures>${maven.it.failure.ignore}</ignoreFailures>
               <goals>
                 <goal>validate</goal>
               </goals>