-
Improvement
-
Resolution: Fixed
-
Major
-
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.
- is related to
-
JENKINS-7985 In Maven2 jobs, parsing POM is done *after* calling pre-build steps (using M2-extra-steps-plugin)
-
- Open
-
Changing this to an improvement request, since I don't actually consider the current behavior to be a bug. It's that way by design - the POM parsing happens before everything else build-related. That may be something we could consider changing, but it's not a bug.