Adobe-Consulting-Services/acs-aem-commons — pull request #334 by justinedelson (2014-10-10 15:17:46+00:00)
Title: adding baseline goal and insuring that all exported types have either a @ProviderType or @ConsumerType annotation

A feature was recently added to the maven-bundle-plugin which analyzes and compares a bundle to its prior version and fails the build when the package export version needs to be changed.

This pull request includes three significant changes:
* It adds the configuration of the baseline plugin so that it executes during the build.
* It adds the `@ProviderType` and `@ConsumerType` annotations to every exported type (I think).
* It updates the package export versions because the annotations have been added (and I knew to do this because I was informed by the baseline plugin)

As a short rule of thumb - `@ProviderType` should be on:
* interfaces which are *only* implemented by the exporting bundle
* final classes

`@ConsumerType` should be on:
* interfaces which are expected by consuming bundles
* abstract classes which are extended by consuming bundles

@davidjgonzalez please validate