Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Anand | 9ebb5dd | 2018-01-04 12:44:05 -0500 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP : APPC |
| 5 | ================================================================================ |
Patrick Brady | 5b81764 | 2018-03-22 15:12:48 -0700 | [diff] [blame] | 6 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Anand | 9ebb5dd | 2018-01-04 12:44:05 -0500 | [diff] [blame] | 7 | ================================================================================ |
| 8 | Copyright (C) 2017 Amdocs |
| 9 | ============================================================================= |
| 10 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 11 | you may not use this file except in compliance with the License. |
| 12 | You may obtain a copy of the License at |
| 13 | |
| 14 | http://www.apache.org/licenses/LICENSE-2.0 |
| 15 | |
| 16 | Unless required by applicable law or agreed to in writing, software |
| 17 | distributed under the License is distributed on an "AS IS" BASIS, |
| 18 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 19 | See the License for the specific language governing permissions and |
| 20 | limitations under the License. |
| 21 | |
Anand | 9ebb5dd | 2018-01-04 12:44:05 -0500 | [diff] [blame] | 22 | ============LICENSE_END========================================================= |
| 23 | --> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 24 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 25 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 26 | <modelVersion>4.0.0</modelVersion> |
Patrick Brady | 85aedb5 | 2018-08-09 13:43:54 -0700 | [diff] [blame] | 27 | <parent> |
| 28 | <groupId>org.onap.appc.parent</groupId> |
| 29 | <artifactId>binding-parent</artifactId> |
Patrick Brady | 9d38008 | 2018-10-09 11:32:38 -0700 | [diff] [blame] | 30 | <version>1.4.0</version> |
Patrick Brady | 85aedb5 | 2018-08-09 13:43:54 -0700 | [diff] [blame] | 31 | <relativePath /> |
| 32 | </parent> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 33 | <groupId>org.onap.appc</groupId> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 34 | <artifactId>appc-oam-model</artifactId> |
Anand | 9ebb5dd | 2018-01-04 12:44:05 -0500 | [diff] [blame] | 35 | <name>APPC OAM - Model</name> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 36 | <packaging>bundle</packaging> |
| 37 | |
| 38 | <build> |
| 39 | |
| 40 | <plugins> |
| 41 | <plugin> |
| 42 | <groupId>org.apache.felix</groupId> |
| 43 | <artifactId>maven-bundle-plugin</artifactId> |
| 44 | <extensions>true</extensions> |
| 45 | <configuration> |
| 46 | <instructions> |
Patrick Brady | 5b81764 | 2018-03-22 15:12:48 -0700 | [diff] [blame] | 47 | <Import-Package>!com.google.common.collect,*</Import-Package> |
| 48 | <Embed-Dependency>guava</Embed-Dependency> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 49 | </instructions> |
| 50 | </configuration> |
| 51 | </plugin> |
| 52 | <plugin> |
| 53 | <groupId>org.opendaylight.yangtools</groupId> |
| 54 | <artifactId>yang-maven-plugin</artifactId> |
| 55 | <version>${odl.yangtools.version}</version> |
| 56 | <dependencies> |
| 57 | <dependency> |
| 58 | <groupId>org.opendaylight.mdsal</groupId> |
| 59 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 60 | <version>${odl.sal.api.gen.plugin.version}</version> |
| 61 | <type>jar</type> |
| 62 | </dependency> |
| 63 | </dependencies> |
| 64 | <executions> |
| 65 | <execution> |
| 66 | <goals> |
| 67 | <goal>generate-sources</goal> |
| 68 | </goals> |
| 69 | <configuration> |
| 70 | <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir> |
| 71 | <codeGenerators> |
| 72 | <generator> |
Patrick Brady | 7670600 | 2017-09-04 21:37:25 -0700 | [diff] [blame] | 73 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 74 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 75 | </generator> |
| 76 | </codeGenerators> |
| 77 | <inspectDependencies>true</inspectDependencies> |
| 78 | </configuration> |
| 79 | </execution> |
| 80 | </executions> |
| 81 | </plugin> |
| 82 | <plugin> |
| 83 | <groupId>org.apache.maven.plugins</groupId> |
| 84 | <artifactId>maven-install-plugin</artifactId> |
| 85 | <version>2.5.2</version> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <id>yang</id> |
| 89 | <phase>initialize</phase> |
| 90 | <goals> |
| 91 | <goal>install-file</goal> |
| 92 | </goals> |
| 93 | <configuration> |
| 94 | <file>${project.basedir}/src/main/yang/appc-oam.yang</file> |
| 95 | <groupId>${project.groupId}</groupId> |
| 96 | <artifactId>${project.artifactId}</artifactId> |
| 97 | <version>${project.version}</version> |
| 98 | <packaging>yang</packaging> |
| 99 | </configuration> |
| 100 | </execution> |
| 101 | </executions> |
| 102 | </plugin> |
| 103 | </plugins> |
| 104 | |
| 105 | </build> |
| 106 | <dependencies> |
| 107 | <dependency> |
| 108 | <groupId>org.opendaylight.mdsal</groupId> |
| 109 | <artifactId>yang-binding</artifactId> |
| 110 | </dependency> |
| 111 | <dependency> |
| 112 | <groupId>org.opendaylight.yangtools</groupId> |
| 113 | <artifactId>yang-common</artifactId> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 117 | <artifactId>ietf-inet-types</artifactId> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 121 | <artifactId>ietf-yang-types</artifactId> |
| 122 | </dependency> |
| 123 | </dependencies> |
Patrick Brady | ccd67e9 | 2018-11-12 12:14:11 -0800 | [diff] [blame] | 124 | <version>1.5.0-SNAPSHOT</version> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 125 | </project> |