Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove maven-bundle-plugin to fix duplicate class errors #8653

Merged
17 changes: 0 additions & 17 deletions java/kotlin-lite/pom.xml
Expand Up @@ -8,7 +8,6 @@
</parent>

<artifactId>protobuf-kotlin-lite</artifactId>
<packaging>bundle</packaging>

<name>Protocol Buffers [Lite]</name>
<description>
Expand Down Expand Up @@ -263,22 +262,6 @@
</execution>
</executions>
</plugin>

<!-- OSGI bundle configuration -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Automatic-Module-Name>com.google.protobuf</Automatic-Module-Name> <!-- Java9+ Jigsaw module name -->
<Bundle-DocURL>https://developers.google.com/protocol-buffers/</Bundle-DocURL>
<Bundle-SymbolicName>com.google.protobuf</Bundle-SymbolicName>
<Export-Package>com.google.protobuf;version=${project.version}</Export-Package>
<Import-Package>sun.misc;resolution:=optional,*</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
16 changes: 0 additions & 16 deletions java/kotlin/pom.xml
Expand Up @@ -8,7 +8,6 @@
</parent>

<artifactId>protobuf-kotlin</artifactId>
<packaging>bundle</packaging>

<name>Protocol Buffers [Core]</name>
<description>
Expand Down Expand Up @@ -219,21 +218,6 @@
</execution>
</executions>
</plugin>
<!-- OSGI bundle configuration -->
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Automatic-Module-Name>com.google.protobuf</Automatic-Module-Name> <!-- Java9+ Jigsaw module name -->
<Bundle-DocURL>https://developers.google.com/protocol-buffers/</Bundle-DocURL>
<Bundle-SymbolicName>com.google.protobuf</Bundle-SymbolicName>
<Export-Package>com.google.protobuf;version=${project.version}</Export-Package>
<Import-Package>sun.misc;resolution:=optional,*</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

Expand Down