Hi, The link you refer to clearly states that you need to specify -Dclassifier=sources. I don't think that the packaging should be 'sources' but 'jar'.
/Anders On Mon, Jun 22, 2009 at 07:11, Lutchumaya<l...@ividence.com> wrote: > > Hello everyone I am unable to copy my sources jar into my repo. > > My command is in a bat file as below > > [CODE] > mvn -N deploy:deploy-file -DgroupId=mysql -DartifactId=mysql-connector-java > -Dversion=5.1.7 -Dpackaging=sources -DgeneratePom=false > -Dfile=mysql-connector-java-5.1.7-sources.jar > [/CODE] > > I have follow this link > http://www.nabble.com/How-do-i-upload-sources-for-a-3rd-party-jar--td20138845.html > > But still no sources are being created in my repo. > > Can anyone help me please > > Regards > Lutchumaya > -- > View this message in context: > http://www.nabble.com/How-do-i-upload-sources-for-a-3rd-party-jar--tp24141856p24141856.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org