Details
-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: maven-plugin
-
Labels:None
-
Environment:Jenkins version 2.164.2
maven integration plugin 3.4
-
Similar Issues:
Description
Maven style builds (which use the maven integration plugin) do not load or respect .mvn/*.config.
This is not to be confused with a previous issue with Maven itself where -f could not find .mvn. That is freestyle builds work fine and even executing maven pre or post steps work fine.
An easy way to test this is to create a project with .mvn/jvm.config or .mvn/maven.config with some property defined like -DsomeProperty=true
Then set the goal to:
org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate -Dexpression='someProperty'