Jonathan Hart | 097c8f5 | 2016-06-09 18:08:11 -0700 | [diff] [blame] | 1 | <?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&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&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&Bundle-Version=${grpc.package.version}&Export-Package=*;version=${grpc.package.version},io.grpc.internal;version=${grpc.package.version}&</bundle> |
| 44 | <bundle>wrap:mvn:io.grpc/grpc-protobuf-lite/${grpc.version}$Bundle-SymbolicName=io.grpc.grpc-protobuf-lite&Bundle-Version=${grpc.package.version}&</bundle> |
| 45 | <bundle>wrap:mvn:io.grpc/grpc-protobuf/${grpc.version}$Bundle-SymbolicName=io.grpc.grpc-protobuf&Bundle-Version=${grpc.package.version}&</bundle> |
| 46 | <bundle>wrap:mvn:io.grpc/grpc-stub/${grpc.version}$Bundle-SymbolicName=io.grpc.grpc-stub&Bundle-Version=${grpc.package.version}&</bundle> |
| 47 | <bundle>wrap:mvn:io.grpc/grpc-netty/${grpc.version}$Bundle-SymbolicName=io.grpc.grpc-netty&Bundle-Version=${grpc.package.version}&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&Bundle-Version=${grpc.package.version}&Import-Package=javax.net.ssl,*</bundle> |
| 49 | </feature> |
| 50 | |
| 51 | </features> |