Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61417

maven plugin does not load .mvn config (jvm.config,maven.config)

    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'

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              agentgt Adam Gent
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: