1<?xml version="1.0" encoding="UTF-8"?> 2<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 3 <modelVersion>4.0.0</modelVersion> 4 <parent> 5 <groupId>{groupId}</groupId> 6 <artifactId>protobuf-parent</artifactId> 7 <version>{version}</version> 8 </parent> 9 10 <artifactId>{artifactId}</artifactId> 11 <packaging>{type}</packaging> 12 13 <name>Protocol Buffers [Util]</name> 14 <description>Utilities for Protocol Buffers</description> 15 <dependencies> 16 <dependency> 17 <groupId>{groupId}</groupId> 18 <artifactId>protobuf-java</artifactId> 19 <version>{version}</version> 20 </dependency> 21 {dependencies} 22 </dependencies> 23 24 <build> 25 <plugins> 26 <!-- OSGI bundle configuration --> 27 <plugin> 28 <groupId>org.apache.felix</groupId> 29 <artifactId>maven-bundle-plugin</artifactId> 30 <extensions>true</extensions> 31 <configuration> 32 <instructions> 33 <Automatic-Module-Name>com.google.protobuf.util</Automatic-Module-Name> <!-- Java9+ Jigsaw module name --> 34 <Bundle-DocURL>https://developers.google.com/protocol-buffers/</Bundle-DocURL> 35 <Bundle-SymbolicName>com.google.protobuf.util</Bundle-SymbolicName> 36 <Export-Package>com.google.protobuf.util;version=${project.version}</Export-Package> 37 </instructions> 38 </configuration> 39 </plugin> 40 </plugins> 41 </build> 42 43</project> 44