使用Eclipse安装Maven插件 [英] Maven plugin install with Eclipse

查看:124
本文介绍了使用Eclipse安装Maven插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新新旗新新新旗新新旗新新旗新新旗新新旗旗新新旗旗新新旗旗新新旗旗我正在面对一些问题,因为我得到不同网站的输入不起作用。
我也经历了现在的帖子,如这个,它关于运行如下命令:

  mvn install:install -file -Dfile = c:\kaptcha-2.3.jar -DgroupId = com.google.code 
-DartifactId = kaptcha -Dversion = 2.3 -Dpackaging = jar

但是我在哪里运行这个命令?



本网站介绍如下添加参数 maven.repo.remote

  maven -DartifactId = maven-eclipse-plugin-plugin -DgroupId = mevenide -Dversion = 0.3.1 plugin:download 

BUt这些参数设置在哪里?



请有人帮助我指出一些好的资源,这给了在eclip中安装maven插件的简单步骤我的eclipse版本:indigo发行版,Java EE IDE。

解决方案


  • 从Eclipse Indigo Java EE版开始

  • m2e 是Eclipse的maven集成。在IDE中安装此插件。

  • 如果您有任何内容或创建新的项目,请导入maven项目



mvn install:install-file 用于在本地存储库中安装maven工件,如果它不能被maven自动下载和安装。这通常不是必需的,但是如果你必须这样做,你可以去运行为 - > 运行配置... 并创建一个适当的 Maven Build 配置。



maveide X- 20045454545 X- 20045 X- 20045 X- 20045 X- 200 X- 20045 X- 20045 X- 20045 X-

I am new to Maven, I have to install maven plugin in eclipse. I am facing some issues in the same, as the inputs I am getting different sites are not working. I have also gone through existing posts like this, which talks about running the command like :

mvn install:install-file -Dfile=c:\kaptcha-2.3.jar -DgroupId=com.google.code 
-DartifactId=kaptcha -Dversion=2.3 -Dpackaging=jar

but where do I run this command ??

This site talks about adding as parameter maven.repo.remote like :

maven -DartifactId=maven-eclipse-plugin-plugin -DgroupId=mevenide -Dversion=0.3.1 plugin:download

BUt where are these parameter set ??

Please can someone help me with pointing some good resource, which gives easy steps to install maven plugin in eclipse?

My eclipse version: indigo release, Java EE IDE.

解决方案

  • Start with Eclipse Indigo Java EE edition
  • m2e is the maven integration for Eclipse. Install this plugin in the IDE.
  • Import maven project if you have any or create a new one

mvn install:install-file is used to install maven artifacts in local repository, if it cannot be automatically downloaded and installed by maven. This is not normally required, but if you have to do this, you can go to Run as -> Run Configurations... and create an appropriate Maven Build configuration.

maveide is not maintained and not to be referred.

这篇关于使用Eclipse安装Maven插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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