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

Maven 2 Extra Steps does not use private Maven repository if set on project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • m2-extra-steps-plugin
    • None
    • Platform: All, OS: All

    Description

      If "Use private Maven repository" is set for maven build, then it should also be
      set for any configured M2 Extra Build Steps.

      Currently, the flags passed to the main mvn task to use the private repository
      i.e.:
      Executing Maven: -B -f /opt/hudson/.hudson/jobs/MYJOB/workspace/pom.xml
      -Dmaven.repo.local=/opt/hudson/.hudson/jobs/MYJOB/workspace/.repository package

      are not passed to the maven that is invoked from any of these extra build steps.
      i.e.:
      [workspace] $ /opt/apache-maven-2.0.9/bin/mvn clean

      Attachments

        Activity

          People

            Unassigned Unassigned
            jchristi jchristi
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: