梅文 + Jitpack 依赖项缺失工件
我正在制作的 Maven 项目遇到一些问题。我最近发现了一个我想通过 Jitpack 分发的库;我从未听说过它,但添加 Maven 依赖项似乎相当简单,因此我按照示例获取了如下所示的 pom.xml:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.IQSS</groupId>
<artifactId>dataverse-client-java</artifactId>
<version>dv14-12-compatible</version>
</dependency>
</dependencies>
我删除了很多内容,因为其他一切都工作得很好。仅当将上述部分添加到 pom.xml 时,Eclipse 才会抱怨工件丢失。这是我想要使用的库的 URL: https://github.com/ IQSS/dataverse-client-java
据我所知,我已经正确构建了存储库和依赖信息。其中有一个不正确吗?或者我是否忽略了添加此依赖项的步骤?除了将上述条目添加到我的 pom.xml 中之外,我没有对该项目做任何事情。
谢谢!
Having some trouble with a Maven project I'm making. I recently found a library I want to use distributed through Jitpack; I've never heard of it, but it seemed fairly simple to add a Maven dependency with it, so I followed the example to get a pom.xml like this:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.IQSS</groupId>
<artifactId>dataverse-client-java</artifactId>
<version>dv14-12-compatible</version>
</dependency>
</dependencies>
I've stripped out a lot, as everything else works just fine. Only when adding the above sections to the pom.xml does Eclipse complain that the artifact is missing. Here is the URL to the library I'd like to use: https://github.com/IQSS/dataverse-client-java
To my knowledge I've constructed the repository and dependency information correctly. Is on of them incorrect? Or have I neglect a step in adding this dependency? I have done nothing to the project except add the above entries to my pom.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论