Reputation:
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?
Upvotes: 0
Views: 3883
Reputation: 14618
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.
Upvotes: 2