Alexis de Talhouët | 9d88d3f | 2019-01-18 13:50:18 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2019 Bell Canada |
| 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 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 19 | |
| 20 | <parent> |
| 21 | <groupId>org.onap.ccsdk.parent</groupId> |
| 22 | <artifactId>binding-parent</artifactId> |
| 23 | <version>1.2.1-SNAPSHOT</version> |
| 24 | <relativePath/> |
| 25 | </parent> |
| 26 | |
| 27 | <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| 28 | <artifactId>grpc-client-provider</artifactId> |
| 29 | <version>0.4.1-SNAPSHOT</version> |
| 30 | <packaging>bundle</packaging> |
| 31 | <modelVersion>4.0.0</modelVersion> |
| 32 | |
| 33 | <name>ccsdk-sli-adaptors :: grpc-client :: ${project.artifactId}</name> |
| 34 | |
| 35 | <properties> |
Alexis de Talhouët | afde732 | 2019-01-18 15:14:23 -0500 | [diff] [blame] | 36 | <grpc.version>1.17.1</grpc.version> |
| 37 | <protobuf.version>3.6.1</protobuf.version> |
| 38 | <grpc.netty.version>4.1.30.Final</grpc.netty.version> |
Alexis de Talhouët | 9d88d3f | 2019-01-18 13:50:18 -0500 | [diff] [blame] | 39 | </properties> |
| 40 | |
| 41 | <dependencyManagement> |
| 42 | <dependencies> |
| 43 | <dependency> |
| 44 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 45 | <artifactId>sli-core-artifacts</artifactId> |
| 46 | <version>${ccsdk.sli.core.version}</version> |
| 47 | <type>pom</type> |
| 48 | <scope>import</scope> |
| 49 | </dependency> |
| 50 | </dependencies> |
| 51 | </dependencyManagement> |
| 52 | |
| 53 | <dependencies> |
Alexis de Talhouët | afde732 | 2019-01-18 15:14:23 -0500 | [diff] [blame] | 54 | |
| 55 | <!-- SLI dependencies --> |
Alexis de Talhouët | 9d88d3f | 2019-01-18 13:50:18 -0500 | [diff] [blame] | 56 | <dependency> |
| 57 | <groupId>org.onap.ccsdk.sli.core</groupId> |
| 58 | <artifactId>sliPluginUtils-provider</artifactId> |
Alexis de Talhouët | afde732 | 2019-01-18 15:14:23 -0500 | [diff] [blame] | 59 | <scope>provided</scope> |
Alexis de Talhouët | 9d88d3f | 2019-01-18 13:50:18 -0500 | [diff] [blame] | 60 | </dependency> |
| 61 | |
Alexis de Talhouët | afde732 | 2019-01-18 15:14:23 -0500 | [diff] [blame] | 62 | <!-- CDS dependencies --> |
| 63 | <dependency> |
| 64 | <groupId>org.onap.ccsdk.apps.components</groupId> |
| 65 | <artifactId>proto-definition</artifactId> |
| 66 | <version>${project.version}</version> |
| 67 | <exclusions> |
| 68 | <exclusion> |
| 69 | <groupId>com.google.code.findbugs</groupId> |
| 70 | <artifactId>jsr305</artifactId> |
| 71 | </exclusion> |
| 72 | <exclusion> |
| 73 | <groupId>com.google.protobuf</groupId> |
| 74 | <artifactId>protobuf-java-util</artifactId> |
| 75 | </exclusion> |
| 76 | </exclusions> |
| 77 | </dependency> |
| 78 | |
| 79 | <!-- protobuf dependencies --> |
| 80 | <dependency> |
| 81 | <groupId>com.google.protobuf</groupId> |
| 82 | <artifactId>protobuf-java</artifactId> |
| 83 | <version>${protobuf.version}</version> |
| 84 | </dependency> |
| 85 | |
| 86 | <!-- gRPC dependencies --> |
Alexis de Talhouët | 9d88d3f | 2019-01-18 13:50:18 -0500 | [diff] [blame] | 87 | <dependency> |
| 88 | <groupId>io.grpc</groupId> |
Alexis de Talhouët | afde732 | 2019-01-18 15:14:23 -0500 | [diff] [blame] | 89 | <artifactId>grpc-protobuf</artifactId> |
| 90 | <version>${grpc.version}</version> |
| 91 | <exclusions> |
| 92 | <exclusion> |
| 93 | <groupId>com.google.code.findbugs</groupId> |
| 94 | <artifactId>jsr305</artifactId> |
| 95 | </exclusion> |
| 96 | </exclusions> |
| 97 | </dependency> |
| 98 | <dependency> |
| 99 | <groupId>io.grpc</groupId> |
| 100 | <artifactId>grpc-stub</artifactId> |
Alexis de Talhouët | 9d88d3f | 2019-01-18 13:50:18 -0500 | [diff] [blame] | 101 | <version>${grpc.version}</version> |
| 102 | </dependency> |
| 103 | <dependency> |
| 104 | <groupId>io.grpc</groupId> |
| 105 | <artifactId>grpc-netty</artifactId> |
| 106 | <version>${grpc.version}</version> |
| 107 | </dependency> |
Alexis de Talhouët | 9d88d3f | 2019-01-18 13:50:18 -0500 | [diff] [blame] | 108 | |
Alexis de Talhouët | afde732 | 2019-01-18 15:14:23 -0500 | [diff] [blame] | 109 | <!-- Testing --> |
Alexis de Talhouët | 9d88d3f | 2019-01-18 13:50:18 -0500 | [diff] [blame] | 110 | <dependency> |
| 111 | <groupId>junit</groupId> |
| 112 | <artifactId>junit</artifactId> |
| 113 | <version>${junit.version}</version> |
| 114 | <scope>test</scope> |
| 115 | </dependency> |
| 116 | <dependency> |
| 117 | <groupId>org.mockito</groupId> |
| 118 | <artifactId>mockito-core</artifactId> |
| 119 | <version>${mockito.version}</version> |
| 120 | <scope>test</scope> |
| 121 | </dependency> |
| 122 | </dependencies> |
| 123 | |
| 124 | <build> |
| 125 | <plugins> |
| 126 | <plugin> |
| 127 | <groupId>org.apache.felix</groupId> |
| 128 | <artifactId>maven-bundle-plugin</artifactId> |
| 129 | <extensions>true</extensions> |
| 130 | <configuration> |
| 131 | <instructions> |
| 132 | <Export-Package> |
Alexis de Talhouët | afde732 | 2019-01-18 15:14:23 -0500 | [diff] [blame] | 133 | io.grpc, |
| 134 | io.grpc.inprocess, |
| 135 | io.grpc.internal, |
| 136 | io.grpc.util |
Alexis de Talhouët | 9d88d3f | 2019-01-18 13:50:18 -0500 | [diff] [blame] | 137 | </Export-Package> |
Alexis de Talhouët | afde732 | 2019-01-18 15:14:23 -0500 | [diff] [blame] | 138 | <Import-Package>!com.google.errorprone.annotations,*</Import-Package> |
Alexis de Talhouët | 9d88d3f | 2019-01-18 13:50:18 -0500 | [diff] [blame] | 139 | </instructions> |
| 140 | </configuration> |
| 141 | </plugin> |
| 142 | </plugins> |
| 143 | </build> |
| 144 | |
| 145 | </project> |