Skip to content

Renamed Service Annotations

Choose a tag to compare

@tobiasstamann tobiasstamann released this 21 May 10:48
· 6 commits to develop since this release

Services and Service annotations have been renamed to SpiServices and SpiService to prevent name collision with Sping Service.

This release will break your build!

To resolve this, please do one of the following:

  • Bind spiap-legacy-api instead of spiap-api - it contains the old annotations and has the new ones as transitive dependency
  • Switch to use SpiServices and SpiService annotation - the spiap-legacy-api dependency must be present in provided scope, otherwise the ServiceLocators can't be compiled properly.

The old Service annotations Service and Services will be removed with version 0.11.0