You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sri <sr...@googlemail.com> on 2010/11/05 18:42:06 UTC
unable to get the net.sf.json-lib
Hi All,
I am unable to get the net.sf.json-lib library from the repository. I am
using following dependency info.
<dependency>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.3</version>
<type>pom</type>
</dependency>
and I tried with
<dependency>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.3</version>
</dependency>
for the first one it is not showing any error but no jar is downloaded , for
the second one it is showing error in the pom.xml
do I need to include any repository /plugin repository.
Thanks in advance for your help.
Regards
Sri
--
View this message in context: http://maven.40175.n5.nabble.com/unable-to-get-the-net-sf-json-lib-tp3252207p3252207.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: unable to get the net.sf.json-lib
Posted by Justin Edelson <ju...@justinedelson.com>.
Did you ask json-lib? What does the error say?
In the first case, you're specifying type=pom, so only the pom is being
downloaded. In the second case, the error is likely because there is no
JAR artifact. And... Looking at what's on central, it seems you need to
specify a classifier of either jdk15 or jdk13.
Justin
On 11/5/10 1:42 PM, "Sri" <sr...@googlemail.com> wrote:
>
>Hi All,
>
>I am unable to get the net.sf.json-lib library from the repository. I am
>using following dependency info.
>
> <dependency>
> <groupId>net.sf.json-lib</groupId>
> <artifactId>json-lib</artifactId>
> <version>2.3</version>
> <type>pom</type>
> </dependency>
>
>and I tried with
> <dependency>
> <groupId>net.sf.json-lib</groupId>
> <artifactId>json-lib</artifactId>
> <version>2.3</version>
> </dependency>
>for the first one it is not showing any error but no jar is downloaded ,
>for
>the second one it is showing error in the pom.xml
>
>do I need to include any repository /plugin repository.
>
>Thanks in advance for your help.
>
>Regards
>Sri
>
>
>--
>View this message in context:
>http://maven.40175.n5.nabble.com/unable-to-get-the-net-sf-json-lib-tp32522
>07p3252207.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