Uploaded image for project: 'Maven Deploy Plugin'
  1. Maven Deploy Plugin
  2. MDEPLOY-267

add parameters to deploy or not non snapshots or release (-DskipRelease or -DskipSnapshot)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-M2
    • None
    • None

    Description

      maven-release-plugin creates a commit where the pom is not a SNAPSHOT version: if CI system is configured to build on every commit and to deploy the artifacts on every build (with the intent in general to deploy updated SNAPSHOTs on every commit), the CI will deploy the non-SNAPSHOT that has already been deployed by the user who launched mvn release:perform, then it will generate an error (trying to override existing release artifact) and/or create new staging repository and/or override artifacts partially (if repository not configured to block overrides)

      we can add a new parameter -DdeployOnlySnaphots=true/false: it will be false per default for normal use, but can be configured to true in users' CI system.

      Attachments

        Issue Links

          Activity

            People

              olamy Olivier Lamy
              olamy Olivier Lamy
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: