Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1032

Package builds are failing with missing org.mockito:mockito-core dependency version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • None
    • None

    Description

      Package builds using "mvn package -Pdist -DskipTests -Dtar -Dmaven.javadoc.skip=true -Phdds" are failing with the following error.

      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] 'dependencies.dependency.version' for org.mockito:mockito-core:jar is missing. @ line 36, column 17
      [ERROR] 'dependencies.dependency.version' for org.mockito:mockito-core:jar is missing. @ line 89, column 17
       @ 
      [ERROR] The build could not read 2 projects -> [Help 1]
      [ERROR]   
      [ERROR]   The project org.apache.hadoop:hadoop-hdds-server-framework:0.4.0-SNAPSHOT (/Users/msingh/code/apache/ozone/oz_new3/hadoop-hdds/framework/pom.xml) has 1 error
      [ERROR]     'dependencies.dependency.version' for org.mockito:mockito-core:jar is missing. @ line 36, column 17
      [ERROR]   
      [ERROR]   The project org.apache.hadoop:hadoop-hdds-server-scm:0.4.0-SNAPSHOT (/Users/msingh/code/apache/ozone/oz_new3/hadoop-hdds/server-scm/pom.xml) has 1 error
      [ERROR]     'dependencies.dependency.version' for org.mockito:mockito-core:jar is missing. @ line 89, column 17
      [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/ProjectBuildingException
      

      Attachments

        1. HDDS-1032.001.patch
          0.9 kB
          Attila Doroszlai

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              msingh Mukul Kumar Singh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: