我想构建oltu并运行客户端演示,但由于缺少对客户端的依赖性,构建失败。 mvn jetty:运行失败并出现相同的错误
我将不胜感激任何帮助
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Oltu - Parent .............................. SUCCESS [1.158s]
[INFO] Apache Oltu - Commons ............................. SUCCESS [0.049s]
[INFO] Apache Oltu - Commons - Encoded Token ............. SUCCESS [1.175s]
[INFO] Apache Oltu - Commons - JSON ...................... SUCCESS [0.233s]
[INFO] Apache Oltu - OAuth 2.0 ........................... SUCCESS [0.089s]
[INFO] Apache Oltu - OAuth 2.0 - Common .................. SUCCESS [1.056s]
[INFO] Apache Oltu - OAuth 2.0 - Client .................. SUCCESS [1.108s]
[INFO] Apache Oltu - OAuth 2.0 - HttpClient .............. SUCCESS [0.495s]
[INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Common SUCCESS [0.319s]
[INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Client SUCCESS [0.389s]
[INFO] Apache Oltu - OAuth 2.0 - Authorization Server .... SUCCESS [1.243s]
[INFO] Apache Oltu - OAuth 2.0 - Resource Server ......... SUCCESS [0.780s]
[INFO] Apache Oltu - OAuth 2.0 - Resource Server Filter .. SUCCESS [0.328s]
[INFO] Apache Oltu - OAuth 2.0 - Test Utils .............. SUCCESS [0.222s]
[INFO] Apache Oltu - OAuth 2.0 - Dynamic Registration Server SUCCESS [0.663s]
[INFO] Apache Oltu - OAuth 2.0 - Integration Tests ....... SUCCESS [3.341s]
[INFO] Apache Oltu - OAuth 2.0 - JWT ..................... SUCCESS [0.574s]
[INFO] Apache Oltu - OpenId Connect ...................... SUCCESS [0.043s]
[INFO] Apache Oltu - OpenId Connect - Common ............. SUCCESS [0.118s]
[INFO] Apache Oltu - OpenId Connect - Client ............. SUCCESS [0.428s]
[INFO] Apache Oltu - JOSE ................................ SUCCESS [0.041s]
[INFO] Apache Oltu - JOSE - JWS .......................... SUCCESS [0.968s]
[INFO] Apache Oltu - Demos - Parent ...................... SUCCESS [0.041s]
[INFO] Apache Oltu - Demos - Client ...................... FAILURE [0.029s]
[INFO] Apache Oltu - Reactor ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15.577s
[INFO] Finished at: Wed Jan 28 16:39:21 PST 2015
[INFO] Final Memory: 57M/1021M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project org.apache.oltu.demos.client: Could not resolve dependencies for project org.apache.oltu.demos:org.apache.oltu.demos.client:war:1-SNAPSHOT: The following artifacts could not be resolved: org.apache.oltu.openidconnect:org.apache.oltu.openidconnect.common:jar:0.1-SNAPSHOT, org.apache.oltu.openidconnect:org.apache.oltu.openidconnect.client:jar:0.1-SNAPSHOT: Failure to find org.apache.oltu.openidconnect:org.apache.oltu.openidconnect.common:jar:0.1-SNAPSHOT in http://xxxxx/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced -> [Help 1]
答案 0 :(得分:0)
缺少依赖性的一个典型根本原因是相应的Maven存储库已被删除或处于非活动状态。
GitHub存储库中的Apache Oltu OAuth 2.0 Client and Provider是Apache Oltu的一个分支,Pull Request #10用于两个新提交"添加提供者演示和README"。
您可以按照README说明构建Oltu并运行OAuth 2.0客户端演示和OAuth 2.0提供程序演示。