using the -Dclassifier=source does work. However, when i use eclipse:eclipse with downloadSources=true, i do not get the source entry into the .classpatht file..(BTW, 1.no .sha file was created in my local repository when i used that jar 2. the sources jar was created manually using winrar). my upload command was: call mvn deploy:deploy-file -DgroupId=jboss.portal -DartifactId=api -Dclassifier=sources -Dversion=2.6.5 "-Dfile=./portal-api-lib-2.6.5.SP1-sources.jar" -Dpackaging=jar -Durl=http://daily-build:8087/nexus/content/repositories/thirdparty
what can it be? ez wrote: > > yep :-) that work, thanks > > Wendy Smoak-3 wrote: >> >> On Thu, Oct 23, 2008 at 1:25 PM, ez <[EMAIL PROTECTED]> wrote: >> >>> i created a jar that contains the jar and the sources (jar-ed). >>> then i called mvn deploy:deploy-file.. >>> however, the entire jar was uploaded as the classes jar.. >> >> Typically the -sources jars in the repository contain *only* the >> source code. When you have that, try mvn deploy:deploy-file again >> with the additional parameter -Dclassifier=sources . >> >> http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploying-with-classifiers.html >> >> If you're still having trouble, paste the entire command you tried. >> >> -- >> Wendy >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/How-do-i-upload-sources-for-a-3rd-party-jar--tp20138845p20161369.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
