JSON jar and Maven POM

2007-01-25 Thread Mitch Stewart
I just wanted to clarify something with the new Maven POM files.

In the org.restlet.ext.json_2.0.pom file, there are no dependencies, but
it looks like it should include the org.json.jar file. If you intend on
using JSON + Restlet + Maven2 you will probably have to install the
org.json.jar file into a local repository and add a dependency to the
org.restlet.ext.json_2.0.pom file before you load it into your local
repository.

I don't know if this should be documented anywhere...maybe a comment in
the pom file itself? 
 
Thank you to the Restlet team for providing these files!

Mitch




RE: JSON jar and Maven POM

2007-01-25 Thread Jerome Louvel

Hi Mitch,

Thanks for the note, I'm glad to see that these POM files are simplifying
your work with Restlets.

As for the JSON module, I've added a new dependency. I couldn't find any
existing POM for JSON, so I've assigned it a bundle name of org.json, an
artifactId of org.json and a version 2.0. I've also added a comment
inside the POM explaining this new dependency.

Best regards,
Jerome  

 -Message d'origine-
 De : Mitch Stewart [mailto:[EMAIL PROTECTED] 
 Envoyé : jeudi 25 janvier 2007 15:48
 À : discuss@restlet.tigris.org
 Objet : JSON jar and Maven POM
 
 I just wanted to clarify something with the new Maven POM files.
 
 In the org.restlet.ext.json_2.0.pom file, there are no 
 dependencies, but
 it looks like it should include the org.json.jar file. If you 
 intend on
 using JSON + Restlet + Maven2 you will probably have to install the
 org.json.jar file into a local repository and add a dependency to the
 org.restlet.ext.json_2.0.pom file before you load it into your local
 repository.
 
 I don't know if this should be documented anywhere...maybe a 
 comment in
 the pom file itself? 
  
 Thank you to the Restlet team for providing these files!
 
 Mitch