繁体   English   中英

Eclipselink:如何将其添加到本地存储库

[英]Eclipselink: how to add it to local repository

GIT clone and checkout eclipselink.runtime
git clone https://.../eclipselink.runtime.git
git checkout -b testing tag/2.6.5

POM.xml中的版本为<version>2.6.5-SNAPSHOT</version> ???

试图将eclipselink.jar添加到本地存储库中:

 mvn install:install-file -Dfile=eclipselink.jar 
 -DgroupId=org/eclipse/persistence -DartifactId=eclipselink 
 -Dversion=2.6.5 -Dpackaging=jar

错误:您指定的目标需要一个项目来执行,但是此目录中没有POM

是否有用于将eclipselink jar安装到本地存储库的ant / maven目标?

您需要将eclipse链接添加到pom文件

<dependency>
    <groupId>org.eclipse.persistence</groupId>
    <artifactId>eclipselink</artifactId>
    <version>2.7.0</version>
</dependency>

暂无
暂无

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

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