blob: f984a352384d2ff0f079938a895a0702eaaf1aca [file] [log] [blame]
Patrick Bradyc7d00752017-06-01 10:45:37 -07001<?xml version="1.0" encoding="UTF-8"?>
Anand9ebb5dd2018-01-04 12:44:05 -05002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
Patrick Brady5b817642018-03-22 15:12:48 -07006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Anand9ebb5dd2018-01-04 12:44:05 -05007 ================================================================================
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
Anand9ebb5dd2018-01-04 12:44:05 -050022 ============LICENSE_END=========================================================
23 -->
Patrick Bradyc7d00752017-06-01 10:45:37 -070024<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 Brady85aedb52018-08-09 13:43:54 -070027 <parent>
28 <groupId>org.onap.appc.parent</groupId>
29 <artifactId>binding-parent</artifactId>
Patrick Brady9d380082018-10-09 11:32:38 -070030 <version>1.4.0</version>
Patrick Brady85aedb52018-08-09 13:43:54 -070031 <relativePath />
32 </parent>
Patrick Brady07567592017-12-13 11:09:30 -080033 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070034 <artifactId>appc-oam-model</artifactId>
Anand9ebb5dd2018-01-04 12:44:05 -050035 <name>APPC OAM - Model</name>
Patrick Bradyc7d00752017-06-01 10:45:37 -070036 <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 Brady5b817642018-03-22 15:12:48 -070047 <Import-Package>!com.google.common.collect,*</Import-Package>
48 <Embed-Dependency>guava</Embed-Dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -070049 </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 Brady76706002017-09-04 21:37:25 -070073 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
Patrick Bradyc7d00752017-06-01 10:45:37 -070074 <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 Bradyccd67e92018-11-12 12:14:11 -0800124 <version>1.5.0-SNAPSHOT</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700125</project>