blob: 90030bb84bcd71b41384b86caa8d7755e1ac7ec0 [file] [log] [blame]
Skip Wonnellab6c2c02017-08-14 17:47:10 -05001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell463f70e2018-01-12 10:00:59 -06002<!--
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.
Skip Wonnell463f70e2018-01-12 10:00:59 -06007 Copyright (C) 2017 Amdocs
8 ================================================================================
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
20 ============LICENSE_END=========================================================
Skip Wonnell463f70e2018-01-12 10:00:59 -060021 -->
Skip Wonnellab6c2c02017-08-14 17:47:10 -050022<project xmlns="http://maven.apache.org/POM/4.0.0" 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 <parent>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070026 <groupId>org.onap.appc.parent</groupId>
27 <artifactId>binding-parent</artifactId>
Patrick Brady84d0a252018-05-22 10:42:55 -070028 <version>1.4.0-SNAPSHOT</version>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070029 <relativePath />
Skip Wonnellab6c2c02017-08-14 17:47:10 -050030 </parent>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070031 <groupId>org.onap.appc</groupId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050032 <artifactId>appc-artifact-handler-model</artifactId>
Dilip kumar Pampana819f39b2018-01-05 11:47:22 -050033 <name>APPC Artifact Handler - Model</name>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050034 <packaging>bundle</packaging>
35
36 <build>
37
38 <plugins>
39 <plugin>
40 <groupId>org.apache.felix</groupId>
41 <artifactId>maven-bundle-plugin</artifactId>
42 <extensions>true</extensions>
43 <configuration>
44 <instructions>
Patrick Brady5b817642018-03-22 15:12:48 -070045 <Import-Package>!com.google.common.collect,*</Import-Package>
Patrick Brady226725a2018-05-11 09:06:09 -070046 <Embed-Dependency>guava</Embed-Dependency>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050047 </instructions>
48 </configuration>
49 </plugin>
50 <plugin>
51 <groupId>org.opendaylight.yangtools</groupId>
52 <artifactId>yang-maven-plugin</artifactId>
Patrick Brady76706002017-09-04 21:37:25 -070053 <version>${odl.yangtools.version}</version>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050054 <dependencies>
55 <dependency>
56 <groupId>org.opendaylight.mdsal</groupId>
57 <artifactId>maven-sal-api-gen-plugin</artifactId>
58 <!-- <version>${odl.yangtools.version}</version> -->
59 <version>${odl.sal.api.gen.plugin.version}</version>
60 <type>jar</type>
61 </dependency>
62 </dependencies>
63 <executions>
64 <execution>
65 <goals>
66 <goal>generate-sources</goal>
67 </goals>
68 <configuration>
69 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
70 <codeGenerators>
71 <generator>
Patrick Brady76706002017-09-04 21:37:25 -070072 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050073 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
74 </generator>
75 </codeGenerators>
76 <inspectDependencies>true</inspectDependencies>
77 </configuration>
78 </execution>
79 </executions>
80 </plugin>
81 <plugin>
Patrick Brady226725a2018-05-11 09:06:09 -070082 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-install-plugin</artifactId>
84 <version>2.5.2</version>
85 <executions>
86 <execution>
87 <id>yang</id>
88 <phase>initialize</phase>
89 <goals>
90 <goal>install-file</goal>
91 </goals>
92 <configuration>
93 <file>${project.basedir}/src/main/yang/artifact-handler.yang</file>
94 <groupId>${project.groupId}</groupId>
95 <artifactId>${project.artifactId}</artifactId>
96 <version>${project.version}</version>
97 <packaging>yang</packaging>
98 </configuration>
99 </execution>
100 </executions>
101 </plugin>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500102 </plugins>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500103 </build>
104 <dependencies>
105 <dependency>
106 <groupId>org.opendaylight.mdsal</groupId>
107 <artifactId>yang-binding</artifactId>
108 </dependency>
109 <dependency>
110 <groupId>org.opendaylight.yangtools</groupId>
111 <artifactId>yang-common</artifactId>
112 </dependency>
113 <dependency>
114 <groupId>org.opendaylight.mdsal.model</groupId>
115 <artifactId>ietf-inet-types</artifactId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500116 </dependency>
117 <dependency>
118 <groupId>org.opendaylight.mdsal.model</groupId>
119 <artifactId>ietf-yang-types</artifactId>
Patrick Brady226725a2018-05-11 09:06:09 -0700120 </dependency>
121 <dependency>
122 <groupId>com.google.guava</groupId>
123 <artifactId>guava</artifactId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500124 </dependency>
125 </dependencies>
126</project>