You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Lutchumaya <lk...@ividence.com> on 2009/06/22 07:11:18 UTC
How do i upload sources for a 3rd party jar?
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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How do i upload sources for a 3rd party jar?
Posted by Anders Hammar <an...@hammar.net>.
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<lk...@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-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org