You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2018/01/02 13:53:22 UTC

[maven-parent] branch master updated: Apply defaults to prevent forked Maven processes from being picked up by CI

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

stephenc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-parent.git


The following commit(s) were added to refs/heads/master by this push:
     new 9c3213c  Apply defaults to prevent forked Maven processes from being picked up by CI
9c3213c is described below

commit 9c3213c8a5aa7441bc1e79376d3a3b901eaca2a2
Author: Stephen Connolly <st...@gmail.com>
AuthorDate: Tue Jan 2 13:53:18 2018 +0000

    Apply defaults to prevent forked Maven processes from being picked up by CI
---
 pom.xml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/pom.xml b/pom.xml
index 8fc9372..e84fd89 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1027,6 +1027,37 @@ under the License.
             </tagletArtifacts>
           </configuration>
         </plugin>
+        <!-- 
+          The Maven TLP's sub-projects are likely to fork Maven for tests
+          ensure such forked tests do not get picked up by CI
+        -->
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-surefire-plugin</artifactId>
+          <configuration>
+            <environmentVariables>
+              <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
+            </environmentVariables>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-failsafe-plugin</artifactId>
+          <configuration>
+            <environmentVariables>
+              <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
+            </environmentVariables>
+          </configuration>
+        </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-invoker-plugin</artifactId>
+          <configuration>
+            <environmentVariables>
+              <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
+            </environmentVariables>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>

-- 
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].