Skip to content

mvn test fails with missing dependencies #1

Description

@TobyHFerguson

I tried executing mvn test and this is what I got (even after forcing an update using mvn -U test):

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SparkUnitTestExamples 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.codehaus.jackson:jackson-core-asl:jar:${cdh.jackson.version} is missing, no dependency information available
[WARNING] The POM for org.codehaus.jackson:jackson-mapper-asl:jar:${cdh.jackson.version} is missing, no dependency information available
[WARNING] The POM for org.apache.hadoop:hadoop-common:jar:2.6.0-cdh5.5.0-20151012.212720-541 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.966 s
[INFO] Finished at: 2016-07-03T18:36:11-07:00
[INFO] Final Memory: 20M/437M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project SparkUnitTestExamples: Could not resolve dependencies for project com.cloudera.sa:SparkUnitTestExamples:jar:1.0-SNAPSHOT: Failure to find org.codehaus.jackson:jackson-core-asl:jar:${cdh.jackson.version} in https://repository.cloudera.com/artifactory/cloudera-repos was cached in the local repository, resolution will not be reattempted until the update interval of cloudera-repo 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions