re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-10 13:35:33 +02:00 committed by root
parent e8a7daaa69
commit 7ee6aeaafd
5 changed files with 1 additions and 51 deletions

1
.gitignore vendored
View File

@ -1,2 +1 @@
SOURCES/v1.2.2.tar.gz
/v1.2.2.tar.gz

View File

@ -0,0 +1 @@
73bd33ad45dac8f353ab3ab30093bc4a60e9c2c4 v1.2.2.tar.gz

View File

@ -1,32 +0,0 @@
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>

View File

@ -1,15 +0,0 @@
diff --git a/pom.xml b/pom.xml
index d81ad2c..fe27928 100755
--- a/pom.xml
+++ b/pom.xml
@@ -261,8 +261,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
- <source>1.5</source>
- <target>1.5</target>
+ <source>1.8</source>
+ <target>1.8</target>
</configuration>
</plugin>
<plugin>

View File

@ -1,3 +0,0 @@
# owasp-java-encoder
The owasp-java-encoder package