blob: a1da4ddeaa5d3678bb32f6d9e3abd61ea8af445a [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>
25 <parent>
26 <artifactId>appc-provider</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -080027 <groupId>org.onap.appc</groupId>
Jessica Wagantall65367992017-11-16 17:22:13 -080028 <version>1.3.0-SNAPSHOT</version>
Patrick Bradyc7d00752017-06-01 10:45:37 -070029 </parent>
30 <artifactId>appc-provider-model</artifactId>
31 <packaging>bundle</packaging>
Patrick Brady57b5eef2017-02-10 15:00:49 -080032
Patrick Bradyc7d00752017-06-01 10:45:37 -070033 <build>
Patrick Brady57b5eef2017-02-10 15:00:49 -080034
Patrick Bradyc7d00752017-06-01 10:45:37 -070035 <plugins>
36 <plugin>
37 <groupId>org.apache.felix</groupId>
38 <artifactId>maven-bundle-plugin</artifactId>
39 <extensions>true</extensions>
40 <configuration>
41 <instructions>
Patrick Brady5b817642018-03-22 15:12:48 -070042 <Import-Package>!com.google.common.collect,!com.google.common.base,*</Import-Package>
43 <Embed-Dependency>guava</Embed-Dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -070044 </instructions>
45 </configuration>
46 </plugin>
47 <plugin>
48 <groupId>org.opendaylight.yangtools</groupId>
49 <artifactId>yang-maven-plugin</artifactId>
50 <version>${odl.yangtools.version}</version>
51 <dependencies>
52 <dependency>
53 <groupId>org.opendaylight.mdsal</groupId>
54 <artifactId>maven-sal-api-gen-plugin</artifactId>
55 <version>${odl.sal.api.gen.plugin.version}</version>
56 <type>jar</type>
57 </dependency>
58 </dependencies>
59 <executions>
60 <execution>
61 <goals>
62 <goal>generate-sources</goal>
63 </goals>
64 <configuration>
65 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
66 <codeGenerators>
67 <generator>
Patrick Brady76706002017-09-04 21:37:25 -070068 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
Patrick Bradyc7d00752017-06-01 10:45:37 -070069 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
70 </generator>
71 </codeGenerators>
72 <inspectDependencies>true</inspectDependencies>
73 </configuration>
74 </execution>
75 </executions>
76 </plugin>
77 <!-- <plugin> -->
78 <!-- <groupId>org.codehaus.mojo</groupId> -->
79 <!-- <artifactId>build-helper-maven-plugin</artifactId> -->
80 <!-- <version>1.12</version> -->
81 <!-- <executions> -->
82 <!-- <execution> -->
83 <!-- <id>add-generated-source</id> -->
84 <!-- <phase>generate-sources</phase> -->
85 <!-- <goals> -->
86 <!-- <goal>add-source</goal> -->
87 <!-- </goals> -->
88 <!-- <configuration> -->
89 <!-- <sources> -->
90 <!-- project.build.directory defaults to be the "target" folder -->
91 <!-- <source>${project.build.directory}/generated-sources/yang-gen-sal</source> -->
92 <!-- </sources> -->
93 <!-- </configuration> -->
94 <!-- </execution> -->
95 <!-- </executions> -->
96 <!-- </plugin> -->
97 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-install-plugin</artifactId>
100 <version>2.5.2</version>
101 <executions>
102 <execution>
103 <id>yang</id>
104 <phase>initialize</phase>
105 <goals>
106 <goal>install-file</goal>
107 </goals>
108 <configuration>
109 <file>${project.basedir}/src/main/yang/appc-provider-lcm.yang</file>
110 <groupId>${project.groupId}</groupId>
111 <artifactId>${project.artifactId}</artifactId>
112 <version>${project.version}</version>
113 <packaging>yang</packaging>
114 </configuration>
115 </execution>
116 </executions>
117 </plugin>
118 </plugins>
119
120 </build>
121 <dependencies>
122 <dependency>
123 <groupId>org.opendaylight.mdsal</groupId>
124 <artifactId>yang-binding</artifactId>
125 </dependency>
126 <dependency>
127 <groupId>org.opendaylight.yangtools</groupId>
128 <artifactId>yang-common</artifactId>
129 </dependency>
130 <dependency>
131 <groupId>org.opendaylight.mdsal.model</groupId>
132 <artifactId>ietf-inet-types</artifactId>
133 </dependency>
134 <dependency>
135 <groupId>org.opendaylight.mdsal.model</groupId>
136 <artifactId>ietf-yang-types</artifactId>
137 </dependency>
Patrick Brady5b817642018-03-22 15:12:48 -0700138 <dependency>
139 <groupId>com.google.guava</groupId>
140 <artifactId>guava</artifactId>
141 </dependency>
Patrick Bradyc7d00752017-06-01 10:45:37 -0700142 </dependencies>
Skip Wonnelleb27ca32018-01-12 10:17:57 -0600143</project>