blob: 97ca72367cc8d9c07f4119d92da495d828e5767b [file] [log] [blame]
Dilip kumar Pampana108ff432018-01-08 15:08:21 -05001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell463f70e2018-01-12 10:00:59 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClung3a78edb2018-06-13 17:17:15 -04006 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 -->
Dilip kumar Pampana108ff432018-01-08 15:08:21 -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>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070025 <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 Bradyca4f7e12018-08-13 22:38:26 -070029 <relativePath />
30 </parent>
Dilip kumar Pampana108ff432018-01-08 15:08:21 -050031 <groupId>org.onap.appc</groupId>
Dilip kumar Pampana108ff432018-01-08 15:08:21 -050032 <artifactId>appc-interfaces-service-model</artifactId>
33 <packaging>bundle</packaging>
34
35 <build>
36 <plugins>
37 <plugin>
38 <groupId>org.apache.felix</groupId>
39 <artifactId>maven-bundle-plugin</artifactId>
40 <extensions>true</extensions>
41 <configuration>
42 <instructions>
43 <Import-Package>*</Import-Package>
44 </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
60 <executions>
61 <execution>
62 <goals>
63 <goal>generate-sources</goal>
64 </goals>
65 <configuration>
66 <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
67 <codeGenerators>
68 <generator>
69 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
70 <outputBaseDir>${salGeneratorPath}</outputBaseDir>
71 </generator>
72 </codeGenerators>
73 <inspectDependencies>true</inspectDependencies>
74 </configuration>
75 </execution>
76 </executions>
77 </plugin>
78 <plugin>
79 <groupId>org.codehaus.mojo</groupId>
80 <artifactId>exec-maven-plugin</artifactId>
81 <version>1.2.1</version>
82 <executions>
83 <execution>
84 <configuration>
85 <executable>python</executable>
86 <arguments>
87 <argument>scripts/python/yang2props.py</argument>
88 <argument>src/main/yang/appc-interfaces-service.yang</argument>
89 <argument>target/appc-interfaces-service.properties</argument>
90 </arguments>
91 </configuration>
92 <id>generation</id>
93 <phase>generate-resources</phase>
94 <goals>
95 <goal>exec</goal>
96 </goals>
97 </execution>
98 </executions>
99 </plugin>
100 <plugin>
101 <groupId>org.codehaus.mojo</groupId>
102 <artifactId>build-helper-maven-plugin</artifactId>
103 <executions>
104 <execution>
105 <id>attach-artifacts</id>
106 <goals>
107 <goal>attach-artifact</goal>
108 </goals>
109 <phase>package</phase>
110 <configuration>
111 <artifacts>
112 <artifact>
113 <file>${project.build.directory}/appc-interfaces-service.properties</file>
114 <type>properties</type>
115 <classifier>appc-interfaces-service</classifier>
116 </artifact>
117 </artifacts>
118 </configuration>
119 </execution>
120 </executions>
121 </plugin>
122 </plugins>
123 <pluginManagement>
124 <plugins>
125 <!--This plugin's configuration is used to store Eclipse m2e settings
126 only. It has no influence on the Maven build itself. -->
127 <plugin>
128 <groupId>org.eclipse.m2e</groupId>
129 <artifactId>lifecycle-mapping</artifactId>
130 <version>1.0.0</version>
131 <configuration>
132 <lifecycleMappingMetadata>
133 <pluginExecutions>
134 <pluginExecution>
135 <pluginExecutionFilter>
136 <groupId>
137 org.codehaus.mojo
138 </groupId>
139 <artifactId>
140 exec-maven-plugin
141 </artifactId>
142 <versionRange>
143 [1.2.1,)
144 </versionRange>
145 <goals>
146 <goal>exec</goal>
147 </goals>
148 </pluginExecutionFilter>
149 <action>
150 <ignore />
151 </action>
152 </pluginExecution>
153 </pluginExecutions>
154 </lifecycleMappingMetadata>
155 </configuration>
156 </plugin>
157 </plugins>
158 </pluginManagement>
159 </build>
160 <dependencies>
161 <dependency>
162 <groupId>org.opendaylight.mdsal</groupId>
163 <artifactId>yang-binding</artifactId>
164 </dependency>
165 <dependency>
166 <groupId>org.opendaylight.yangtools</groupId>
167 <artifactId>yang-common</artifactId>
168 </dependency>
169 <dependency>
170 <groupId>org.opendaylight.mdsal.model</groupId>
171 <artifactId>ietf-inet-types</artifactId>
172 </dependency>
173 <dependency>
174 <groupId>org.opendaylight.mdsal.model</groupId>
175 <artifactId>ietf-yang-types</artifactId>
176 </dependency>
177 </dependencies>
Patrick Brady769d3452018-09-24 13:09:27 -0700178 <version>1.4.0-SNAPSHOT</version>
Dilip kumar Pampana108ff432018-01-08 15:08:21 -0500179</project>