Merge pull request #8653 from deannagarcia/fixDuplicateClassErrors

Remove maven-bundle-plugin to fix duplicate class errors
pull/8657/head
deannagarcia 4 years ago committed by GitHub
commit b87d364831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      java/kotlin-lite/pom.xml
  2. 16
      java/kotlin/pom.xml

@ -8,7 +8,6 @@
</parent>
<artifactId>protobuf-kotlin-lite</artifactId>
<packaging>bundle</packaging>
<name>Protocol Buffers [Lite]</name>
<description>
@ -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>

@ -8,7 +8,6 @@
</parent>
<artifactId>protobuf-kotlin</artifactId>
<packaging>bundle</packaging>
<name>Protocol Buffers [Core]</name>
<description>
@ -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>

Loading…
Cancel
Save