[
https://issues.apache.org/jira/browse/FELIX-4512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13997425#comment-13997425
]
Julian Sedding commented on FELIX-4512:
---------------------------------------
Thanks for pushing to get this functionality into the bundle plugin.
I authored a similar plugin
(https://github.com/code-distillery/baselining-maven-plugin) and would like to
share some of the learnings:
* With regard to reporting, I think it would be useful to indicate the severity
(major, minor, micro) for each delta. This is to cater for the use-case, where
I want to avoid a major version change and need to identify the changes that
force such an increment.
* {{failOnError}} proved insufficient to describe the desired behaviour for
failing the build, instead the following seemed useful:
{code}
enforcement
The enforcement allows controlling when the build should fail. Valid
values are:
- lowerAndUpperBound (default): Enforce that export versions are
incremented as required but are not set to a higher value. Fails the
build otherwise.
- lowerBound: Enforce that export versions are incremented as required,
but allows increments that are higher than necessary. Fails the build
otherwise.
- none: The output is purely informational. Never fails the build.
{code}
> Add a new Mojo to invoke the BND Baseline tool
> ----------------------------------------------
>
> Key: FELIX-4512
> URL: https://issues.apache.org/jira/browse/FELIX-4512
> Project: Felix
> Issue Type: New Feature
> Components: Maven Bundle Plugin
> Affects Versions: maven-bundle-plugin-2.4.0
> Reporter: Simone Tripodi
> Assignee: Carsten Ziegeler
> Fix For: maven-bundle-plugin-2.4.1
>
> Attachments: FELIX-4512.1.patch, FELIX-4512.2.patch,
> FELIX-4512.patch, Screen Shot 2014-05-13 at 11.49.44 PM.pdf
>
>
> The BND 2.2.0 library contains an extraordinary tool called
> [Baseline|http://www.aqute.biz/Bnd/Versioning] (see Baselining paragraph)
> that compares the public API of a bundle with the public API of another
> bundle.
> It would be really useful to have this tool in the {{maven-bundle-plugin}} in
> order to keep track of APIs modifications during development time.
--
This message was sent by Atlassian JIRA
(v6.2#6252)