blob: fef6cb7acb347df3dec623a532a8895bab833039 [file] [log] [blame]
Brinda Santh70032082019-09-11 22:07:33 -04001<?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 -->
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +000017<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">
18 <modelVersion>4.0.0</modelVersion>
19
Brinda Santh70032082019-09-11 22:07:33 -040020 <parent>
21 <groupId>org.onap.ccsdk.cds.controllerblueprints</groupId>
22 <artifactId>modules</artifactId>
23 <version>0.7.0-SNAPSHOT</version>
24 </parent>
Brinda Santh70032082019-09-11 22:07:33 -040025
26 <artifactId>blueprint-proto</artifactId>
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +000027
Brinda Santh70032082019-09-11 22:07:33 -040028 <name>Controller Blueprints Proto</name>
29 <description>Controller Blueprints Proto</description>
30
31 <dependencies>
32 <dependency>
33 <groupId>com.github.marcoferrer.krotoplus</groupId>
34 <artifactId>kroto-plus-coroutines</artifactId>
35 </dependency>
36 </dependencies>
37
38 <build>
Brinda Santh70032082019-09-11 22:07:33 -040039 <plugins>
40 <plugin>
41 <groupId>org.xolstice.maven.plugins</groupId>
42 <artifactId>protobuf-maven-plugin</artifactId>
43 <version>0.6.1</version>
44 <configuration>
45 <protocArtifact>
46 com.google.protobuf:protoc:3.6.1:exe:${os.detected.classifier}
47 </protocArtifact>
48 <protoSourceRoot>${project.basedir}/../../../../components/model-catalog/proto-definition/proto
49 </protoSourceRoot>
50 </configuration>
51 <executions>
52 <execution>
53 <goals>
54 <goal>compile</goal>
55 </goals>
56 </execution>
57 <execution>
58 <id>grpc-java</id>
59 <goals>
60 <goal>compile-custom</goal>
61 </goals>
62 <configuration>
63 <pluginId>grpc-java</pluginId>
64 <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}
65 </pluginArtifact>
66 </configuration>
67 </execution>
Singal, Kapil (ks220y)71f561e2019-09-18 10:05:39 -040068 <!--
69 <execution>
70 <id>grpc-coroutines</id>
71 <goals>
72 <goal>compile-custom</goal>
73 </goals>
74 <configuration>
75 <pluginId>kroto-plus</pluginId>
76 <pluginArtifact>
77 com.github.marcoferrer.krotoplus:protoc-gen-kroto-plus:${kroto-plus.version}:jar:jvm8
78 </pluginArtifact>
79 <pluginParameter>ConfigPath=${project.basedir}/krotoPlusConfig.asciipb</pluginParameter>
80 </configuration>
81 </execution>
82 -->
Brinda Santh70032082019-09-11 22:07:33 -040083 </executions>
84 </plugin>
85 <plugin>
Brinda Santh70032082019-09-11 22:07:33 -040086 <groupId>org.jetbrains.kotlin</groupId>
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +000087 <artifactId>kotlin-maven-plugin</artifactId>
Brinda Santh70032082019-09-11 22:07:33 -040088 <version>${kotlin.maven.version}</version>
89 <executions>
90 <execution>
91 <id>compile</id>
92 <goals>
93 <goal>compile</goal>
94 </goals>
95 <configuration>
96 <sourceDirs>
97 <sourceDir>${project.basedir}/target/generated-sources/protobuf/java</sourceDir>
98 <sourceDir>${project.basedir}/target/generated-sources/protobuf/grpc-java</sourceDir>
Singal, Kapil (ks220y)71f561e2019-09-18 10:05:39 -040099 <!--<sourceDir>${project.basedir}/target/generated-sources/protobuf/kroto-plus</sourceDir>-->
Brinda Santh70032082019-09-11 22:07:33 -0400100 </sourceDirs>
101 </configuration>
102 </execution>
103 </executions>
104 </plugin>
105 </plugins>
SINGAL, KAPIL (ks220y)24f39fd2019-09-17 16:36:59 +0000106 <extensions>
107 <extension>
108 <groupId>kr.motd.maven</groupId>
109 <artifactId>os-maven-plugin</artifactId>
110 <version>1.6.2</version>
111 </extension>
112 </extensions>
Brinda Santh70032082019-09-11 22:07:33 -0400113 </build>
114</project>