gnodet commented on code in PR #1595:
URL: https://github.com/apache/maven/pull/1595#discussion_r1675421330


##########
maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java:
##########
@@ -874,9 +873,9 @@ private static <T> List<T> reverse(List<T> list) {
     }
 
     private List<File> parseExtClasspath(CliRequest cliRequest) {
-        String extClassPath = 
cliRequest.userProperties.getProperty(EXT_CLASS_PATH);
+        String extClassPath = 
cliRequest.userProperties.getProperty(Constants.MAVEN_EXT_CLASS_PATH);
         if (extClassPath == null) {
-            extClassPath = 
cliRequest.systemProperties.getProperty(EXT_CLASS_PATH);
+            extClassPath = 
cliRequest.systemProperties.getProperty(Constants.MAVEN_EXT_CLASS_PATH);

Review Comment:
   I think we can keep a user properties only.
   What about adding a warning if the user uses this system property ? We could 
direct him to use a user property instead ?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to