blob: b2a9c24e7ef6679330ef78c6511193de7524aa9b [file] [log] [blame]
Patrick Brady57b5eef2017-02-10 15:00:49 -08001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnelleb27ca32018-01-12 10:17:57 -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 Wonnelleb27ca32018-01-12 10:17:57 -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 Wonnelleb27ca32018-01-12 10:17:57 -060021 -->
Patrick Brady57b5eef2017-02-10 15:00:49 -080022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Patrick Bradyc7d00752017-06-01 10:45:37 -070023 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>
Ryan Youngb7c21e12018-08-13 22:37:11 -040025 <parent>
26 <groupId>org.onap.appc.parent</groupId>
27 <artifactId>binding-parent</artifactId>
Patrick Brady9d380082018-10-09 11:32:38 -070028 <version>1.4.0</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070029 </parent>
Ryan Youngb7c21e12018-08-13 22:37:11 -040030 <groupId>org.onap.appc</groupId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070031 <artifactId>appc-provider-model</artifactId>
Patrick Brady7ee40942018-10-11 11:09:56 -070032 <version>1.4.1-SNAPSHOT</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070033 <packaging>bundle</packaging>
Patrick Brady57b5eef2017-02-10 15:00:49 -080034
Ryan Youngb7c21e12018-08-13 22:37:11 -040035 <name>appc-provider-model</name>
Patrick Bradyc7d00752017-06-01 10:45:37 -070036 <build>
Patrick Bradyc7d00752017-06-01 10:45:37 -070037 <plugins>
38 <plugin>
39 <groupId>org.apache.felix</groupId>
40 <artifactId>maven-bundle-plugin</artifactId>
41 <extensions>true</extensions>
42 <configuration>
43 <instructions>
Ryan Youngb7c21e12018-08-13 22:37:11 -040044<!-- <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> -->
45<!-- <Bundle-Version>${project.version}</Bundle-Version> -->
46<!-- <Export-Package>org.onap.appc</Export-Package> -->
Patrick Bradyc7d00752017-06-01 10:45:37 -070047 </instructions>
48 </configuration>
49 </plugin>
50 <plugin>
51 <groupId>org.opendaylight.yangtools</groupId>
52 <artifactId>yang-maven-plugin</artifactId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070053 <dependencies>
54 <dependency>
55 <groupId>org.opendaylight.mdsal</groupId>
56 <artifactId>maven-sal-api-gen-plugin</artifactId>
57 <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>
Patrick Bradyc7d00752017-06-01 10:45:37 -070071 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
72 </generator>
73 </codeGenerators>
74 <inspectDependencies>true</inspectDependencies>
75 </configuration>
76 </execution>
77 </executions>
78 </plugin>
Patrick Bradyc7d00752017-06-01 10:45:37 -070079 <plugin>
80 <groupId>org.apache.maven.plugins</groupId>
81 <artifactId>maven-install-plugin</artifactId>
Patrick Bradyc7d00752017-06-01 10:45:37 -070082 <executions>
83 <execution>
84 <id>yang</id>
85 <phase>initialize</phase>
86 <goals>
87 <goal>install-file</goal>
88 </goals>
89 <configuration>
90 <file>${project.basedir}/src/main/yang/appc-provider-lcm.yang</file>
91 <groupId>${project.groupId}</groupId>
92 <artifactId>${project.artifactId}</artifactId>
93 <version>${project.version}</version>
94 <packaging>yang</packaging>
95 </configuration>
96 </execution>
97 </executions>
98 </plugin>
99 </plugins>
100
101 </build>
102 <dependencies>
103 <dependency>
104 <groupId>org.opendaylight.mdsal</groupId>
105 <artifactId>yang-binding</artifactId>
106 </dependency>
107 <dependency>
108 <groupId>org.opendaylight.yangtools</groupId>
109 <artifactId>yang-common</artifactId>
110 </dependency>
111 <dependency>
112 <groupId>org.opendaylight.mdsal.model</groupId>
113 <artifactId>ietf-inet-types</artifactId>
114 </dependency>
115 <dependency>
116 <groupId>org.opendaylight.mdsal.model</groupId>
117 <artifactId>ietf-yang-types</artifactId>
118 </dependency>
Patrick Brady5b817642018-03-22 15:12:48 -0700119 <dependency>
120 <groupId>com.google.guava</groupId>
121 <artifactId>guava</artifactId>
122 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700123 </dependencies>
Skip Wonnelleb27ca32018-01-12 10:17:57 -0600124</project>