blob: 89fca6e3b45015e60cdfb3099f13bdf43f8b8600 [file] [log] [blame]
Ramya Balaji31540f82018-01-08 12:40:57 -05001<?xml version="1.0"?>
2<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClunga8027392018-06-13 15:49:08 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Ramya Balaji31540f82018-01-08 12:40:57 -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
Ramya Balaji31540f82018-01-08 12:40:57 -050022 ============LICENSE_END=========================================================
23 -->
24<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
25 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26 <modelVersion>4.0.0</modelVersion>
Patrick Brady32229082018-08-09 12:05:53 -070027 <parent>
28 <groupId>org.onap.appc.parent</groupId>
29 <artifactId>binding-parent</artifactId>
30 <version>1.4.0-SNAPSHOT</version>
31 <relativePath />
32 </parent>
Ramya Balaji31540f82018-01-08 12:40:57 -050033 <groupId>org.onap.appc</groupId>
Ramya Balaji31540f82018-01-08 12:40:57 -050034
35 <artifactId>appc-dg-mdsal-model</artifactId>
36 <packaging>bundle</packaging>
37
38 <properties>
39 <licenseDir>${project.parent.parent.parent.basedir}</licenseDir>
40 </properties>
41
42 <build>
43 <plugins>
44 <plugin>
45 <groupId>org.apache.felix</groupId>
46 <artifactId>maven-bundle-plugin</artifactId>
47 <extensions>true</extensions>
48 <configuration>
49 <instructions>
50 <Import-Package>*</Import-Package>
51 </instructions>
52 </configuration>
53 </plugin>
54 <plugin>
55 <groupId>org.opendaylight.yangtools</groupId>
56 <artifactId>yang-maven-plugin</artifactId>
57 <version>${odl.yangtools.version}</version>
58 <dependencies>
59 <dependency>
60 <groupId>org.opendaylight.mdsal</groupId>
61 <artifactId>maven-sal-api-gen-plugin</artifactId>
62 <version>${odl.sal.api.gen.plugin.version}</version>
63 <type>jar</type>
64 </dependency>
65 </dependencies>
66 <executions>
67 <execution>
68 <goals>
69 <goal>generate-sources</goal>
70 </goals>
71 <configuration>
72 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
73 <codeGenerators>
74 <generator>
75 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
76 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
77 </generator>
78 </codeGenerators>
79 <inspectDependencies>true</inspectDependencies>
80 </configuration>
81 </execution>
82 </executions>
83 </plugin>
84 </plugins>
85 </build>
86
87 <dependencies>
88 <dependency>
89 <groupId>org.opendaylight.mdsal</groupId>
90 <artifactId>yang-binding</artifactId>
91 </dependency>
92 <dependency>
93 <groupId>org.opendaylight.yangtools</groupId>
94 <artifactId>yang-common</artifactId>
95 </dependency>
96 <dependency>
97 <groupId>org.opendaylight.mdsal.model</groupId>
98 <artifactId>ietf-inet-types</artifactId>
99 <version>${odl.ietf-inet-types.version}</version>
100 </dependency>
101 <dependency>
102 <groupId>org.opendaylight.mdsal.model</groupId>
103 <artifactId>ietf-yang-types</artifactId>
104 <version>${odl.ietf-yang-types.version}</version>
105 </dependency>
106 <dependency>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>yang-jmx-generator-plugin</artifactId>
109 <version>${odl.yang.jmx.generator.version}</version>
110 </dependency>
111 </dependencies>
112</project>