Hi!
I'm having problems to download the library from maven. What's the maven repository address to download the binaries, javadoc and sourcecode to the library and its dependencies? I tried out the following without success:
* http://json-lib.cvs.sourceforge.net/json-lib * http://ftp.us.xemacs.org/pub/mirrors/maven2 * http://repo1.maven.org/maven2/
The dependency snippet used was:
<dependency> <groupId>net.sf.json-lib</groupId> <artifactId>json-lib</artifactId> <version>2.3/version> </dependency>
Thanks, José
José,
The repository is available at http://repo1.maven.org/maven2 (maven's central repo)
You must also set a classifier value (either jdk13 or jdk15), like this
<dependency> <groupId>net.sf.json</groupId> <artifactId>json-lib</artifactId> <version>2.3</version> <classifier>jdk15</classifier> </dependency>
Cheers, Andres
Hi Andres.
Now works great!
Thanks for the answer, José
Log in to post a comment.
Hi!
I'm having problems to download the library from maven. What's the maven repository address to download the binaries, javadoc and sourcecode to the library and its dependencies? I tried out the following without success:
* http://json-lib.cvs.sourceforge.net/json-lib
* http://ftp.us.xemacs.org/pub/mirrors/maven2
* http://repo1.maven.org/maven2/
The dependency snippet used was:
<dependency>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.3/version>
</dependency>
Thanks,
José
José,
The repository is available at http://repo1.maven.org/maven2 (maven's central repo)
You must also set a classifier value (either jdk13 or jdk15), like this
<dependency>
<groupId>net.sf.json</groupId>
<artifactId>json-lib</artifactId>
<version>2.3</version>
<classifier>jdk15</classifier>
</dependency>
Cheers,
Andres
Hi Andres.
Now works great!
Thanks for the answer,
José