You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2019/08/03 22:15:54 UTC

[maven-integration-testing] 03/03: new Surefire version with new feature 'excludedEnvironmentVariables' excluding Jenkins' env 'JAVA_TOOL_OPTIONS'

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

tibordigana pushed a commit to branch MNG-6726
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git

commit c0497ba5804173e61b484bf6bb072489b92af71d
Author: tibordigana <ti...@apache.org>
AuthorDate: Sat Aug 3 22:10:54 2019 +0200

    new Surefire version with new feature 'excludedEnvironmentVariables' excluding Jenkins' env 'JAVA_TOOL_OPTIONS'
---
 pom.xml | 24 +++++++++++++++++++++---
 1 file changed, 21 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 4bb9c7e..8944c66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,13 +86,29 @@ under the License.
     <repository>
       <id>apache.snapshots</id>
       <name>Apache Snapshot Repository</name>
-      <url>http://repository.apache.org/snapshots</url>
+      <url>https://repository.apache.org/content/groups/snapshots</url>
       <releases>
         <enabled>false</enabled>
       </releases>
     </repository>
   </repositories>
 
+  <pluginRepositories>
+    <pluginRepository>
+      <id>apache.snapshots.plugins</id>
+      <name>Apache Snapshot Plugin Repository</name>
+      <url>https://repository.apache.org/content/groups/snapshots</url>
+      <snapshots>
+        <enabled>true</enabled>
+        <updatePolicy>always</updatePolicy>
+        <checksumPolicy>ignore</checksumPolicy>
+      </snapshots>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+    </pluginRepository>
+  </pluginRepositories>
+
   <profiles>
     <profile>
       <id>reporting</id>
@@ -132,12 +148,14 @@ under the License.
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.22.0</version>
+          <version>3.0.0-SNAPSHOT</version>
           <configuration>
             <environmentVariables>
               <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
-              <JAVA_TOOL_OPTIONS></JAVA_TOOL_OPTIONS>
             </environmentVariables>
+			<excludedEnvironmentVariables>
+			  <excludedEnvironmentVariable>JAVA_TOOL_OPTIONS</excludedEnvironmentVariable>
+			</excludedEnvironmentVariables>
           </configuration>
         </plugin>
         <plugin>