利用Maven生成并部署jetspeed2门户问题。
版本信息:
Maven version --> 3.1.0
jdk --> 1.6
tomcat --> 6.0.37
我是按照官方一步步来得,http://portals.apache.org/jetspeed-2/tutorial/01/genapp.html
执行到如下命令时:
mvn jetspeed:mvn -Dtarget=all
出错了,错误信息如下:
[INFO] skip non existing resourceDirectory F:j2jetexpressjetexpress-portalsrcconf
[INFO] Copying 1 resource to ../resources
[INFO]
[INFO] --- jetspeed-deploy-maven-plugin:2.2.2:deploy (deploy) @ jetspeed-mvn-portal-pom ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.766s
[INFO] Finished at: Tue Dec 17 11:33:31 CST 2013
[INFO] Final Memory: 4M/15M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.portals.jetspeed-2:jetspeed-deploy-maven-plugin:2.2.2:
deploy (deploy) on project jetspeed-mvn-portal-pom: Execution deploy of goal org.apache.portals.
jetspeed-2:jetspeed-deploy-maven-plugin:2.2.2:deploy failed: Plugin org.apache.portals.jetspeed-
2:jetspeed-deploy-maven-plugin:2.2.2 or one of its dependencies could not be resolved: Failed to
collect dependencies at org.apache.portals.jetspeed-2:jetspeed-deploy-maven-plugin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
太给力了,真心解决了~~
这问题够闹心得,总算是解决了。把maven版本换成2.x又能行了。估计是jetspeed-maven-deploy得插件对maven3.x不支持吧。