Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [[ERROR] Failed to execute goal on project maven-compiler-plugin: Could not resolve dependencies for project org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:3.12.1
[ERROR] dependency: org.mockito:mockito-core:jar:4.8.0 (test)]: [A test dependency specified in the POM file could not be resolved by Maven.]

Issue: A test dependency is missing.
Resolution: If the dependency is really needed for the build, add it to BuildRequires, if available. Otherwise try to remove the usage of the dependency from the project.