根据评论请求,这是
的最后一次转储mvn clean install -U -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true -Dmaven.repo.local=localrepo
更新#2 我查看了错误中提到的在线仓库
Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com
http://maven.twttr.com/com/twitter/elephant-bird/
它是空的。我该怎么办?
更新#1 强制更新不重复。
我试过
mvn clean install -U -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true -Dmaven.repo.local=localrepo
产生了同样的错误,除了它再次开始下载文件并且需要更长的时间才能得到错误。
原创内容
我一直在努力( 12小时+ )尝试在我的$HOME
本地安装大象鸟在共享的研究目的群集中。在 12小时+ 努力工作之后,我仍然迷失在海洋中。什么样的男人谁愿意把我拉到船上?
我努力安装protocol-buffers
(版本2.5.0)和thrift
(版本0.7.0)的正确版本。
执行版本检查给出:
$ protoc --version
libprotoc 2.5.0
$ thrift -version
Thrift version 0.7.0
好的,一切都很好看。
下载elephant-birdgit clone git://github.com/kevinweil/elephant-bird.git
将CD放入目录并运行
mvn -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true package
由于我正在运行-Dprotobuf.version=2.5.0
的非默认版本,因此official github大象鸟会建议 protocol-buffers
。 this post建议-Dmaven.test.skip=true
,因为我在大象 - 鸟 - 核心构建期间确实未通过一些测试。
[INFO] ------------------------------------------------------------------------
[INFO] Building Elephant Bird Pig 4.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Elephant Bird ...................................... SUCCESS [ 0.643 s]
[INFO] Elephant Bird Hadoop Compatibility ................. SUCCESS [ 2.514 s]
[INFO] Elephant Bird Core ................................. SUCCESS [ 25.494 s]
[INFO] Elephant Bird Cascading2 ........................... SUCCESS [ 2.650 s]
[INFO] Elephant Bird Crunch ............................... SUCCESS [ 3.218 s]
[INFO] Elephant Bird Hive ................................. SUCCESS [ 2.342 s]
[INFO] Elephant Bird Pig .................................. FAILURE [ 0.238 s]
[INFO] Elephant Bird Mahout ............................... SKIPPED
[INFO] Elephant Bird RCFile ............................... SKIPPED
[INFO] Elephant Bird Lucene ............................... SKIPPED
[INFO] Elephant Bird Pig Lucene ........................... SKIPPED
[INFO] Elephant Bird Examples ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.748 s
[INFO] Finished at: 2015-10-10T20:02:11-04:00
[INFO] Final Memory: 48M/964M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :elephant-bird-pig
好吧,让我们用-X
运行相同的命令:
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Elephant Bird Pig 4.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
....
Skipping >>>>>>>
....
[DEBUG] commons-codec:commons-codec:jar:1.4:compile
[DEBUG] commons-net:commons-net:jar:1.4.1:provided
[DEBUG] org.mortbay.jetty:jetty:jar:6.1.26:provided
[DEBUG] org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided
[DEBUG] org.mortbay.jetty:jetty-util:jar:6.1.26:provided
[DEBUG] tomcat:jasper-runtime:jar:5.5.12:provided
[DEBUG] tomcat:jasper-compiler:jar:5.5.12:provided
[DEBUG] org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:provided
[DEBUG] org.mortbay.jetty:jsp-2.1:jar:6.1.14:provided
[DEBUG] org.eclipse.jdt:core:jar:3.1.1:provided
[DEBUG] ant:ant:jar:1.6.5:test (scope managed from compile by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT)
[DEBUG] commons-el:commons-el:jar:1.0:provided
[DEBUG] net.java.dev.jets3t:jets3t:jar:0.7.1:provided
[DEBUG] org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:provided
[DEBUG] net.sf.kosmosfs:kfs:jar:0.3:provided
[DEBUG] junit:junit:jar:4.8.2:test (scope managed from compile by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT) (version managed from 4.8.1 by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT)
[DEBUG] hsqldb:hsqldb:jar:1.8.0.10:provided
[DEBUG] oro:oro:jar:2.0.8:provided
[DEBUG] org.apache.avro:avro:jar:1.5.3:provided
[DEBUG] com.thoughtworks.paranamer:paranamer:jar:2.3:provided
[DEBUG] org.xerial.snappy:snappy-java:jar:1.0.3.2:provided
[DEBUG] org.antlr:antlr:jar:3.4:provided
[DEBUG] org.antlr:antlr-runtime:jar:3.4:provided
[DEBUG] org.antlr:stringtemplate:jar:3.2.1:provided
[DEBUG] antlr:antlr:jar:2.7.7:provided
[DEBUG] org.antlr:ST4:jar:4.0.4:provided
[DEBUG] joda-time:joda-time:jar:1.6:provided
[DEBUG] org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8:provided
[DEBUG] org.codehaus.jackson:jackson-core-asl:jar:1.8.8:provided
[DEBUG] log4j:log4j:jar:1.2.17:test
[DEBUG] org.easymock:easymock:jar:3.1:test
[DEBUG] cglib:cglib-nodep:jar:2.2.2:test
[DEBUG] org.objenesis:objenesis:jar:1.2:test
[DEBUG] Could not find metadata com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in local (/home/huip/.m2/repository)
[DEBUG] Failure to find com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
[DEBUG] Failure to find com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Elephant Bird ...................................... SUCCESS [ 0.661 s]
[INFO] Elephant Bird Hadoop Compatibility ................. SUCCESS [ 1.462 s]
[INFO] Elephant Bird Core ................................. SUCCESS [ 13.790 s]
[INFO] Elephant Bird Cascading2 ........................... SUCCESS [ 0.397 s]
[INFO] Elephant Bird Crunch ............................... SUCCESS [ 0.533 s]
[INFO] Elephant Bird Hive ................................. SUCCESS [ 0.567 s]
[INFO] Elephant Bird Pig .................................. FAILURE [ 0.215 s]
[INFO] Elephant Bird Mahout ............................... SKIPPED
[INFO] Elephant Bird RCFile ............................... SKIPPED
[INFO] Elephant Bird Lucene ............................... SKIPPED
[INFO] Elephant Bird Pig Lucene ........................... SKIPPED
[INFO] Elephant Bird Examples ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.260 s
[INFO] Finished at: 2015-10-10T20:17:39-04:00
[INFO] Final Memory: 23M/964M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
... 22 more
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
... 23 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
... 24 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced
at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
... 26 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :elephant-bird-pig
现在怎么办?
答案 0 :(得分:0)
解决此问题的命令是:
mvn clean install -U -Dprotobuf.version=2.5.0 -DskipTests=true -Dmaven.repo.local=localrepo
参考是:
D * mn it,Maven ......现在我觉得我是如此倾倒......