felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (FELIX-4512) Add a new Mojo to invoke the BND Baseline tool
Date Tue, 13 May 2014 08:44:15 GMT

    [ 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

Also the detailed analysis is a bit off:

PACKAGE_NAME                                       DELTA      CUR_VER    BASE_VER   REC_VER
= ================================================== ========== ========== ========== ==========
* 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

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

View raw message