From ae597a1a223559cd337c4d13ccfedef9a5ec971b Mon Sep 17 00:00:00 2001 From: Hannes Wellmann Date: Wed, 10 Jan 2024 14:37:44 +0100 Subject: [PATCH] [Build|OSGi] Migrate from Maven-Bundle-Plugin to BND-Maven-Plugin The former uses the latter under the hood, thus the latter is always more recent and more powerful. The Bnd-Maven-Plugin requires Java-17 to run the Maven build. --- .../matheclipse-external/pom.xml | 10 +++--- symja_android_library/pom.xml | 32 +++++++++---------- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/symja_android_library/matheclipse-external/pom.xml b/symja_android_library/matheclipse-external/pom.xml index 88a20c7e1d..6ee65f033c 100644 --- a/symja_android_library/matheclipse-external/pom.xml +++ b/symja_android_library/matheclipse-external/pom.xml @@ -57,12 +57,12 @@ - org.apache.felix - maven-bundle-plugin + biz.aQute.bnd + bnd-maven-plugin - - !net.sf.saxon,* - + diff --git a/symja_android_library/pom.xml b/symja_android_library/pom.xml index 0f030a916f..e308405972 100644 --- a/symja_android_library/pom.xml +++ b/symja_android_library/pom.xml @@ -399,9 +399,9 @@ - org.apache.felix - maven-bundle-plugin - 5.1.9 + biz.aQute.bnd + bnd-maven-plugin + 7.0.0 org.apache.maven.plugins @@ -444,8 +444,7 @@ 3.3.0 - - ${project.build.outputDirectory}/META-INF/MANIFEST.MF + ${project.build.outputDirectory}/META-INF/MANIFEST.MF @@ -582,22 +581,21 @@ - org.apache.felix - maven-bundle-plugin - - - ${project.artifactId} - - *;-noimport:=true - <_nouses>true - - true - + biz.aQute.bnd + bnd-maven-plugin + generate-manifest - manifest + bnd-process +