简体   繁体   English

如何安装Maven构建项目?

[英]How to install a maven build project?

I want to install the following plugin: 我想安装以下插件:

https://github.com/AgileReview-Project/AgileReview-EclipsePlugin https://github.com/AgileReview-Project/AgileReview-EclipsePlugin

Its a maven project. 它是一个行家项目。 I already successfully build the plugin with maven. 我已经使用maven成功构建了插件。 Now, I want to install it. 现在,我要安装它。

How can I install it? 如何安装? When I build the file with Maven, no Jar file was created that I can use for installation. 当我使用Maven生成文件时,没有创建可用于安装的Jar文件。

pom is container of sub-modules, I see a lot of sub-directories in the project. pom是子模块的容器,我在项目中看到很多子目录。

Somewhere, nested within the project structure you will find artifacts (modules) with jar packaging. 嵌套在项目结构中的某个地方,您会发现带有jar包装的工件(模块)。 Maven generally builds everything into /target subdirectories of each module. Maven通常将所有内容构建到每个模块的/target子目录中。 So after mvn install look into target subdirectory in a module with jar packaging. 因此,在mvn安装后,请使用jar包装查看模块中的目标子目录。

The link you have ( https://github.com/AgileReview-Project/AgileReview-EclipsePlugin ) is the actual work code project of the plugin. 您拥有的链接( https://github.com/AgileReview-Project/AgileReview-EclipsePlugin )是插件的实际工作代码项目。 (It is only interesting for the people working on the plugin or others who want to change/improve it). (这仅对使用该插件的人或其他想要更改/改进它的人很有趣)。

According to AgileReview website, you'll have to simply do the old-way plugin installation. 根据AgileReview网站,您只需简单地进行旧版插件安装即可。 All the steps and infos are here 所有步骤和信息都在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM