[英]Eclipse Maven - No 'package' option
I am trying to use Maven in Eclipse, and I am trying to package my project. 我试图在Eclipse中使用Maven,并且试图打包我的项目。 I right click on My pom.xml , I go to Run as , but there is no " Maven Package " option there.
我右键单击My pom.xml ,转到“运行方式” ,但那里没有“ Maven软件包 ”选项。
This is how it looks: 它是这样的:
What am I doing wrong, and how can I get that option? 我在做什么错了,我该如何选择呢?
If you do the Maven install
it should also do the packaging. 如果您进行
Maven install
,则还应该进行包装。 You will find the resulting artifacts in the directory called target
. 您将在名为
target
的目录中找到生成的工件。
If you want to run only mvn package, I believe you need to select the option number "3 Maven build ..." 如果您只想运行mvn软件包,我相信您需要选择选项号“ 3 Maven build ...”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.