Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 2.36 KB

README.md

File metadata and controls

71 lines (51 loc) · 2.36 KB

Parent POM

Purpose

Code reuse (build logic reuse) between child projects. Easier upgrading of all plugins.

Changelog

5.20

  • Correcting repository URLs

5.19

  • Make spotbugs-annotations optional (-Dexclude-spotbugs-dependency or add to child pom properties)
  • Switched to !property for fast profile.

5.18

  • surefire/failsafe 3.0.0-M5 with toolchain support
  • remove forge plugin executions in favor of surefire/failsafe
  • remove redundant skipITs (failsafe already supports this)

5.17

  • Complete repository/snapshot spec
  • -DnexusUrl=X is required for deployment

5.16

  • Support vendor in toolchains (zulu default)

5.15

  • Fix surefire/failsafe versions

5.14

  • Add default encoding property
  • Remove default executions of failsafe/surefire so they don't appear in the output
  • Child projects can now use surefire/failsafe if maven-forge is undesirable, but need to define custom executions to do it.

5.13

  • Moving license plugin to this parent with reasonable defaults.
    child projects should be able to remove all mentions of this plugin unless defaults don't fit
  • Add spotbugs to main execution
  • Add spotbugs provided dependency for annotation

5.12

  • New maven-forge-plugin with proper failsafe/surefire JAVA_HOME env var support (previous versions did not correctly hack this variable in failsafe)

5.10

  • slow and fast modes. slow is default, fast skips everything inessential to permit quick building.
  • -Dfast -DskipTest is the fastest way to build a project using this parent.

Migrating from previous versions

Any custom pom profile for fast/slow in a child project should mimic the slow profile definition in this project, so that a single -Dfast activates both child and parent. See terracotta-platform for an example.

5.9

  • -DskipIts is now supported in addition to -DskipTests

5.6

maven-forge-plugin with toolchains support replaces surefire and failsafe.

Migrating from previous versions

  • Replace any mentions of surefire and failsafe with org.terracotta:maven-forge-plugin (do not specify version)
  • Remove any of the above if they are not customizing configuration (plugin executions are already defined)
  • Remove any property definitions that may unintentionally override this parent (eg maven-forge-plugin.version)

Methodology

  • Avoid unnecessary duplication in child poms.