[ 
https://issues.apache.org/jira/browse/FELIX-4512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13996197#comment-13996197
 ] 

Michael Dürig commented on FELIX-4512:
--------------------------------------

This is just what we are looking for in OAK-1536. I tried this out and it works 
very well. An issue I encountered is that it doesn't fail when there are 
warnings and {{failOnWarning=true}}. I think this is an important feature so 
one could fail the build when package versions are outdated. 

Also the detailed analysis is a bit off:

{noformat}
PACKAGE_NAME                                       DELTA      CUR_VER    
BASE_VER   REC_VER    WARNINGS  
= ================================================== ========== ========== 
========== ========== ==========
* org.apache.jackrabbit.oak.spi.blob                 MAJOR      1.0.0      
1.0.0      2.0.0      Version increase required
...
Baseline analisys complete, 0 errors, 0 warnings
{noformat}

Even though there was a warning, the final line doesn't report it. 

> 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
>             Fix For: maven-bundle-plugin-2.4.1
>
>         Attachments: FELIX-4512.patch
>
>
> 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)

Reply via email to