Update versions for London
[ccsdk/cds.git] / ms / blueprintsprocessor / modules / blueprints / blueprint-proto / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~  Copyright © 2019 IBM.
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
18 <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">
19     <modelVersion>4.0.0</modelVersion>
20
21     <parent>
22         <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId>
23         <artifactId>modules-blueprints</artifactId>
24         <version>1.5.0-SNAPSHOT</version>
25     </parent>
26
27     <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId>
28     <artifactId>blueprint-proto</artifactId>
29
30     <name>MS Blueprints Processor Modules - Blueprints - Blueprints Proto</name>
31
32     <properties>
33         <sonar.skip>true</sonar.skip>
34     </properties>
35
36     <dependencies>
37         <dependency>
38             <groupId>com.github.marcoferrer.krotoplus</groupId>
39             <artifactId>kroto-plus-coroutines</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>javax.annotation</groupId>
43             <artifactId>jsr250-api</artifactId>
44             <version>1.0</version>
45         </dependency>
46     </dependencies>
47
48     <build>
49         <plugins>
50             <plugin>
51                 <groupId>org.xolstice.maven.plugins</groupId>
52                 <artifactId>protobuf-maven-plugin</artifactId>
53                 <version>0.6.1</version>
54                 <configuration>
55                     <!--TODO: check latest version for protoc 3.13.0-->
56                     <protocArtifact>
57                         com.google.protobuf:protoc:3.10.0:exe:${os.detected.classifier}
58                     </protocArtifact>
59                     <protoSourceRoot>${project.basedir}/../../../../../components/model-catalog/proto-definition/proto
60                     </protoSourceRoot>
61                 </configuration>
62                 <executions>
63                     <execution>
64                         <goals>
65                             <goal>compile</goal>
66                         </goals>
67                     </execution>
68                     <execution>
69                         <id>grpc-java</id>
70                         <goals>
71                             <goal>compile-custom</goal>
72                         </goals>
73                         <configuration>
74                             <pluginId>grpc-java</pluginId>
75                             <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact>
76                         </configuration>
77                     </execution>
78                     <!--
79                     <execution>
80                         <id>grpc-coroutines</id>
81                         <goals>
82                             <goal>compile-custom</goal>
83                         </goals>
84                         <configuration>
85                             <pluginId>kroto-plus</pluginId>
86                             <pluginArtifact>
87                                 com.github.marcoferrer.krotoplus:protoc-gen-kroto-plus:${kroto-plus.version}:jar:jvm8
88                             </pluginArtifact>
89                             <pluginParameter>ConfigPath=${project.basedir}/krotoPlusConfig.asciipb</pluginParameter>
90                         </configuration>
91                     </execution>
92                     -->
93                 </executions>
94             </plugin>
95             <plugin>
96                 <groupId>org.jetbrains.kotlin</groupId>
97                 <artifactId>kotlin-maven-plugin</artifactId>
98                 <executions>
99                     <execution>
100                         <id>compile</id>
101                         <goals>
102                             <goal>compile</goal>
103                         </goals>
104                         <configuration>
105                             <sourceDirs>
106                                 <sourceDir>${project.basedir}/target/generated-sources/protobuf/java</sourceDir>
107                                 <sourceDir>${project.basedir}/target/generated-sources/protobuf/grpc-java</sourceDir>
108                                 <!--<sourceDir>${project.basedir}/target/generated-sources/protobuf/kroto-plus</sourceDir>-->
109                             </sourceDirs>
110                         </configuration>
111                     </execution>
112                 </executions>
113             </plugin>
114         </plugins>
115         <extensions>
116             <extension>
117                 <groupId>kr.motd.maven</groupId>
118                 <artifactId>os-maven-plugin</artifactId>
119                 <version>1.6.2</version>
120             </extension>
121         </extensions>
122     </build>
123 </project>