在eclipse中缺少'maven package'菜单项 [英] Missing the ‘maven package’ menu entry in eclipse

查看:285
本文介绍了在eclipse中缺少'maven package'菜单项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Eclipse 3.7和m2eclipse。以前,我知道有一个菜单条目'maven包',但是因为我重新安装Ubuntu没有条目,我必须'maven安装'来做同样的。



现在我想知道是否可以获得'maven包',所以我可以测试一些东西而不安装它,并允许其他项目使用测试版本作为依赖。

解决方案

只需使用 Maven Build ... 并在目标中键入 package 字段。


I'm using Eclipse 3.7 with m2eclipse. Previously I know there was a menu entry ‘maven package’ but since I reinstalled Ubuntu there is no entry and I have to ‘maven install’ to do the same.

Now I'm wondering if it is possible to get the ‘maven package’ back so I could test something without installing it and allow other projects to use the test version as dependency.

解决方案

Just use Maven Build... and type package in the goal field.

这篇关于在eclipse中缺少'maven package'菜单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆