开发者

how to find org.eclipse.persistence maven dependency?

开发者 https://www.devze.com 2023-03-07 11:10 出处:网络
how to find a maven dependency ? for example, <dependency> <groupId>org.eclipse.persistence</groupId>

how to find a maven dependency ? for example,

<dependency>
    <groupId>org.eclipse.persistence</groupId>
    <artifactId>javax.persistence</art开发者_如何学CifactId>
    <version>2.0.0</version>
</dependency>

The error is

[WARNING] The POM for org.eclipse.persistence:javax.persistence:jar:2.0.0 is missing, no dependency information available
[WARNING] The POM for org.eclipse.persistence:eclipselink:jar:2.0.0 is missing, no dependency information available
[ERROR] Failed to execute goal on project javaee: Could not resolve dependencies for project com:javaee:jar:2.0: The following artifacts could not be resolved: org.ecli
    pse.persistence:javax.persistence:jar:2.0.0, org.eclipse.persistence:eclipselink:jar:2.0.0: Failure to find org.eclipse.persistence:javax.persistence:jar:2.0.0 in http:
    //repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -
    > [Help 1]

Thanks.


You have to add the EclipseLink Maven repository to your settings: http://wiki.eclipse.org/EclipseLink/Maven

0

精彩评论

暂无评论...
验证码 换一张
取 消