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

                 Key: MDEPLOY-134
                 URL: http://jira.codehaus.org/browse/MDEPLOY-134
             Project: Maven 2.x Deploy Plugin
          Issue Type: Improvement
          Components: deploy:deploy-file
            Reporter: Ruben Garat


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to