Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ ============LICENSE_START======================================================= |
| 4 | ~ dcaegen2-collectors-veshv |
| 5 | ~ ================================================================================ |
| 6 | ~ Copyright (C) 2018 NOKIA Intellectual Property. All rights reserved. |
| 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 |
| 11 | ~ |
| 12 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | ~ |
| 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========================================================= |
| 20 | --> |
| 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> |
| 25 | |
| 26 | <licenses> |
| 27 | <license> |
| 28 | <name>The Apache Software License, Version 2.0</name> |
| 29 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 30 | </license> |
| 31 | </licenses> |
| 32 | |
| 33 | <parent> |
| 34 | <groupId>org.onap.dcaegen2.collectors.veshv</groupId> |
| 35 | <artifactId>ves-hv-collector</artifactId> |
| 36 | <version>1.0.0-SNAPSHOT</version> |
| 37 | <relativePath>..</relativePath> |
| 38 | </parent> |
| 39 | |
| 40 | <artifactId>protobuf</artifactId> |
| 41 | <description>Google Protocol Buffers schemas for VES-HV-Collector</description> |
| 42 | |
| 43 | <build> |
| 44 | <plugins> |
| 45 | <plugin> |
| 46 | <groupId>org.codehaus.mojo</groupId> |
| 47 | <artifactId>build-helper-maven-plugin</artifactId> |
| 48 | </plugin> |
| 49 | <plugin> |
| 50 | <groupId>org.apache.maven.plugins</groupId> |
| 51 | <artifactId>maven-compiler-plugin</artifactId> |
| 52 | </plugin> |
| 53 | <plugin> |
| 54 | <groupId>com.github.os72</groupId> |
| 55 | <artifactId>protoc-jar-maven-plugin</artifactId> |
| 56 | <executions> |
| 57 | <execution> |
| 58 | <phase>generate-sources</phase> |
| 59 | <goals> |
| 60 | <goal>run</goal> |
| 61 | </goals> |
| 62 | <configuration> |
| 63 | <protocArtifact>com.google.protobuf:protoc:${protobuf.version}</protocArtifact> |
| 64 | <inputDirectories> |
| 65 | <include>${project.basedir}/src/main/proto</include> |
| 66 | </inputDirectories> |
| 67 | <outputTargets> |
| 68 | <outputTarget> |
| 69 | <type>java</type> |
| 70 | <addSources>none</addSources> |
| 71 | <outputDirectory>${protobuf-generated-files.directory}</outputDirectory> |
| 72 | </outputTarget> |
| 73 | </outputTargets> |
| 74 | </configuration> |
| 75 | </execution> |
| 76 | </executions> |
| 77 | </plugin> |
| 78 | <plugin> |
| 79 | <artifactId>maven-surefire-plugin</artifactId> |
| 80 | <groupId>org.apache.maven.plugins</groupId> |
| 81 | <configuration> |
| 82 | <skipTests>true</skipTests> |
| 83 | </configuration> |
| 84 | </plugin> |
| 85 | </plugins> |
| 86 | </build> |
| 87 | |
| 88 | |
| 89 | <dependencies> |
| 90 | <dependency> |
| 91 | <groupId>com.google.protobuf</groupId> |
| 92 | <artifactId>protobuf-java</artifactId> |
| 93 | </dependency> |
| 94 | </dependencies> |
| 95 | |
| 96 | </project> |