Maven problems

Help
2010-03-25
2013-04-29
  • José Roberto Pereira Jr

    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

     
  • José Roberto Pereira Jr

    Hi Andres.

    Now works great!

    Thanks for the answer,
    José

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks