From c8da0c1a942737ecd187bdbfdc52cc9b83d8383a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20L=C3=A4ubrich?= Date: Sat, 17 Feb 2018 00:35:41 +0100 Subject: [PATCH] Fix #957 - Provide OSGi Metadata in Manifest (#958) * Fix #957 - Provide OSGi Metadata in Manifest * replace tabs by whitespaces * Try once again to fix whitespace/indentation --- core/bnd.bnd | 20 ++++++++++++++++++++ core/pom.xml | 26 ++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 core/bnd.bnd diff --git a/core/bnd.bnd b/core/bnd.bnd new file mode 100644 index 000000000..d2fca4fdf --- /dev/null +++ b/core/bnd.bnd @@ -0,0 +1,20 @@ +# Copyright 2018 ZXing authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +Bundle-SymbolicName: com.google.zxing.core +Import-Package: !com.google.zxing* + +-exportcontents: \ + com.google.zxing* diff --git a/core/pom.xml b/core/pom.xml index 00a970323..c25fc63ce 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -60,6 +60,32 @@ + + + + biz.aQute.bnd + bnd-maven-plugin + 3.5.0 + + + + bnd-process + + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + ${project.build.outputDirectory}/META-INF/MANIFEST.MF + + + + +