我正在尝试为保险箱存储库做出贡献。
尝试运行mvn全新安装时,出现以下错误:
在构建项目时有人遇到此错误吗?
[ERROR] Failed to execute goal on project strongbox-data-service:
Could not resolve dependencies for project org.carlspring.strongbox:strongbox-data-service:jar:1.0-SNAPSHOT:
The following artifacts could not be resolved:
org.carlspring.strongbox:strongbox-db-server:jar:1.0-SNAPSHOT,
org.carlspring.strongbox:strongbox-db-liquibase:jar:1.0-SNAPSHOT,
org.carlspring.strongbox:strongbox-db-import:jar:schema:1.0-SNAPSHOT,
org.unbroken-dome.liquibase-orientdb:liquibase-orientdb:jar:0.3.0-strongbox-1:
Could not find artifact org.carlspring.strongbox:strongbox-db-server:jar:1.0-SNAPSHOT -> [Help 1]
我认为它首先与Java版本有关,但是mvn -v输出为:
Maven home: /opt/maven
Java version: 1.8.0_222, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk/jre
Default locale: en_US, platform encoding: UTF-8
很高兴获得帮助以解决该问题,
谢谢。
最佳答案
我从以下位置开始:https://strongbox.github.io/developer-guide/building-the-code.html
代替:https://strongbox.github.io/developer-guide/getting-started.html
当我添加settings.xml时,所有内容都已修复。