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

    Details

    • 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:
      None
    • Number of attachments :
      0

      Description

      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

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Stephen Connolly
              Reporter:
              Ruben Garat
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: