1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ DCAEGEN2-SERVICES-SDK
5 ~ ================================================================================
6 ~ Copyright (C) 2019 Nokia
7 ~ ================================================================================
8 ~ Licensed under the Apache License, Version 2.0 (the "License");
9 ~ you may not use this file except in compliance with the License.
10 ~ You may obtain a copy of the License at
12 ~ http://www.apache.org/licenses/LICENSE-2.0
14 ~ Unless required by applicable law or agreed to in writing, software
15 ~ distributed under the License is distributed on an "AS IS" BASIS,
16 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 ~ See the License for the specific language governing permissions and
18 ~ limitations under the License.
19 ~ ============LICENSE_END=========================================================
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
27 <artifactId>dcaegen2-services-sdk-services-hvvesclient</artifactId>
28 <groupId>org.onap.dcaegen2.services.sdk</groupId>
29 <version>1.3.0-SNAPSHOT</version>
32 <name>High Volume VES Collector Client :: Protobuf</name>
33 <artifactId>hvvesclient-protobuf</artifactId>
34 <description>Module for generating java classes from Google Protocol Buffers files</description>
37 <protobuf-generated-files.directory>${project.build.directory}/generated-sources/proto/main/java/
38 </protobuf-generated-files.directory>
44 <groupId>org.codehaus.mojo</groupId>
45 <artifactId>build-helper-maven-plugin</artifactId>
49 <phase>generate-sources</phase>
51 <goal>add-source</goal>
55 <source>${protobuf-generated-files.directory}</source>
62 <groupId>com.github.os72</groupId>
63 <artifactId>protoc-jar-maven-plugin</artifactId>
66 <phase>generate-sources</phase>
71 <protocArtifact>com.google.protobuf:protoc:${protobuf.version}</protocArtifact>
73 <include>${project.basedir}/src/main/proto</include>
78 <addSources>none</addSources>
79 <outputDirectory>${protobuf-generated-files.directory}</outputDirectory>
91 <groupId>com.google.protobuf</groupId>
92 <artifactId>protobuf-java</artifactId>