Maven Deploy Plugin (moved to ASF)
  1. Maven Deploy Plugin (moved to ASF)
  2. MDEPLOY-134

mvn deploy:deploy-file should allow to add an arbitrary number of attached artifacts not only sources and javadoc


    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: deploy:deploy-file
    • Labels:
    • Number of attachments :


      I have to deploy some artifacts that have the main jar, javadoc, sources, and different artifacts for natives for different OS using classifiers to indicate the OS.
      In this case I still have the same problem that #MDEPLOY-48 tried to fix by allowing to deploy sources and javadoc with the main jar in one step but with the native artifacts, there is no good solution that supports maven 2 and maven 3 for deploying this artifacts as separate steps (if I use uniqueVersions=false then maven 3 doesn't update the snapshots even when forcing it, if I use uniqueVersion=true then when using maven 2 it fails to resolve the main jar because the pom has a different timestamp than the jar)

      something like:
      -attached classifier:artifactpath

      and allowing this command to be repeated would work I think.

        Issue Links


          There are no comments yet on this issue.


            • Assignee:
              Stephen Connolly
              Ruben Garat


              • Created: