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

Setup Maven Environment as Build Wrapper

    Details

    • Type: New Feature
    • Status: In Progress (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      Although there is already the Maven job type as well a a dedicated build step ("Invoke Top Level Maven"), tt is sometimes necessary to invoke Maven from other processes and tools. e.g. shell, make.

      Therefore it would be nice to expose a Maven environment, i.e. M2_HOME and the like in the path as a build wrapper in the same fashion this is already available for Go, NodeJS and others.

      I have an implementation already available and will create a PR soon after doing some cleanup, e.g. documentation, etc.

        Attachments

          Issue Links

            Activity

            Hide
            christiangalsterer Christian Galsterer added a comment - - edited

            A PR is now available at https://github.com/jenkinsci/maven-plugin/pull/110. Would be great if this can be reviewed and merged soon as several development teams are depending on this new feature. Please let me know on any feedback/changes required.

            Show
            christiangalsterer Christian Galsterer added a comment - - edited A PR is now available at https://github.com/jenkinsci/maven-plugin/pull/110.  Would be great if this can be reviewed and merged soon as several development teams are depending on this new feature. Please let me know on any feedback/changes required.

              People

              • Assignee:
                Unassigned
                Reporter:
                christiangalsterer Christian Galsterer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: