could not find artifact while running maven build in jenkins -
while building maven application in jenkins following error
[error] artifact: com.envoisolutions.sxc:sxc-runtime:jar:0.7.3-osgi has no file. org.apache.maven.artifact.resolver.artifactnotfoundexception: not find artifact com.envoisolutions.sxc:sxc-runtime:jar:0.7.3-osgi in central (http://repo.maven.apache.org/maven2) org.apache.maven.artifact.resolver.artifactnotfoundexception: not find artifact xpp3:xpp3_min:jar:1.1.3.4.o-osgi in central (http://repo.maven.apache.org/maven2) try downloading file manually project website. then, install using command: mvn install:install-file -dgroupid=xpp3 -dartifactid=xpp3_min -dversion=1.1.3.4.o-osgi -dpackaging=jar -dfile=/path/to/file alternatively, if host own repository can deploy file there: mvn deploy:deploy-file -dgroupid=xpp3 -dartifactid=xpp3_min -dversion=1.1.3.4.o-osgi -dpackaging=jar -dfile=/path/to/file -durl=[url] -drepositoryid=[id] xpp3:xpp3_min:jar:1.1.3.4.o-osgi specified remote repositories: central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false), codehaus-releases (http://repository.codehaus.org/, releases=true, snapshots=true), java.net (http://download.java.net/maven/2/, releases=true, snapshots=true), central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
is there way restrict search of maven few repos ?
this artifact seems old. found in maven repository :
https://teamcity-systeme.lip6.fr/nexus/content/groups/public
add repo maven's pom.
Comments
Post a Comment