构建保险箱时 Maven 编译错误
Maven compilation error while building strongbox
我正在努力为保险箱存储库做贡献。
尝试 运行 mvn clean install 时收到以下错误:
有人在构建项目时遇到过这个错误吗?
[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 时,一切都已修复。
我正在努力为保险箱存储库做贡献。
尝试 运行 mvn clean install 时收到以下错误: 有人在构建项目时遇到过这个错误吗?
[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 时,一切都已修复。