Hi Zsolt, This is a bug in the module POM generation. OSGi dependency is indeed not necessary. I’ve entered a report for Thierry (he is on vacations for one week):
“OSGi dependency should be removed from GAE, Android and GWT POMs” http://restlet.tigris.org/issues/show_bug.cgi?id=884 For now, I’ve manually added the OSGi version property to the parent POM in the Maven repo (for 2.0 M4 only). Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -----Message d'origine----- De : Zsolt Czinkos [mailto:[email protected]] Envoyé : samedi 22 août 2009 18:53 À : [email protected] Objet : Re: Missing 2.0-M4 Maven artifacts Hi Jerome, I have similar issue here with GAE edition. My pom.xml contains: <repositories> <repository> <id>maven-restlet</id> <name>Public online Restlet repository</name> <url>http://maven.restlet.org</url> </repository> </repositories> <dependencies> <dependency> <groupId>org.restlet.gae</groupId> <artifactId>org.restlet</artifactId> <version>2.0-M4</version> </dependency> <dependency> <groupId>org.restlet.gae</groupId> <artifactId>org.restlet.ext.servlet</artifactId> <version>2.0-M4</version> </dependency> <dependency> <groupId>org.restlet.gae</groupId> <artifactId>org.restlet.ext.xstream</artifactId> <version>2.0-M4</version> </dependency> </dependencies> ... I get: ... [ERROR] Transitive dependency resolution for scope: compile has failed for your project. Error message: Missing: ---------- 1) org.osgi:osgi_R4_core:jar:${lib-osgi-version} ... ... What else do I need to set? Thanks Zsolt On Sat, Aug 22, 2009 at 4:59 PM, Jerome Louvel<[email protected]> wrote: > Hi Kevin, > > The group ID of Restlet artifacts has changed to take into account the > Restlet editions (JSE, JEE, Android, GWT and GAE). > > You need to update your POMs with group IDs like: "org.restlet.jse" > > See example POM: > http://maven.restlet.org/org/restlet/jse/org.restlet.parent/2.0-M4/org.restl > et.parent-2.0-M4.pom > > Best regards, > Jerome Louvel > -- > Restlet ~ Founder and Lead developer ~ http://www.restlet.org > Noelios Technologies ~ Co-founder ~ http://www.noelios.com > > > > > -----Message d'origine----- > De : Kevin Shekleton [mailto:[email protected]] > Envoyé : lundi 17 août 2009 14:39 > À : [email protected] > Objet : Missing 2.0-M4 Maven artifacts > > While trying to download org.gae.restlet:org.restlet:2.0-M4 from the Maven > repository, the below error was thrown. It looks like > org.restlet:org.restlet.parent:2.0-M4 was not uploaded to the Maven > repository at: > http://maven.restlet.org/org/restlet/org.restlet.parent/ > > Downloading: > http://maven.restlet.org/org/restlet/gae/org.restlet/2.0-M4/org.restlet-2.0- > M4.pom > 767b downloaded (org.restlet-2.0-M4.pom) > Downloading: > http://maven.restlet.org/org/restlet/org.restlet.parent/2.0-M4/org.restlet.p > arent-2.0-M4.pom > [INFO] Unable to find resource 'org.restlet:org.restlet.parent:pom:2.0-M4' > in repository maven-restlet (http://maven.restlet.org) > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error building POM (may not be this project's POM). > > Project ID: org.restlet.gae:org.restlet:jar:2.0-M4 > > Reason: Cannot find parent: org.restlet:org.restlet.parent for project: > org.restlet.gae:org.restlet:jar:2.0-M4 > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23843 > 14 > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2386314 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2386328 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2386333

