[JIRA] (JENKINS-61417) maven plugin does not load .mvn config (jvm.config,maven.config)

4 views
Skip to first unread message

adam.gent@snaphop.com (JIRA)

unread,
Mar 10, 2020, 12:18:03 PM3/10/20
to jenkinsc...@googlegroups.com
Adam Gent created an issue
 
Jenkins / Bug JENKINS-61417
maven plugin does not load .mvn config (jvm.config,maven.config)
Issue Type: Bug Bug
Assignee: Unassigned
Components: maven-plugin
Created: 2020-03-10 16:17
Environment: Jenkins version 2.164.2
maven integration plugin 3.4
Priority: Major Major
Reporter: Adam Gent

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'

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages