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

In Maven2 jobs, parsing POM is done *before* calling pre-build steps (using M2-extra-steps-plugin)

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None

      Currently, the behavior of the Maven plugin is to first parse the main pom, then execute pre-build if available.
      In our case, this causes a problem because we don't store pom.xml directly in our scm, it needs to be instanciated from a template.

      We would need to be able to execute pre-build before parsing the POM.

      Judging from hudson.maven.MavenModuleSetBuild class it seems easy enough to do.

          [JENKINS-5428] In Maven2 jobs, parsing POM is done *before* calling pre-build steps (using M2-extra-steps-plugin)

          Vincent Latombe created issue -
          Andrew Bayer made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Vincent Latombe made changes -
          Attachment New: JENKINS-5428.patch [ 19084 ]
          Vincent Latombe made changes -
          Assignee New: Vincent Latombe [ vlatombe ]
          Vincent Latombe made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Vincent Latombe made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          Vincent Latombe made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          kutzi made changes -
          Link New: This issue is related to JENKINS-7985 [ JENKINS-7985 ]
          Jenkins IRC Bot made changes -
          Component/s New: maven-plugin [ 16033 ]
          Component/s Original: maven2 [ 15487 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135517 ] New: JNJira + In-Review [ 203527 ]

            vlatombe Vincent Latombe
            vlatombe Vincent Latombe
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: