[ 
http://jira.codehaus.org/browse/MDEPLOY-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=147477#action_147477
 ] 

Brandon Goodin commented on MDEPLOY-48:
---------------------------------------

http://maven.apache.org/guides/mini/guide-3rd-party-jars-remote.html

Deploying Source Jars

To deploy a 3rd party source jar, packaging should be set to java-source, and 
generatePom should be set to false.



Works for me:)

> deploy:deploy-file does not support deploying sources jars too
> --------------------------------------------------------------
>
>                 Key: MDEPLOY-48
>                 URL: http://jira.codehaus.org/browse/MDEPLOY-48
>             Project: Maven 2.x Deploy Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.3
>            Reporter: Geoffrey De Smet
>
> deploy:deploy does, but deploy:deploy-file doesn't have a parameter to tell 
> him where the sources jar is:
> mvn deploy:deploy-file -Dfile=$artifactFile -DpomFile=$pomFile -Durl=$toRepo

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to