Hi all,

I've found a similar issue with the jee dependency.

As far as i've seen, there're two 'issues':

- One with the groupId in the pom. It reads org.restlet but it's under 
org.restlet.jee in maven repo. (same as previous posts).

- One with it's parent version. Dont know if it's the way you want it to be but 
it's parent artifact is org.restlet.jee:org.restlet.parent:pom:2.0-SNAPSHOT. In 
this case... i find a kind of extrange cycle:
- org.restlet.ext.json-2.1-RC1
   --> org.restlet.lib.org.json-2.0
      --> org.retlet.parent-2.0-SNAPSHOT

Maybe this version of the lib.org.json dependency is shared between various 
releases, so linking it with a concrete parent version could cause this kind of 
confussion. Is it possible to keep it 'independent'? I mean, with no parent? 

For now, i workarounded the problem by changing json's parent version to the 
one i'm trying (2.1-RC1), as the snapshot wasn't being resolved as release repo.

Best regards, and keep the great work! Just starting with your framework and 
looks really impressive :)

Juan Pablo

> Perfect, thank you very much.
> 
> 2011/1/12 Thierry Boileau <thierry dot boileau at noelios dot com>
> 
> > Hello Romain,
> >
> > the artifacts have been regenerated, do they fit your need?
> >
> >
> > Best regards,
> > Thierry Boileau
> >
> >
> > Hello Romain,
> >>
> >> the maven artifacts will regenerated this evening. I'll keep you informed.
> >>
> >> Best regards,
> >> Thierry Boileau
> >>
> >>
> >> Hello
> >>>
> >>> I still have the same error with the version 2.0.4
> >>>
> >>> If you could just replace in
> >>> http://maven.restlet.org/org/restlet/jse/org.restlet.lib.org.json/2.0/org.restlet.lib.org.json-2.0.pomat
> >>>  line 11
> >>>
> >>> diff :
> >>> 11c11
> >>> <    <groupId>org.restlet</groupId>
> >>> ---
> >>> >    <groupId>org.restlet.jse</groupId>
> >>>
> >>>
> >>> Please
> >>>
> >>> Here is the original file :
> >>>
> >>> <?xml version="1.0" encoding="UTF-8"?>
> >>> <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
> >>> http://www.w3.org/2001/XMLSchema-instance";
> >>>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >>> http://maven.apache.org/maven-v4_0_0.xsd";>
> >>>  <modelVersion>4.0.0</modelVersion>
> >>> <parent>
> >>> <groupId>org.restlet.jse</groupId>
> >>>  <artifactId>org.restlet.parent</artifactId>
> >>> <version>2.0-SNAPSHOT</version>
> >>>  </parent>
> >>>
> >>>    <groupId>org.restlet</groupId>
> >>>    <artifactId>org.restlet.lib.org.json</artifactId>
> >>>    <version>2.0</version>
> >>>
> >>>    <name>JSON framework</name>
> >>>    <description>JSON framework.</description>
> >>> </project>
> >>>
> >>>
> >>> And here is the file I would like for ivy to work.
> >>>
> >>> <?xml version="1.0" encoding="UTF-8"?>
> >>> <project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
> >>> http://www.w3.org/2001/XMLSchema-instance";
> >>>  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >>> http://maven.apache.org/maven-v4_0_0.xsd";>
> >>>  <modelVersion>4.0.0</modelVersion>
> >>> <parent>
> >>> <groupId>org.restlet.jse</groupId>
> >>>  <artifactId>org.restlet.parent</artifactId>
> >>> <version>2.0-SNAPSHOT</version>
> >>>  </parent>
> >>>
> >>>    <groupId>org.restlet*.jse*</groupId>
> >>>    <artifactId>org.restlet.lib.org.json</artifactId>
> >>>    <version>2.0</version>
> >>>
> >>>    <name>JSON framework</name>
> >>>    <description>JSON framework.</description>
> >>> </project>
> >>>
> >>> 2010/12/23 Romain <filirom1 at gmail dot com>
> >>>
> >>> It's not exactly the same problem, but here is what I get from my
> >>>> resolver groove grapes :
> >>>>
> >>>> General error during conversion: Error grabbing Grapes --
> >>>>
> >>>> [unresolved dependency: org.restlet.jse#org.restlet.lib.org.json;2.0:
> >>>> several problems occurred while resolving dependency:
> >>>> org.restlet.jse#org.restlet.lib.org.json;2.0 {compile=[compile(*),
> >>>> master(*)], runtime=[runtime(*)]}:
> >>>>
> >>>> java.text.ParseException: inconsistent module descriptor file found in '
> >>>> http://maven.restlet.org/org/restlet/jse/org.restlet.lib.org.json/2.0/*
> >>>> org.restlet.lib.org.json-2.0.pom*': *bad organisation:
> >>>> expected='org.restlet.jse' found='org.restlet';*
> >>>>
> >>>>
> >>>> If you want to test, you will need to install groovy :
> >>>> http://groovy.codehaus.org/Download (30 seconds)
> >>>> and then launch the enclosed file like this :
> >>>>
> >>>> groovy httpsServer.groovy
> >>>>
> >>>> Thanks
> >>>>
> >>>> Romain
> >>>>
> >>>> 2010/10/14 Bartosz Kowalewski <Kowalewski dot Bartosz at gmail dot com>
> >>>>
> >>>> Hi Thierry,
> >>>>>
> >>>>> Thanks a lot for the update.
> >>>>>
> >>>>> When do you envision these changes being released?
> >>>>>
> >>>>> Thanks again!
> >>>>>  Bartek
> >>>>>
> >>>>> ------------------------------------------------------
> >>>>>
> >>>>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2672023
> >>>>>
> >>>>
> >>>>
> >>>
> >>
> >

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2858467

Reply via email to