Skip to content

Build Breakages in Maven

chris edited this page Jul 24, 2018 · 3 revisions

There are multiple ways a Maven build can break.

Dependency Resolution

Builds failing by failing to resolve dependencies.

Test Execution Failed

  • Unit - Build failing when unit tests are failing
  • Integration - Build failing when integration tests are failing

Compilation Failed

  • Production - Failure occurs due to compilation issues in production code
  • Test - Failure occurs due to compilation issues in test code

Goal Failed

  • Pre-processing - Build failing in a pre-processing phase, e.g. maven-resources-plugin
  • Static-Analysis - Build failing when a static analysis plugin fails, e.g. maven-pmd-plugin
  • Dynamic-Analysis - Build failing when a dynamic analysis plugin fails, e.g. cobertura-maven-plugin
  • Validation - Failure occurs due to a failing validation plugin, e.g. maven-enforcer-plugin
  • Packaging - Failure occurs due to a failing packaging plugin, e.g. maven-assembly-plugin
  • Documentation - Failure occurs when a documentation plugin fails, e.g. maven-javadoc-plugin
  • Release Preparation - Build failing due to an error during the preparation of a release, e.g. maven-release-plugin
  • Deployment - Remote - Build failing while deploying to a remote location, e.g. maven-deploy-plugin
  • Deployment - Local - Build failing while deploying to a local location, e.g. maven-install-plugin
  • Support - Failure occurs when a supportive plugin fails, e.g. antlr3-maven-plugin
  • Ant inside Maven - Build failing when executing maven-antrun-plugin
  • Run system/Java program - Build failing when executing exec-maven-plugin
  • Run Jetty server - Build failing when executing jetty-console-maven-plugin
  • Manage Ruby Gems - Build failing when executing gem-maven-plugin
  • Polyglot for Maven - Build failing when executing tesla-polyglot-maven-plugin

Broken Outside Maven

  • No Log available - Build was canceled before it started executing.
  • Failed Before Maven - Failure occurs due to some other reason beyond Maven and appears before the build reaches any Maven commands.
  • Failed After Maven - Failure occurs due to some other reason beyond Maven and appears in the log after the Maven build successfully completes.
  • Travis Aborted
  • Travis Cancelled - Build was stopped by a user action

Clone this wiki locally