Skip to content

Commit

Permalink
#811 Get rid of bundle plugin warnings by using manifest goal and n…
Browse files Browse the repository at this point in the history
  • Loading branch information
theigl committed Apr 6, 2021
1 parent e2dccb6 commit 56817af
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pom-versioned.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<groupId>com.esotericsoftware.kryo</groupId>
<artifactId>kryo${kryo.major.version}</artifactId>
<packaging>bundle</packaging>
<packaging>jar</packaging>

<name>Kryo ${kryo.major.version}</name>
<description>Fast, efficient Java serialization. This is the version specific Kryo artifact.</description>
Expand All @@ -34,8 +34,10 @@
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifestEntries>
<Automatic-Module-Name>com.esotericsoftware.kryo.kryo${kryo.major.version}</Automatic-Module-Name>
<Automatic-Module-Name>com.esotericsoftware.kryo.kryo${kryo.major.version}
</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
Expand Down Expand Up @@ -86,6 +88,15 @@
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Import-Package><![CDATA[
Expand Down

0 comments on commit 56817af

Please sign in to comment.