簡體   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