简体   繁体   中英

Cannot find/resolve artifact: Maven error

I just have pulled new projectand when I run mvn clean install I got this error(on other computers build is success):

 Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.0.1:unpack (unpack-swagger-ui) on project kapua-rest-api-web: Unable to find/resolve artifact.: Could not find artifact org.eclipse.kapua.external:swagger-ui:jar:2.1.4-CQ-10792 in central (https://repo.maven.apache.org/maven2) -> [Help 1]

Just to say that I know that this question was asked but none of that answers did not help me, so please do not put this as duplicate.Could someone helps me to fin out why I have this Maven error and how to solve it?

Based on issue on github correct way to build kapua is

mvn clean install -f external/pom.xml
mvn clean install 

I expect first invocation to produce missing artifacts into local M2 repo and second invcation to perform actual build.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM