java - 无法解析 com.palantir.docker.compose :docker-compose-rule-junit4:0. 32.0

标签 java docker maven docker-compose maven-dependency

尝试从 Maven 中拖动此依赖项但出现错误,可能是什么问题? 无法解析 com.palantir.docker.compose:docker-compose-rule-junit4:0.32.0

<dependency>
    <groupId>com.palantir.docker.compose</groupId>
    <artifactId>docker-compose-rule-junit4</artifactId>
    <version>0.32.0</version>
</dependency>

最佳答案

maven 中央仓库中不存在该数据包 https://repo.maven.apache.org/maven2 ,所以我不得不额外添加一个。

<repositories>
    <repository>
        <id>Palantir</id>
        <url>https://dl.bintray.com/palantir/releases/</url>
    </repository>
</repositories>

关于java - 无法解析 com.palantir.docker.compose :docker-compose-rule-junit4:0. 32.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61141285/

相关文章:

java - 根据初始位置、方位和距离得出的结果位置

java - 使用 String 的 ReplaceAll 方法删除所有标记,除非它们遵循特定短语

java - 使用maven和eclipse生成元模型类(JPA,Maven,Eclipse)

java.util.并发.ExecutionException : Failed to initialize component

Java 优先队列等待

Java泛型方法继承

docker - 您的连接不是私有(private)的(此证书无法通过受信任的验证机构进行验证)

docker - 如何从命令 “docker start mysql -a”退出

docker - 以 root 以外的用户身份连接到 docker 容器

java - 在 Eclipse 中设置 MAVEN_HOME