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)

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: