blob: 7f5d98cfbacb479b97de5933e034c34596f4f588 [file] [log] [blame]
Jonathan Hart097c8f52016-06-09 18:08:11 -07001<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2<!--
3 ~ Copyright 2016-present Open Networking Laboratory
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17<features xmlns="http://karaf.apache.org/xmlns/features/v1.2.0" name="${project.artifactId}-${project.version}">
18 <feature name="${project.artifactId}" version="${project.version}"
19 description="${project.description}">
20 <feature version="${project.version}">grpc</feature>
21
22 <bundle>mvn:com.google.protobuf/protobuf-java/3.0.0</bundle>
23 <bundle>mvn:${project.groupId}/${project.artifactId}/${project.version}</bundle>
24 </feature>
25
26 <feature name="grpc-netty" version="${project.version}"
27 description="gRPC Netty dependencies">
28 <bundle>mvn:io.netty/netty-common/${grpc.netty.version}</bundle>
29 <bundle>mvn:io.netty/netty-buffer/${grpc.netty.version}</bundle>
30 <bundle>mvn:io.netty/netty-transport/${grpc.netty.version}</bundle>
31 <bundle>mvn:io.netty/netty-handler/${grpc.netty.version}</bundle>
32 <bundle>mvn:io.netty/netty-codec/${grpc.netty.version}</bundle>
33 <bundle>mvn:io.netty/netty-codec-http/${grpc.netty.version}</bundle>
34 <bundle>mvn:io.netty/netty-codec-http2/${grpc.netty.version}</bundle>
35 <bundle>mvn:io.netty/netty-resolver/${grpc.netty.version}</bundle>
36 </feature>
37
38 <feature name="grpc" version="${project.version}" description="gRPC dependencies">
39 <feature version="${project.version}">grpc-netty</feature>
40 <bundle>wrap:mvn:com.google.auth/google-auth-library-credentials/${google.auth.version}$Bundle-SymbolicName=com.google.auth.google-auth-library-credentials&amp;Bundle-Version=${google.auth.version}</bundle>
41 <bundle>wrap:mvn:com.google.auth/google-auth-library-oauth2-http/${google.auth.version}$Bundle-SymbolicName=com.google.auth.google-auth-library-oauth2-http&amp;Bundle-Version=${google.auth.version}</bundle>
42 <!-- Export for io.grpc.internal required for DnsNameResolverProvider -->
43 <bundle>wrap:mvn:io.grpc/grpc-core/${grpc.version}$Bundle-SymbolicName=io.grpc.grpc-core&amp;Bundle-Version=${grpc.package.version}&amp;Export-Package=*;version=${grpc.package.version},io.grpc.internal;version=${grpc.package.version}&amp;</bundle>
44 <bundle>wrap:mvn:io.grpc/grpc-protobuf-lite/${grpc.version}$Bundle-SymbolicName=io.grpc.grpc-protobuf-lite&amp;Bundle-Version=${grpc.package.version}&amp;</bundle>
45 <bundle>wrap:mvn:io.grpc/grpc-protobuf/${grpc.version}$Bundle-SymbolicName=io.grpc.grpc-protobuf&amp;Bundle-Version=${grpc.package.version}&amp;</bundle>
46 <bundle>wrap:mvn:io.grpc/grpc-stub/${grpc.version}$Bundle-SymbolicName=io.grpc.grpc-stub&amp;Bundle-Version=${grpc.package.version}&amp;</bundle>
47 <bundle>wrap:mvn:io.grpc/grpc-netty/${grpc.version}$Bundle-SymbolicName=io.grpc.grpc-netty&amp;Bundle-Version=${grpc.package.version}&amp;Import-Package=io.netty.*;version=${grpc.netty.package.version},*</bundle>
48 <bundle>wrap:mvn:io.grpc/grpc-auth/${grpc.version}$Bundle-SymbolicName=io.grpc.grpc-auth&amp;Bundle-Version=${grpc.package.version}&amp;Import-Package=javax.net.ssl,*</bundle>
49 </feature>
50
51</features>