Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-incubating
-
None
Description
Subsequent trafodion builds work, but initial one gets an error. This can be replicated by removing or re-naming your maven repository (~/.m2/repository).
Sample errors:
[ERROR] Failed to execute goal on project trafodion-utility: Could not resolve dependencies for project org.trafodion.utility:trafodion-utility:jar:2.0.0: Failed to collect dependencies for [org.apache.hbase:hbase-server:jar:0.98.6-cdh5.3.0 (compile), org.apache.hbase:hbase-client:jar:0.98.6-cdh5.3.0 (compile)]: Failed to read artifact descriptor for org.mortbay.jetty:jsp-2.1:jar:6.1.14: Could not find artifact org.mortbay.jetty:project:pom:6.1.14 in cloudera (https://repository.cloudera.com/artifactory/cloudera-repos/) -> [Help 1] ##(HBASE_UTIL)
in another build of same version of source code:
[ERROR] Failed to execute goal on project trafodion-utility: Could not resolve dependencies for project org.trafodion.utility:trafodion-utility:jar:2.0.0: The following artifacts could not be resolved: com.yammer.metrics:metrics-core:jar:2.2.0, com.google.guava:guava:jar:12.0.1, com.github.stephenc.high-scale-lib:high-scale-lib:jar:1.1.1, org.apache.commons:commons-math:jar:2.1, org.mortbay.jetty:jsp-2.1:jar:6.1.14, org.mortbay.jetty:jsp-api-2.1:jar:6.1.14, org.mortbay.jetty:servlet-api-2.5:jar:6.1.14, org.jamon:jamon-runtime:jar:2.3.1, org.codehaus.jackson:jackson-xc:jar:1.7.1, org.cloudera.htrace:htrace-core:jar:2.04, com.github.stephenc.findbugs:findbugs-annotations:jar:1.3.9-1, commons-codec:commons-codec:jar:1.7, io.netty:netty:jar:3.6.6.Final: Could not find artifact com.yammer.metrics:metrics-core:jar:2.2.0 in cloudera (https://repository.cloudera.com/artifactory/cloudera-repos/) -> [Help 1] ##(HBASE_UTIL)
In both cases, the same goal got an error, but complained about different dependency. Subsequent build works, until repository removed to start fresh.