mirror of
https://github.com/zxing/zxing.git
synced 2024-11-09 20:44:03 -08:00
* Fix #957 - Provide OSGi Metadata in Manifest * replace tabs by whitespaces * Try once again to fix whitespace/indentation
This commit is contained in:
parent
f51520212c
commit
c8da0c1a94
20
core/bnd.bnd
Normal file
20
core/bnd.bnd
Normal file
|
@ -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*
|
26
core/pom.xml
26
core/pom.xml
|
@ -60,6 +60,32 @@
|
|||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>biz.aQute.bnd</groupId>
|
||||
<artifactId>bnd-maven-plugin</artifactId>
|
||||
<version>3.5.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>bnd-process</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
||||
|
|
Loading…
Reference in a new issue