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

Cannot pass arguments to the "Parsing POMs" phase of a Maven build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin

      I would very much like to be able to prevent the "Parsing POMs" phase of a Maven build from downloading snapshot updates of the POM's parents. I have modified POMs in a local repository that I want Jenkins to use, but if there are updates to the parent artifact it downloads this no matter what I do. I can prevent other artifacts from downloading by setting the `-nsu` flag in the goals, but this doesn't affect the initial "Parsing POMs" phase. Also, this makes the `hudson.maven.debug` flag meaningless here as there is no way to set this. Can we either add the ability to set Maven flags in this phase or create an option to prevent updating snapshot dependencies here?

            Unassigned Unassigned
            jcroteau Joel Croteau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: