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.0.0-beta-3</version> | 9 <version>3.1.0</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 <artifactId>maven-compiler-plugin</artifactId> | 95 <groupId>org.codehaus.mojo</groupId> |
96 <configuration> | 96 <artifactId>build-helper-maven-plugin</artifactId> |
97 <generatedSourcesDirectory>${generated.sources.dir}</generatedSourcesD
irectory> | 97 <executions> |
98 <generatedTestSourcesDirectory>${generated.testsources.dir}</generated
TestSourcesDirectory> | 98 <execution> |
99 </configuration> | 99 <id>add-generated-sources</id> |
| 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> |
100 </plugin> | 123 </plugin> |
101 | 124 |
102 <!-- OSGI bundle configuration --> | 125 <!-- OSGI bundle configuration --> |
103 <plugin> | 126 <plugin> |
104 <groupId>org.apache.felix</groupId> | 127 <groupId>org.apache.felix</groupId> |
105 <artifactId>maven-bundle-plugin</artifactId> | 128 <artifactId>maven-bundle-plugin</artifactId> |
106 <extensions>true</extensions> | 129 <extensions>true</extensions> |
107 <configuration> | 130 <configuration> |
108 <instructions> | 131 <instructions> |
109 <Bundle-DocURL>https://developers.google.com/protocol-buffers/</Bund
le-DocURL> | 132 <Bundle-DocURL>https://developers.google.com/protocol-buffers/</Bund
le-DocURL> |
110 <Bundle-SymbolicName>com.google.protobuf</Bundle-SymbolicName> | 133 <Bundle-SymbolicName>com.google.protobuf</Bundle-SymbolicName> |
111 <Export-Package>com.google.protobuf;version=${project.version}</Expo
rt-Package> | 134 <Export-Package>com.google.protobuf;version=${project.version}</Expo
rt-Package> |
112 </instructions> | 135 </instructions> |
113 </configuration> | 136 </configuration> |
114 </plugin> | 137 </plugin> |
115 </plugins> | 138 </plugins> |
116 </build> | 139 </build> |
117 | 140 |
118 </project> | 141 </project> |
OLD | NEW |