| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright (C) 2019 Bell Canada |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| |
| <parent> |
| <groupId>org.onap.ccsdk.parent</groupId> |
| <artifactId>binding-parent</artifactId> |
| <version>1.3.0-SNAPSHOT</version> |
| <relativePath/> |
| </parent> |
| |
| <groupId>org.onap.ccsdk.sli.adaptors</groupId> |
| <artifactId>grpc-client-provider</artifactId> |
| <version>0.5.0-SNAPSHOT</version> |
| <packaging>bundle</packaging> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <name>ccsdk-sli-adaptors :: grpc-client :: ${project.artifactId}</name> |
| |
| <properties> |
| <grpc.version>1.17.1</grpc.version> |
| <protobuf.version>3.6.1</protobuf.version> |
| <grpc.netty.version>4.1.30.Final</grpc.netty.version> |
| <ccsdk.sli.cds.version>0.4.2-SNAPSHOT</ccsdk.sli.cds.version> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.onap.ccsdk.sli.core</groupId> |
| <artifactId>sli-core-artifacts</artifactId> |
| <version>${ccsdk.sli.core.version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| |
| <dependencies> |
| |
| <!-- SLI dependencies --> |
| <dependency> |
| <groupId>org.onap.ccsdk.sli.core</groupId> |
| <artifactId>sliPluginUtils-provider</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- CDS dependencies --> |
| <dependency> |
| <groupId>org.onap.ccsdk.cds.components</groupId> |
| <artifactId>proto-definition</artifactId> |
| <version>${ccsdk.sli.cds.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java-util</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- protobuf dependencies --> |
| <dependency> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java</artifactId> |
| <version>${protobuf.version}</version> |
| </dependency> |
| |
| <!-- gRPC dependencies --> |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-protobuf</artifactId> |
| <version>${grpc.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>com.google.code.findbugs</groupId> |
| <artifactId>jsr305</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-stub</artifactId> |
| <version>${grpc.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-netty</artifactId> |
| <version>${grpc.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- Testing --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>io.grpc</groupId> |
| <artifactId>grpc-testing</artifactId> |
| <version>${grpc.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Export-Package> |
| io.grpc, |
| io.grpc.inprocess, |
| io.grpc.internal, |
| io.grpc.util |
| </Export-Package> |
| <Import-Package>!com.google.errorprone.annotations,*</Import-Package> |
| <Embed-Dependency>*;inline=META-INF/services/**</Embed-Dependency> |
| </instructions> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |