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

Add an option to be able to abort if an artifact is already present in the deployment repository

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • None

    Description

      Hi all,

      Would be great if it was possible to use a command like:
      mvn deploy -DfailIfPresent=true (false by default, to behave as currently)

      That switch would do a build failure if the artifact is found in the deployment repository.

      Alternatively or in addition, a -DdryRun=true could add a simulation mode to this plugin. Particularly, it would clearly display if the artifact would be overriding an already present one or not.

      Cheers.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              mathus.b@mipih.fr Baptiste MATHUS
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: