You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2023/01/13 16:52:29 UTC

[GitHub] [maven-integration-testing] slawekjaranowski commented on a diff in pull request #232: Remove a few system properties before initializing the maven verifier

slawekjaranowski commented on code in PR #232:
URL: https://github.com/apache/maven-integration-testing/pull/232#discussion_r1069688846


##########
core-it-suite/src/test/java/org/apache/maven/it/TestSuiteOrdering.java:
##########
@@ -50,6 +50,9 @@ private static void infoProperty( PrintStream info, String property )
     {
         try
         {
+            System.clearProperty( "maven.bootclasspath" );
+            System.clearProperty( "maven.conf" );
+            System.clearProperty( "classworlds.conf" );

Review Comment:
   `maven.bootclasspath` and `classworlds.conf` are used by Verifier - can be null, will be discovered according to `maven.home` used by test. 
   By the way, should by fixed in Verifier 😄 I have a plan for it ...
   
   `maven.conf` is used by Maven itself ... grrry 
   https://github.com/apache/maven/search?l=Java&q=maven.conf
   
   I hope that `DefaultMavenSettingsBuilder` is not used ....
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org