【发布时间】:2017-08-11 09:44:22
【问题描述】:
我从 Talend 生成了 jar,我想在 maven 项目中使用它们。经过一些研究,我知道我必须使用以下方法在本地 maven 存储库中安装这个 jar: mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group -DartifactId=non-maven-proj -Dversion=1 -Dpackaging=jar 然后添加一个依赖:
<dependency>
<groupId>....</groupId>
<artifactId>...</artifactId>
<version>...</version>
</dependency>
但我不知道在 groupId、artifactId 和 version 标记中准确放置什么。请帮忙
【问题讨论】: