Give this a try... Use that same command, but add -Dclassifier=sources
or -Dclassifier=javadoc as appropriate. I'm reasonably certain that
will work.

Wayne

On 11/8/06, Mikkel Jensen <[EMAIL PROTECTED]> wrote:
How can I upload 3rd party source jars to an external repository?
Using the webdav plugin I am able to upload standard bytecode jars like
this:

mvn deploy:deploy-file -DgroupId=<group-id>
                       -DartifactId=<artifact-id>
                       -Dversion=<version>
                       -Dfile=<path-to-file>
                       -Dpackaging=jar
                       -DrepositoryId=<repository-id>
                       -Durl=dav:http://www.myrepository.com/m2

But I cant find any mention of source jars (or javadoc jars for that
matter)!

Any pointers?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to