Mojo's Versions Maven Plugin
  1. Mojo's Versions Maven Plugin
  2. MVERSIONS-21

Add mojo to lock snapshots to timestamp version

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-alpha-3
    • Labels:
      None
    • Number of attachments :
      1

      Description

      I would like to be able to take a project that has snapshot dependencies and use the versions plugin to automatically set any snapshot versions (-SNAPSHOT) to the specific timestamped snapshot version that was used for the build. Maybe there could be an option to either just print a report or actually make the changes in the pom.

      This would allow the deployed pom to contain more information about what was used in the actual build.

        Issue Links

          Activity

          Hide
          Paul Gier added a comment -

          New patch with lock and unlock mojos.

          Show
          Paul Gier added a comment - New patch with lock and unlock mojos.
          Hide
          Stephen Connolly added a comment -

          Applied patch from Paul Gier (with minor modifications... now checks both dependency and dependency management... tighter regex matching, and fixed a possible bug if a version is 1.0-SNAPSHOT-foo-SNAPSHOT)

          Subversion r9274

          Show
          Stephen Connolly added a comment - Applied patch from Paul Gier (with minor modifications... now checks both dependency and dependency management... tighter regex matching, and fixed a possible bug if a version is 1.0-SNAPSHOT-foo-SNAPSHOT) Subversion r9274

            People

            • Assignee:
              Unassigned
              Reporter:
              Paul Gier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: