maven - Why am i getting failure to find com.google.zxing:core:jar:2.2-SNAPSHOT error when i run mvn -DskipTests -Dgpg.skip=true install and how to solve it? -
when try run
mvn -dskiptests -dgpg.skip=true install
then following error:
[error] failed execute goal org.apache.maven.plugins:maven-dependency-plugin:2.7:copy (copy-android) on project core: unable find artifact. failure find com.google.zxing:core:jar:2.2-snapshot in https://oss.sonatype.org/content/repositories/snapshots cached in local repository, resolution not reattempted until update interval of sonatype-nexus-snapshots has elapsed or updates forced [error] [error] try downloading file manually project website. [error] [error] then, install using command: [error] mvn install:install-file -dgroupid=com.google.zxing -dartifactid=core -dversion=2.2-snapshot -dpackaging=jar -dfile=/path/to/file [error] [error] alternatively, if host own repository can deploy file there: [error] mvn deploy:deploy-file -dgroupid=com.google.zxing -dartifactid=core -dversion=2.2-snapshot -dpackaging=jar -dfile=/path/to/file -durl=[url] -drepositoryid=[id] [error] [error] [error] com.google.zxing:core:jar:2.2-snapshot [error] [error] specified remote repositories: [error] sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, releases=false, snapshots=true), [error] central (http://repo1.maven.org/maven2, releases=true, snapshots=false) [error] -> [help 1] [error] [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error] [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojoexecutionexception
i went https://oss.sonatype.org/content/repositories/snapshots didn't find com.google.zxing:core:jar:2.2-snapshot
.
any idea how can solve problem? in advance.
there no 2.2-snapshot. 2.2 has been released. either mean 2.2, or 2.3-snapshot.
Comments
Post a Comment