OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <project xmlns="http://maven.apache.org/POM/4.0.0" | 2 <project xmlns="http://maven.apache.org/POM/4.0.0" |
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/
maven-v4_0_0.xsd"> | 4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/
maven-v4_0_0.xsd"> |
5 <modelVersion>4.0.0</modelVersion> | 5 <modelVersion>4.0.0</modelVersion> |
6 <parent> | 6 <parent> |
7 <groupId>com.google.protobuf</groupId> | 7 <groupId>com.google.protobuf</groupId> |
8 <artifactId>protobuf-parent</artifactId> | 8 <artifactId>protobuf-parent</artifactId> |
9 <version>3.1.0</version> | 9 <version>3.0.0-beta-3</version> |
10 </parent> | 10 </parent> |
11 | 11 |
12 <artifactId>protobuf-java</artifactId> | 12 <artifactId>protobuf-java</artifactId> |
13 <packaging>bundle</packaging> | 13 <packaging>bundle</packaging> |
14 | 14 |
15 <name>Protocol Buffers [Core]</name> | 15 <name>Protocol Buffers [Core]</name> |
16 <description> | 16 <description> |
17 Core Protocol Buffers library. Protocol Buffers are a way of encoding struct
ured data in an | 17 Core Protocol Buffers library. Protocol Buffers are a way of encoding struct
ured data in an |
18 efficient yet extensible format. | 18 efficient yet extensible format. |
19 </description> | 19 </description> |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 </configuration> | 85 </configuration> |
86 <goals> | 86 <goals> |
87 <goal>run</goal> | 87 <goal>run</goal> |
88 </goals> | 88 </goals> |
89 </execution> | 89 </execution> |
90 </executions> | 90 </executions> |
91 </plugin> | 91 </plugin> |
92 | 92 |
93 <!-- Add the generated sources to the build --> | 93 <!-- Add the generated sources to the build --> |
94 <plugin> | 94 <plugin> |
95 <groupId>org.codehaus.mojo</groupId> | 95 <artifactId>maven-compiler-plugin</artifactId> |
96 <artifactId>build-helper-maven-plugin</artifactId> | 96 <configuration> |
97 <executions> | 97 <generatedSourcesDirectory>${generated.sources.dir}</generatedSourcesD
irectory> |
98 <execution> | 98 <generatedTestSourcesDirectory>${generated.testsources.dir}</generated
TestSourcesDirectory> |
99 <id>add-generated-sources</id> | 99 </configuration> |
100 <phase>generate-sources</phase> | |
101 <goals> | |
102 <goal>add-source</goal> | |
103 </goals> | |
104 <configuration> | |
105 <sources> | |
106 <source>${generated.sources.dir}</source> | |
107 </sources> | |
108 </configuration> | |
109 </execution> | |
110 <execution> | |
111 <id>add-generated-test-sources</id> | |
112 <phase>generate-test-sources</phase> | |
113 <goals> | |
114 <goal>add-test-source</goal> | |
115 </goals> | |
116 <configuration> | |
117 <sources> | |
118 <source>${generated.testsources.dir}</source> | |
119 </sources> | |
120 </configuration> | |
121 </execution> | |
122 </executions> | |
123 </plugin> | 100 </plugin> |
124 | 101 |
125 <!-- OSGI bundle configuration --> | 102 <!-- OSGI bundle configuration --> |
126 <plugin> | 103 <plugin> |
127 <groupId>org.apache.felix</groupId> | 104 <groupId>org.apache.felix</groupId> |
128 <artifactId>maven-bundle-plugin</artifactId> | 105 <artifactId>maven-bundle-plugin</artifactId> |
129 <extensions>true</extensions> | 106 <extensions>true</extensions> |
130 <configuration> | 107 <configuration> |
131 <instructions> | 108 <instructions> |
132 <Bundle-DocURL>https://developers.google.com/protocol-buffers/</Bund
le-DocURL> | 109 <Bundle-DocURL>https://developers.google.com/protocol-buffers/</Bund
le-DocURL> |
133 <Bundle-SymbolicName>com.google.protobuf</Bundle-SymbolicName> | 110 <Bundle-SymbolicName>com.google.protobuf</Bundle-SymbolicName> |
134 <Export-Package>com.google.protobuf;version=${project.version}</Expo
rt-Package> | 111 <Export-Package>com.google.protobuf;version=${project.version}</Expo
rt-Package> |
135 </instructions> | 112 </instructions> |
136 </configuration> | 113 </configuration> |
137 </plugin> | 114 </plugin> |
138 </plugins> | 115 </plugins> |
139 </build> | 116 </build> |
140 | 117 |
141 </project> | 118 </project> |
OLD | NEW |