]> gerrit.simantics Code Review - simantics/platform.git/blob - releng/io.grpc/pom.xml
Starting to run out of options with this one...
[simantics/platform.git] / releng / io.grpc / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     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>org.simantics</groupId>
6         <artifactId>org.simantics.sdk.build</artifactId>
7         <version>1.30.0</version>
8         <relativePath>../org.simantics.sdk.build/</relativePath>
9     </parent>
10
11     <groupId>io.grpc</groupId>
12     <artifactId>io.grpc</artifactId>
13     <version>${grpc.version}</version>
14     <packaging>bundle</packaging>
15     
16     <properties>
17         <grpc.version>1.14.0</grpc.version>
18     </properties>
19
20     <dependencies>
21         <dependency>
22             <groupId>io.grpc</groupId>
23             <artifactId>grpc-core</artifactId>
24             <version>${grpc.version}</version>
25             <scope>runtime</scope>
26         </dependency>
27         <dependency>
28             <groupId>io.grpc</groupId>
29             <artifactId>grpc-context</artifactId>
30             <version>${grpc.version}</version>
31             <scope>runtime</scope>
32         </dependency>
33     </dependencies>
34
35     <build>
36         <plugins>
37             <plugin>
38                 <groupId>org.apache.felix</groupId>
39                 <artifactId>maven-bundle-plugin</artifactId>
40                 <version>3.5.1</version>
41                 <extensions>true</extensions>
42                 <configuration>
43                     <instructions>
44                         <Bundle-SymbolicName>io.grpc</Bundle-SymbolicName>
45                         <Bundle-Version>${grpc.version}</Bundle-Version>
46                         <Export-Package>*</Export-Package>
47                         <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
48                         <Embed-Directory>target/dependency</Embed-Directory>
49                         <Require-Capability>
50                             osgi.extender;
51                                 filter:="(osgi.extender=osgi.serviceloader.processor)",
52                             osgi.serviceloader;
53                                 filter:="(osgi.serviceloader=io.grpc.ServerProvider)";
54                                 cardinality:=multiple,
55                             osgi.serviceloader;
56                                 filter:="(osgi.serviceloader=io.grpc.ManagedChannelProvider)";
57                                 cardinality:=multiple
58                         </Require-Capability>
59                     </instructions>
60                 </configuration>
61             </plugin>
62         </plugins>
63     </build>
64
65 </project>