blob: 3d31eb0f77c2b0c3c2663968ee2b6e3700e27c70 [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 Bradya6fbd202019-01-22 14:19:54 -08006 Copyright (C) 2017-2019 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 Brady19ae7802019-01-08 12:25:10 -080028 <version>1.5.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>
33 <packaging>bundle</packaging>
Patrick Brady13c03532019-02-22 13:37:19 -080034 <name>APPC Artifact Handler - Model</name>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050035
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 Brady13c03532019-02-22 13:37:19 -080045 <Import-Package>com.google.common.collect,com.google.common.base,*</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>
53 <dependencies>
54 <dependency>
55 <groupId>org.opendaylight.mdsal</groupId>
56 <artifactId>maven-sal-api-gen-plugin</artifactId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050057 <version>${odl.sal.api.gen.plugin.version}</version>
58 <type>jar</type>
59 </dependency>
60 </dependencies>
61 <executions>
62 <execution>
63 <goals>
64 <goal>generate-sources</goal>
65 </goals>
66 <configuration>
67 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
68 <codeGenerators>
69 <generator>
Patrick Brady76706002017-09-04 21:37:25 -070070 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050071 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
72 </generator>
73 </codeGenerators>
74 <inspectDependencies>true</inspectDependencies>
75 </configuration>
76 </execution>
77 </executions>
78 </plugin>
Patrick Brady13c03532019-02-22 13:37:19 -080079
Skip Wonnellab6c2c02017-08-14 17:47:10 -050080 <plugin>
Patrick Brady226725a2018-05-11 09:06:09 -070081 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-install-plugin</artifactId>
83 <version>2.5.2</version>
84 <executions>
85 <execution>
86 <id>yang</id>
87 <phase>initialize</phase>
88 <goals>
89 <goal>install-file</goal>
90 </goals>
91 <configuration>
92 <file>${project.basedir}/src/main/yang/artifact-handler.yang</file>
93 <groupId>${project.groupId}</groupId>
94 <artifactId>${project.artifactId}</artifactId>
95 <version>${project.version}</version>
96 <packaging>yang</packaging>
97 </configuration>
98 </execution>
99 </executions>
100 </plugin>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500101 </plugins>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500102 </build>
103 <dependencies>
104 <dependency>
105 <groupId>org.opendaylight.mdsal</groupId>
106 <artifactId>yang-binding</artifactId>
107 </dependency>
108 <dependency>
109 <groupId>org.opendaylight.yangtools</groupId>
110 <artifactId>yang-common</artifactId>
111 </dependency>
112 <dependency>
113 <groupId>org.opendaylight.mdsal.model</groupId>
Patrick Brady13c03532019-02-22 13:37:19 -0800114 <artifactId>ietf-inet-types-2013-07-15</artifactId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500115 </dependency>
116 <dependency>
117 <groupId>org.opendaylight.mdsal.model</groupId>
Patrick Brady13c03532019-02-22 13:37:19 -0800118 <artifactId>ietf-yang-types-20130715</artifactId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500119 </dependency>
120 </dependencies>
Patrick Bradyed1cf1f2019-04-26 12:36:25 -0700121 <version>1.6.0-SNAPSHOT</version>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500122</project>