maven 3原型:生成错误
我按照 Apache Maven 网站上的说明进行操作,它工作正常,但在教程中我被要求输入以下代码,这是什么意思以及为什么它不断向我抛出构建错误?然而,我每次都尝试输入单行,而且所有内容都放在一起,没有任何区别。有人可以帮我解释一下这个以及如何开始使用 Maven 而不出错吗?
多谢, [更新] 下面出现SS
mvn archetype:generate \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DgroupId=com.mycompany.app \
-DartifactId=my-app
错误,也更新了标题。
I followed the instructions on Apache Maven site and it works fine but during the tutorial i was asked to type in the below code, what does that mean and why does it keeps throwing me a build error?. However i tried to type single line everytime and also everything together nothing makes a difference. Could some one please help me interpret this one and how to get started with maven without errors?
Thanks a lot,
SS
mvn archetype:generate \
-DarchetypeGroupId=org.apache.maven.archetypes \
-DgroupId=com.mycompany.app \
-DartifactId=my-app
error below [UPDATE] , Updated the title also.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
感谢您的回复。我发现了问题,我在代理后面并且不知道maven中的代理功能,并且由于它是第一次运行,它试图下载一些插件并且失败了。现在我修复了它并且它可以正常工作。
谢谢,
SS
Thanks for your responses. I found the problem, i was behind a proxy and did not know the proxy feature in maven and as it was running for the first time, it was trying to download some plugins and failed. now i fixed it and it works as it should.
Thanks,
SS