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" <[email protected]> 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: [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