Andrii Kotelnikov created FELIX-6604: ----------------------------------------
Summary: [Baseline] BaselineIgnore annotation doesn't work Key: FELIX-6604 URL: https://issues.apache.org/jira/browse/FELIX-6604 Project: Felix Issue Type: Bug Components: Maven Bundle Plugin Affects Versions: maven-bundle-plugin-4.1.0 Environment: WSL 2 Reporter: Andrii Kotelnikov According to the documentation "This Maven plugin is based on the [BND|http://bnd.bndtools.org/] tool from Peter Kriens". I use "bundle:baseline" goal to check my bundle for changes in API. According to BND documentation "Instead of forcing developers to make a choice between disabling baseline (in order to avoid build warnings or failures) and keeping it enabled it’s important to know that there is fine grained control available using bnd’s {{@aQute.bnd.annotation.baseline.BaselineIgnore}} annotation." ([[Baselining | bnd (bndtools.org))|https://bnd.bndtools.org/chapters/180-baselining.html] But when I apply this annotation for newly added method - baseline gives me an error. Step to reproduce: * create a bundle with naven-bundle-plugin. In Manifest there are exported packages. In my file I have only one "public" method "getA". * perform a release of this bundle with version "1.0.0" * release is on artifactory * set in my pom.xml configuration parameter "comparisonVersion" as "1.0.0" * update my file. Add new public method "getB". Add annotation to this method "{{{}@aQute.bnd.annotation.baseline.BaselineIgnore("2.0.0")" {}}} * {{when building a project I got a baseline error}} "Version increase required" Are there additional steps to be done for this annotation to work? Maybe I missed something? -- This message was sent by Atlassian Jira (v8.20.10#820010)