Oltu编译

时间:2015-08-12 08:42:52

标签: maven oltu

我尝试编译从

克隆的Oltu源代码

https://github.com/apache/oltu.git

我无法将项目与mvn package -DskipTestsmvn compile package -DskipTests打包在一起,因为它被 Apache Oltu - Demos - 客户端中的错误所打断,

[ERROR] /dev/oltu/demos/client-demo/src/main/java/o$
g/apache/oltu/oauth2/client/demo/controller/TokenController.java:[45,53] packag$
 org.apache.oltu.openidconnect.client.response does not exist
[ERROR] /dev/oltu/demos/client-demo/src/main/java/o$
g/apache/oltu/oauth2/client/demo/controller/TokenController.java:[91,22] cannot 
find symbol
[ERROR] symbol:   class OpenIdConnectResponse
[ERROR] location: class org.apache.oltu.oauth2.client.demo.controller.TokenCont$
oller
[ERROR] /dev/oltu/demos/client-demo/src/main/java/o$
g/apache/oltu/oauth2/client/demo/controller/TokenController.java:[102,17] canno$
 find symbol
[ERROR] symbol:   class OpenIdConnectResponse
[ERROR] location: class org.apache.oltu.oauth2.client.demo.controller.TokenCont$
oller
[ERROR] /dev/oltu/demos/client-demo/src/main/java/o$
g/apache/oltu/oauth2/client/demo/controller/TokenController.java:[102,65] canno$
 find symbol
[ERROR] symbol:   class OpenIdConnectResponse
[ERROR] location: class org.apache.oltu.oauth2.client.demo.controller.TokenCont$
oller

但是,如果我有两个明确的步骤,我就可以编译它。

  1. mvn compile
  2. mvn package -DskipTests
  3. 我的问题是,mvn package是否包含compile?为什么在我明确运行它时打包项目?感谢

0 个答案:

没有答案