Re: [json-lib-user] using json-lib in maven dependency
Brought to you by:
aalmiray
From: Yuen C. L. <yue...@gm...> - 2007-10-16 15:59:14
|
Thanks a lot Andres. All these while, I downloaded the artifact, renamed it and manually installed it, argh! On 10/16/07, Andres Almiray <aal...@ya...> wrote: > > Hi John, > > You'll have to add a <classifier> tag like so: > > <dependency> > <groupId>net.sf.json-lib</groupId> > <artifactId>json-lib</artifactId> > <version>2.1</version> > <classifier>jdk5</classifier> > </dependency> > > Cheers, > Andres > > ------------------------------------------- > http://jroller.com/page/aalmiray > http://www.linkedin.com/in/aalmiray > -- > What goes up, must come down. Ask any system administrator. > There are 10 types of people in the world: Those who understand binary, > and those who don't. > To understand recursion, we must first understand recursion. > > ----- Original Message ---- > From: John Cartwright <Joh...@no...> > To: jso...@li... > Sent: Tuesday, October 16, 2007 9:46:51 AM > Subject: [json-lib-user] using json-lib in maven dependency > > Hello All, > > I'm having a little trouble getting json-lib to work w/ my maven2 > project. Trying to use a dependency like: > > <dependency> > <groupId>net.sf.json-lib</groupId> > <artifactId>json-lib</artifactId> > <version>2.1</version> > </dependency> > > I think the problem lies between the mismatch of the artifactId, > "json-lib-2.1-jdk15.jar > < > http://repo1.maven.org/maven2/net/sf/json-lib/json-lib/2.1/json-lib-2.1-jdk15.jar>" > > and the pom, "json-lib-2.1.pom > < > http://repo1.maven.org/maven2/net/sf/json-lib/json-lib/2.1/json-lib-2.1.pom>". > > Any advice on how to deal w/ this or would it be appropriate to upload a > jar file that matches the pom? > > Thanks! > > -- john > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > json-lib-user mailing list > jso...@li... > https://lists.sourceforge.net/lists/listinfo/json-lib-user > > > ------------------------------ > Looking for a deal? Find great prices on flights and hotels<http://us.rd.yahoo.com/evt=47094/*http://farechase.yahoo.com/;_ylc=X3oDMTFicDJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20->with Yahoo! FareChase. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > json-lib-user mailing list > jso...@li... > https://lists.sourceforge.net/lists/listinfo/json-lib-user > > -- Cheers, Yuen-Chi Lian "I do not seek; I find." - Pablo Picasso |