blob: dbb6e5099b0d93f1aee7b0b6a2705b11d3838721 [file] [log] [blame]
Skip Wonnellab6c2c02017-08-14 17:47:10 -05001<?xml version="1.0" encoding="UTF-8"?>
Skip Wonnell463f70e2018-01-12 10:00:59 -06002<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
Patrick Bradya6fbd202019-01-22 14:19:54 -08006 Copyright (C) 2017-2019 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 -->
Skip Wonnellab6c2c02017-08-14 17:47:10 -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>
25 <parent>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070026 <groupId>org.onap.appc.parent</groupId>
27 <artifactId>binding-parent</artifactId>
Patrick Brady19ae7802019-01-08 12:25:10 -080028 <version>1.5.0-SNAPSHOT</version>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070029 <relativePath />
Skip Wonnellab6c2c02017-08-14 17:47:10 -050030 </parent>
Patrick Bradyca4f7e12018-08-13 22:38:26 -070031 <groupId>org.onap.appc</groupId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050032 <artifactId>appc-design-services-model</artifactId>
33 <packaging>bundle</packaging>
34
35 <build>
36
37 <plugins>
38 <plugin>
39 <groupId>org.apache.felix</groupId>
40 <artifactId>maven-bundle-plugin</artifactId>
41 <extensions>true</extensions>
42 <configuration>
43 <instructions>
44 <Import-Package>*</Import-Package>
45 </instructions>
46 </configuration>
47 </plugin>
Patrick Brady76706002017-09-04 21:37:25 -070048 <plugin>
49 <groupId>org.opendaylight.yangtools</groupId>
50 <artifactId>yang-maven-plugin</artifactId>
Patrick Brady76706002017-09-04 21:37:25 -070051 <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>
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>
Skip Wonnellab6c2c02017-08-14 17:47:10 -050077 <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-design-services.yang</argument>
88 <argument>target/appc-design-services.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-design-services.properties</file>
113 <type>properties</type>
114 <classifier>appc-design-services</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>
Patrick Brady13c03532019-02-22 13:37:19 -0800170 <artifactId>ietf-inet-types-2013-07-15</artifactId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500171 </dependency>
172 <dependency>
173 <groupId>org.opendaylight.mdsal.model</groupId>
Patrick Brady13c03532019-02-22 13:37:19 -0800174 <artifactId>ietf-yang-types-20130715</artifactId>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500175 </dependency>
176 </dependencies>
Patrick Bradyed1cf1f2019-04-26 12:36:25 -0700177 <version>1.6.0-SNAPSHOT</version>
Skip Wonnellab6c2c02017-08-14 17:47:10 -0500178</project>