Maven Deploy Plugin
  1. Maven Deploy Plugin
  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
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: deploy:deploy-file
    • Labels:


      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


          Ruben Garat created issue -
          stephenconnolly made changes -
          Field Original Value New Value
          Link This issue duplicates MDEPLOY-137 [ MDEPLOY-137 ]
          stephenconnolly made changes -
          Assignee Stephen Connolly [ stephenconnolly ]
          Resolution Fixed [ 1 ]
          Fix Version/s 2.7 [ 17357 ]
          Status Open [ 1 ] Closed [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:25:59 UTC 2015 [ 1428225959796 ]
          Mark Thomas made changes -
          Workflow jira [ 12719366 ] Default workflow, editable Closed status [ 12761502 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 23:00:37 UTC 2015 [ 1428274837609 ]
          Mark Thomas made changes -
          Workflow jira [ 12956739 ] Default workflow, editable Closed status [ 12993481 ]


            • Assignee:
              Ruben Garat
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: