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

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

      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

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

              Created:
              Updated: