Jerome, Thanks for doing a short term fix for this issue with the 2.0-M4 projects. I really appreciate it and look forward to the fix in 2.0-M5.
Thanks, Kevin On Sun, Aug 23, 2009 at 5:02 AM, Jerome Louvel <[email protected]>wrote: > Hi Kevin, > > > > Thanks for reporting those issues. > > > > The OSGi artifact should have a 1.0 version in this case… So, I’ve manually > fixed the parent POMs and removed the “org.restlet.lib.org.json” dependency > from the Restlet JSON extension as this artifact isn’t published for now by > our Maven script. > > > > When Thierry comes back, he will fix all these annoying issues. The support > of editions had some major impact on our Maven publishing script, so please > be patient guys: we’ll get this right ASAP. With my manual changes, your POM > builds correctly. I’ve also updated the related issue: > > > > “Fix Maven POM issues” > > http://restlet.tigris.org/issues/show_bug.cgi?id=884 > > > > Best regards, > Jerome Louvel > -- > Restlet ~ Founder and Lead developer ~ http://www.restlet.org > Noelios Technologies ~ Co-founder ~ http://www.noelios.com > > > > > > *De :* Kevin Shekleton [mailto:[email protected]] > *Envoyé :* dimanche 23 août 2009 01:41 > > *À :* [email protected] > *Objet :* Re: Missing 2.0-M4 Maven artifacts > > > > Jerome, > > > > Thanks for responding. I am already referencing the gae specific group id: > *org.restlet.gae*:org.restlet:jar:2.0-M4 (see my original question). > > > > Here is a sample POM which illustrates this problem: > http://pastebin.com/f6a64ef8a > > ...and below is the output from *mvn clean compile* on that POM. Note that > you'll want to run this mvn command with a completely empty local repository > else you may be using cached locally installed or previously download > dependencies. > > > > Note that theorg.osgi:osgi_R4_core:jar:4.0 is still missing (as Zsolt > mentioned) as well as theorg.restlet.gae:org.restlet.lib.org.json:jar:2.0 > dependency. > > > > Thanks, > > Kevin > > > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Failed to resolve artifact. > > > > Missing: > > ---------- > > 1) *org.osgi:osgi_R4_core:jar:4.0* > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId=org.osgi -DartifactId=osgi_R4_core > -Dversion=4.0 -Dpackaging=jar -Dfile=/path/to/file > > > > Alternatively, if you host your own repository you can deploy the file > there: > > mvn deploy:deploy-file -DgroupId=org.osgi -DartifactId=osgi_R4_core > -Dversion=4.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > > > Path to dependency: > > 1) com.example.restlet:restlet-example:jar:1.0-SNAPSHOT > > 2) org.restlet.gae:org.restlet:jar:2.0-M4 > > 3) org.osgi:osgi_R4_core:jar:4.0 > > > > 2) *org.restlet.gae:org.restlet.lib.org.json:jar:2.0* > > > > Try downloading the file manually from the project website. > > > > Then, install it using the command: > > mvn install:install-file -DgroupId=org.restlet.gae > -DartifactId=org.restlet.lib.org.json -Dversion=2.0 -Dpackaging=jar > -Dfile=/path/to/file > > > > Alternatively, if you host your own repository you can deploy the file > there: > > mvn deploy:deploy-file -DgroupId=org.restlet.gae > -DartifactId=org.restlet.lib.org.json -Dversion=2.0 -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > > Path to dependency: > > 1) com.example.restlet:restlet-example:jar:1.0-SNAPSHOT > > 2) org.restlet.gae:org.restlet.ext.json:jar:2.0-M4 > > 3) org.restlet.gae:org.restlet.lib.org.json:jar:2.0 > > > > > > Thanks, > > Kevin > > On Sat, Aug 22, 2009 at 9:59 AM, 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 aot 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<http://maven.restlet.org/org/restlet/org.restlet.parent/2.0-M4/org.restlet.p%0d%0aarent-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=2386522

