Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7
    • deploy:deploy-file
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              stephenconnolly stephenconnolly
              ruben01 Ruben Garat
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: