owasp-java-encoder/0_bundle-packaging.patch
DistroBaker 38c498588e Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/owasp-java-encoder.git#2bac160d78a01d09a1e5b8a2cbb455ae9d08dc24
2021-01-08 16:35:08 +00:00

33 lines
1.0 KiB
Diff

diff --git a/core/pom.xml b/core/pom.xml
index cd0293e..6d4276e 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -46,7 +46,7 @@
</parent>
<artifactId>encoder</artifactId>
- <packaging>jar</packaging>
+ <packaging>bundle</packaging>
<name>Java Encoder</name>
<description>
@@ -67,6 +67,18 @@
</excludes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>4.2.1</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Export-Package>org.owasp.encoder</Export-Package>
+ <Bundle-SymbolicName>org.owasp.encoder</Bundle-SymbolicName>
+ </instructions>
+ </configuration>
+ </plugin>
</plugins>
</build>
<profiles>