我在我的pom中添加了下面的描述
<dependency>
<artifactId>richfaces-api</artifactId>
<groupId>org.richfaces.framework</groupId>
<version>3.3.3.Final</version>
</dependency>
<dependency>
<groupId>org.richfaces.ui</groupId>
<artifactId>richfaces-ui</artifactId>
<version>3.3.3.Final</version>
</dependency>
<dependency>
<artifactId>richfaces-impl</artifactId>
<groupId>org.richfaces.framework</groupId>
<version>3.3.3.Final</version>
</dependency>
Run Code Online (Sandbox Code Playgroud)
当我在命令提示符下执行mvn clean install时,会下载这些依赖项jar.但是在Eclipse中,这并未显示在引用的库部分下.尽管如此,其他jar文件仍然是依赖项的一部分.我必须做些什么来反映这一点吗?谢谢.
有没有办法在"运行配置菜单"中添加现有的maven配置,可以在Eclipse中的"运行 - >运行为"中找到?我想将我常用的目标(如"集成测试")添加到现有目标中,例如"maven build"等.
我使用变量"$ {project_loc}"作为基本目录,但是如何将新配置放在maven运行配置菜单中?我没有在首选项或任何地方看到该选项.
我正在使用带有m2eclipse的Eclipse 3.7.以前我知道有一个菜单条目'maven package',但是因为我重新安装了Ubuntu,所以没有条目,我必须'maven install'来做同样的事情.
现在我想知道是否有可能让'maven包'回来,所以我可以测试一些东西而不安装它,并允许其他项目使用测试版本作为依赖.