• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/xsd/maven-4.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 [Lite]</name>
14  <description>
15    Lite version of Protocol Buffers library. This version is optimized for code size, but does
16    not guarantee API/ABI stability.
17  </description>
18  <dependencies>
19    {dependencies}
20  </dependencies>
21
22  <build>
23    <plugins>
24      <!-- OSGI bundle configuration -->
25      <plugin>
26        <groupId>org.apache.felix</groupId>
27        <artifactId>maven-bundle-plugin</artifactId>
28        <extensions>true</extensions>
29        <configuration>
30          <instructions>
31            <Automatic-Module-Name>com.google.protobuf</Automatic-Module-Name> <!-- Java9+ Jigsaw module name -->
32            <Bundle-DocURL>https://developers.google.com/protocol-buffers/</Bundle-DocURL>
33            <Bundle-SymbolicName>com.google.protobuf</Bundle-SymbolicName>
34            <Export-Package>com.google.protobuf;version=${project.version}</Export-Package>
35            <Import-Package>sun.misc;resolution:=optional,*</Import-Package>
36          </instructions>
37        </configuration>
38      </plugin>
39    </plugins>
40  </build>
41</project>
42