如何使用 de.entropia.can 打包在 pom.xml 文件中



我正在尝试使用这个 github 存储库:在 pom.xml 文件中 https://github.com/entropia/libsocket-can-java。我找不到这个 github 存储库的任何 maven 依赖项。我通过以下链接将 jitpack 存储库和 maven 依赖项添加到 pom 文件中:https://jitpack.io/p/entropia/libsocket-can-java。这是我的代码:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependency>
    <groupId>com.github.entropia</groupId>
    <artifactId>libsocket-can-java</artifactId>
    <version>4433bb7</version>
</dependency>

其中 4433bb7 是最新的提交编号。当我尝试构建时出现此错误:

Missing artifact com.github.entropia:libsocket-can-java:jar:4433bb7
Could not resolve dependencies for projec: Failure to find com.github.entropia:libsocket-can-java:jar:4433bb7 in https://jitpack.io was cached in the local repository, resolution will not be reattempted until the update interval of jitpack.io has elapsed or updates are forced -> [Help 1]

我尝试使用捆绑版本:0.1.0、1.0.0 仍然没有运气。请帮助我解决此问题。提前谢谢大家。

特定版本似乎有问题。 尝试最新快照:

<dependency>
        <groupId>com.github.entropia</groupId>
        <artifactId>libsocket-can-java</artifactId>
        <version>master-SNAPSHOT</version>
</dependency>

最新更新