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

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

    Details

    • Similar Issues:

      Description

      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?

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated: