blob: ff915eaae6dd15d81a71cf69df3f0ff3d0591278 [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 ================================================================================
6 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7 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=========================================================
21 ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 -->
Dilip kumar Pampana108ff432018-01-08 15:08:21 -050023<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25 <modelVersion>4.0.0</modelVersion>
26 <parent>
27 <artifactId>appc-interfaces-service</artifactId>
28 <groupId>org.onap.appc</groupId>
Patrick Brady84d0a252018-05-22 10:42:55 -070029 <version>1.4.0-SNAPSHOT</version>
Dilip kumar Pampana108ff432018-01-08 15:08:21 -050030 </parent>
31 <artifactId>appc-interfaces-service-model</artifactId>
32 <packaging>bundle</packaging>
33
34 <build>
35 <plugins>
36 <plugin>
37 <groupId>org.apache.felix</groupId>
38 <artifactId>maven-bundle-plugin</artifactId>
39 <extensions>true</extensions>
40 <configuration>
41 <instructions>
42 <Import-Package>*</Import-Package>
43 </instructions>
44 </configuration>
45 </plugin>
46 <plugin>
47 <groupId>org.opendaylight.yangtools</groupId>
48 <artifactId>yang-maven-plugin</artifactId>
49 <version>${odl.yangtools.version}</version>
50 <dependencies>
51 <dependency>
52 <groupId>org.opendaylight.mdsal</groupId>
53 <artifactId>maven-sal-api-gen-plugin</artifactId>
54 <version>${odl.sal.api.gen.plugin.version}</version>
55 <type>jar</type>
56 </dependency>
57 </dependencies>
58
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>
68 <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
69 <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>exec-maven-plugin</artifactId>
80 <version>1.2.1</version>
81 <executions>
82 <execution>
83 <configuration>
84 <executable>python</executable>
85 <arguments>
86 <argument>scripts/python/yang2props.py</argument>
87 <argument>src/main/yang/appc-interfaces-service.yang</argument>
88 <argument>target/appc-interfaces-service.properties</argument>
89 </arguments>
90 </configuration>
91 <id>generation</id>
92 <phase>generate-resources</phase>
93 <goals>
94 <goal>exec</goal>
95 </goals>
96 </execution>
97 </executions>
98 </plugin>
99 <plugin>
100 <groupId>org.codehaus.mojo</groupId>
101 <artifactId>build-helper-maven-plugin</artifactId>
102 <executions>
103 <execution>
104 <id>attach-artifacts</id>
105 <goals>
106 <goal>attach-artifact</goal>
107 </goals>
108 <phase>package</phase>
109 <configuration>
110 <artifacts>
111 <artifact>
112 <file>${project.build.directory}/appc-interfaces-service.properties</file>
113 <type>properties</type>
114 <classifier>appc-interfaces-service</classifier>
115 </artifact>
116 </artifacts>
117 </configuration>
118 </execution>
119 </executions>
120 </plugin>
121 </plugins>
122 <pluginManagement>
123 <plugins>
124 <!--This plugin's configuration is used to store Eclipse m2e settings
125 only. It has no influence on the Maven build itself. -->
126 <plugin>
127 <groupId>org.eclipse.m2e</groupId>
128 <artifactId>lifecycle-mapping</artifactId>
129 <version>1.0.0</version>
130 <configuration>
131 <lifecycleMappingMetadata>
132 <pluginExecutions>
133 <pluginExecution>
134 <pluginExecutionFilter>
135 <groupId>
136 org.codehaus.mojo
137 </groupId>
138 <artifactId>
139 exec-maven-plugin
140 </artifactId>
141 <versionRange>
142 [1.2.1,)
143 </versionRange>
144 <goals>
145 <goal>exec</goal>
146 </goals>
147 </pluginExecutionFilter>
148 <action>
149 <ignore />
150 </action>
151 </pluginExecution>
152 </pluginExecutions>
153 </lifecycleMappingMetadata>
154 </configuration>
155 </plugin>
156 </plugins>
157 </pluginManagement>
158 </build>
159 <dependencies>
160 <dependency>
161 <groupId>org.opendaylight.mdsal</groupId>
162 <artifactId>yang-binding</artifactId>
163 </dependency>
164 <dependency>
165 <groupId>org.opendaylight.yangtools</groupId>
166 <artifactId>yang-common</artifactId>
167 </dependency>
168 <dependency>
169 <groupId>org.opendaylight.mdsal.model</groupId>
170 <artifactId>ietf-inet-types</artifactId>
171 </dependency>
172 <dependency>
173 <groupId>org.opendaylight.mdsal.model</groupId>
174 <artifactId>ietf-yang-types</artifactId>
175 </dependency>
176 </dependencies>
177</project>