Hi, Please ignore the error reported by me in the last mail. I was using maven-3 to build OAuth, using maven-2 solved the issue.
Regards Lokendra On Wed, Apr 13, 2011 at 12:32 PM, Lokendra Singh <lsingh....@gmail.com>wrote: > Hi Martin, > > Can you help with building the OAuth extension. I have built the OpenID > extension successfully. > > I get the following error (I have added the maven-restlet repo to the > pom.xml): > > [INFO] Scanning for projects... > [WARNING] > [WARNING] Some problems were encountered while building the effective model > for org.restlet.dev:org.restlet.ext.oauth:jar:2.1-SNAPSHOT > [WARNING] 'build.plugins.plugin.version' for > org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 122, > column 15 > [WARNING] > [WARNING] It is highly recommended to fix these problems because they > threaten the stability of your build. > [WARNING] > [WARNING] For this reason, future Maven versions might no longer support > building such malformed projects. > [WARNING] > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Restlet Extension - OAuth 2.1-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 0.584s > [INFO] Finished at: Wed Apr 13 12:27:41 IST 2011 > [INFO] Final Memory: 4M/74M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal on project org.restlet.ext.oauth: Could not > resolve dependencies for project > org.restlet.dev:org.restlet.ext.oauth:jar:2.1-SNAPSHOT: Failed to collect > dependencies for [org.restlet.jse:org.restlet:jar:2.1-SNAPSHOT (compile), > org.restlet.jse:org.restlet.ext.json:jar:2.1-SNAPSHOT (compile), > org.restlet.jse:org.restlet.ext.xml:jar:2.1-SNAPSHOT (compile), > org.restlet.dev:org.restlet.ext.openid:jar:2.1-SNAPSHOT (provided), > org.restlet.jse:org.restlet.ext.wadl:jar:2.1-SNAPSHOT (provided), > org.restlet.jse:org.restlet.ext.freemarker:jar:2.1-SNAPSHOT (provided), > junit:junit:jar:4.4 (compile)]: Failed to read artifact descriptor for > org.restlet.dev:org.restlet.ext.openid:jar:2.1-SNAPSHOT: Failure to find > org.restlet.dev:org.restlet.incubator:pom:2.1-SNAPSHOT in > http://maven.restlet.org ] > > Regards > Lokendra > > > > On Tue, Apr 12, 2011 at 1:51 PM, Lokendra Singh <lsingh....@gmail.com>wrote: > >> Hi, >> >> I was looking for OAuth support in Restlet. >> Can somebody tell me the status of the OAuth extension kept in incubator. >> Can it be used? >> >> Regards >> Lokendra >> > > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2719384