oltu-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Attanayake <suresh.attanay...@gmail.com>
Subject Re: Trouble building Oltu project
Date Fri, 16 Aug 2013 09:28:13 GMT
Hi,

In "demos/client-demo/pom.xml" and openid-connect/client/pom.xml, the Oltu
OAuth2 version has set to 0.31-SNAPSHOT,

 <oltu.oauth2.version>0.31-SNAPSHOT</oltu.oauth2.version>

Above value is used for artifacts org.apache.oltu.oauth2.jwt and
org.apache.oltu.oauth2.client. But the versions of them in the trunk
is <version>1.0.0-SNAPSHOT</version>

This might be the reason, shouldn't the value of "oltu.oauth2.version" be
1.0.0-SNAPSHOT ? It worked for me after changing to 1.0.0-SNAPSHOT.

Thanks,
-Suresh


On Fri, Aug 16, 2013 at 5:27 AM, Timothy Sherburne <tim@sherb.org> wrote:

> Hello... I'd like to run the client demo. Last month, there was a post
> about problems running the demo using "mvn jetty:run". I ran into the same
> issue, so I followed the suggestion of exporting the project trunk and
> building with "mvn install". However, when I try this the build fails - the
> tail of the output is:
>
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Oltu - OpenId Connect - Client 0.1-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for
> org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:jar:0.31-SNAPSHOT is
> missing, no dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Oltu - Parent .............................. SUCCESS [1.794s]
> [INFO] Apache Oltu - OAuth 2.0 - Parent .................. SUCCESS [0.159s]
> [INFO] Apache Oltu - OAuth 2.0 - Common .................. SUCCESS [2.378s]
> [INFO] Apache Oltu - OAuth 2.0 - Client .................. SUCCESS [2.249s]
> [INFO] Apache Oltu - OAuth 2.0 - HttpClient .............. SUCCESS [1.754s]
> [INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Common  SUCCESS
> [0.381s]
> [INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Client  SUCCESS
> [1.393s]
> [INFO] Apache Oltu - OAuth 2.0 - Authorization Server .... SUCCESS [2.260s]
> [INFO] Apache Oltu - OAuth 2.0 - Resource Server ......... SUCCESS [1.818s]
> [INFO] Apache Oltu - OAuth 2.0 - Resource Server Filter .. SUCCESS [1.434s]
> [INFO] Apache Oltu - OAuth 2.0 - Test Utils .............. SUCCESS [0.350s]
> [INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Server  SUCCESS
> [1.821s]
> [INFO] Apache Oltu - OAuth 2.0 - Integration Tests ....... SUCCESS [3.382s]
> [INFO] Apache Oltu - OAuth 2.0 - JWT ..................... SUCCESS [0.696s]
> [INFO] Apache Oltu - OpenId Connect - Parent ............. SUCCESS [0.080s]
> [INFO] Apache Oltu - OpenId Connect - Common ............. SUCCESS [0.291s]
> [INFO] Apache Oltu - OpenId Connect - Client ............. FAILURE [0.017s]
> [INFO] Apache Oltu - Demos - Parent ...................... SKIPPED
> [INFO] Apache Oltu - Demos - Client ...................... SKIPPED
> [INFO] Apache Oltu - Reactor ............................. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 22.735s
> [INFO] Finished at: Thu Aug 15 16:11:10 PDT 2013
> [INFO] Final Memory: 31M/81M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project
> org.apache.oltu.openidconnect.client: Could not resolve dependencies for
> project
> org.apache.oltu.openidconnect:org.apache.oltu.openidconnect.client:jar:0.1-SNAPSHOT:
> Failed to collect dependencies at
> org.apache.oltu.oauth2:org.apache.oltu.oauth2.jwt:jar:0.31-SNAPSHOT: Failed
> to read artifact descriptor for
> org.apache.oltu.oauth2:org.apache.oltu.oauth2.jwt:jar:0.31-SNAPSHOT:
> Failure to find
> org.apache.oltu.oauth2:org.apache.oltu.oauth2.parent:pom:0.31-SNAPSHOT in
> http://repository.apache.org/snapshots was cached in the local
> repository, resolution will not be reattempted until the update interval of
> apache.snapshots has elapsed or updates are forced -> [Help 1]
>
> Here's what I see in
> ~/.m2/repository/org/apache/oltu/oauth2/org.apache.oltu.oauth2.parent/0.31-SNAPSHOT
>
> -rw-r--r--  1 sherb  staff  248 Aug 15 16:53
> org.apache.oltu.oauth2.parent-0.31-SNAPSHOT.pom.lastUpdated
> -rw-r--r--  1 sherb  staff  238 Aug 15 16:53 resolver-status.properties
>
> Any suggestions?
>
> Thanks,
>
> Tim
>



-- 
Suresh Attanayake

Blog : http://sureshatt.blogspot.com/
Web : http://www.ssoarcade.com/
LinkedIn : http://www.linkedin.com/pub/suresh-attanayake/16/165/181
Twitter : http://twitter.com/sureshatt
Facebook : https://www.facebook.com/IdentityWorld

Mime
View raw message