Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Maven problems

Help
2010-03-25
2013-04-29
  • 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é

     
  • aalmiray
    aalmiray
    2010-03-25

    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é