Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The pattern in short is following: provide some SPI component interfaces in a separate Maven Plugin SPI artifact. Make the plugin depend on this SPI artifact and let plugin provide "default" implementations for themSPI. Basically, you introduce an indirection, where the plugin contained SPI implementation implementations contains the factored out plugin original code (the one that is to be altered or extended).

...