0

我想构建 oltu 并运行客户端演示,但是由于缺少对客户端的依赖,构建失败。mvn jetty:run 失败并出现同样的错误

我将不胜感激任何帮助

[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]
4

1 回答 1

0

缺少依赖项的一个典型根本原因是相应的 Maven 存储库已被删除或处于非活动状态。

GitHub 存储库中的Apache Oltu OAuth 2.0 客户端和提供程序是 Apache Oltu 的一个分支,带有Pull Request #10,用于两个新提交“添加提供程序演示和自述文件”。

您可以按照 README 说明构建 Oltu 并运行 OAuth 2.0 客户端演示和 OAuth 2.0 提供程序演示。

于 2015-02-01T18:20:35.603 回答