Re: [json-lib-user] using json-lib in maven dependency
Brought to you by:
aalmiray
From: Andres A. <aal...@ya...> - 2007-10-16 15:15:00
|
Hi John,=0A=0AYou'll have to add a <classifier> tag like so:=0A=0A<dependen= cy>=0A <groupId>net.sf.json-lib</groupId>=0A <artifactId>json= -lib</artifactId>=0A <version>2.1</version>=0A <classifier>jd= k5</classifier>=0A</dependency>=0A=0ACheers,=0AAndres=0A =0A---------------= ----------------------------=0Ahttp://jroller.com/page/aalmiray=0Ahttp://ww= w.linkedin.com/in/aalmiray=0A--=0AWhat goes up, must come down. Ask any sys= tem administrator.=0AThere are 10 types of people in the world: Those who u= nderstand binary, and those who don't.=0ATo understand recursion, we mu= st first understand recursion.=0A=0A----- Original Message ----=0AFrom: Joh= n Cartwright <Joh...@no...>=0ATo: jso...@li...urcef= orge.net=0ASent: Tuesday, October 16, 2007 9:46:51 AM=0ASubject: [json-lib-= user] using json-lib in maven dependency=0A=0A=0AHello All,=0A=0AI'm having= a little trouble getting json-lib to work w/ my maven2 =0Aproject. Trying= to use a dependency like:=0A=0A<dependency>=0A <groupId>net.sf.json= -lib</groupId>=0A <artifactId>json-lib</artifactId>=0A <versi= on>2.1</version>=0A</dependency>=0A=0AI think the problem lies between the = mismatch of the artifactId, =0A"json-lib-2.1-jdk15.jar =0A<http://repo1.mav= en.org/maven2/net/sf/json-lib/json-lib/2.1/json-lib-2.1-jdk15.jar>" =0Aand = the pom, "json-lib-2.1.pom =0A<http://repo1.maven.org/maven2/net/sf/json-li= b/json-lib/2.1/json-lib-2.1.pom>". =0AAny advice on how to deal w/ this or= would it be appropriate to upload=0A a =0Ajar file that matches the pom?= =0A=0AThanks!=0A=0A-- john=0A=0A=0A----------------------------------------= ---------------------------------=0AThis SF.net email is sponsored by: Splu= nk Inc.=0AStill grepping through log files to find problems? Stop.=0ANow S= earch log events and configuration files using AJAX and a browser.=0ADownlo= ad your FREE copy of Splunk now >> http://get.splunk.com/=0A_______________= ________________________________=0Ajson-lib-user mailing list=0Ajson-lib-us= er...@li...=0Ahttps://lists.sourceforge.net/lists/listinfo/jso= n-lib-user=0A=0A=0A=0A=0A=0A=0A ______________________________________= ______________________________________________=0ATonight's top picks. What = will you watch tonight? Preview the hottest shows on Yahoo! TV.=0Ahttp://tv= .yahoo.com/ =0A |