Herv created MNG-7563: ------------------------- Summary: Java system properties now overides user properties in dependencies Key: MNG-7563 URL: https://issues.apache.org/jira/browse/MNG-7563 Project: Maven Issue Type: Bug Components: Dependencies, POM Affects Versions: 3.8.6, 3.8.5 Reporter: Herv Attachments: poms.zip
An important change has been introduced in 3.8.5 that breaks some existing builds: Java system properties now take precedence over default values of user properties in dependency POMs. This look like a bug since it's now easy to affect dependency behaviors with system properties, a practice that has been discouraged. But maybe do you consider this as a new feature ? As an example, 3 poms are attached to this ticket. After installing project b and c, building project a with: {{mvn package -Ddep=x}} used to succeed until 3.8.4 (-D is ignored) but throws error with 3.8.5 and 3.8.6 (-D override the default). -- This message was sent by Atlassian Jira (v8.20.10#820010)