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

Release & Versions Maven plugin

XMLWordPrintable

      Hi,

      we have a problem with maven releases and maven version plugin. In Jenkins we want to do releases automatically upon pressing a button. To remove snapshot dependencies we want to use the maven versions plugin. Suppose we have two projects A (latest release 0.0.1, latest snapshot 0.0.2-SNAPSHOT) and project B with a dependency on ProjectA - 0.0.2-SNAPSHOT and we want to release project B. How can we upgrade project Bs dependencies to the latest available release version? The maven versions plugin goal "use-releases" does not change the 0.0.2-SNAPSHOT dependency because there is no 0.0.2 release version of this project.

      So my question is: how can we automatically remove snapshot dependencies and replace them with the latest available release version in our scenario?

            Unassigned Unassigned
            lebrame57 alexis oliot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: