Release appc
[appc.git] / appc-inbound / appc-design-services / model / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4   ONAP : APPC
5   ================================================================================
6   Copyright (C) 2017-2019 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   -->
22 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
23         <modelVersion>4.0.0</modelVersion>
24         <parent>
25                 <groupId>org.onap.appc.parent</groupId>
26                 <artifactId>binding-parent</artifactId>
27                 <version>2.7.2</version>
28                 <relativePath/>
29         </parent>
30         <groupId>org.onap.appc</groupId>
31         <artifactId>appc-design-services-model</artifactId>
32         <packaging>bundle</packaging>
33
34         <build>
35
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                 <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                 <executions>
59                     <execution>
60                         <goals>
61                             <goal>generate-sources</goal>
62                         </goals>
63                         <configuration>
64                             <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
65                             <codeGenerators>
66                                 <generator>
67                                     <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
68                                     <outputBaseDir>${salGeneratorPath}</outputBaseDir>
69                                 </generator>
70                             </codeGenerators>
71                             <inspectDependencies>true</inspectDependencies>
72                         </configuration>
73                     </execution>
74                 </executions>
75             </plugin>
76                         <plugin>
77                                 <groupId>org.codehaus.mojo</groupId>
78                                 <artifactId>exec-maven-plugin</artifactId>
79                                 <version>1.2.1</version>
80                                 <executions>
81                                         <execution>
82                                                 <configuration>
83                                                         <executable>python</executable>
84                                                         <arguments>
85                                                                 <argument>scripts/python/yang2props.py</argument>
86                                                                 <argument>src/main/yang/appc-design-services.yang</argument>
87                                                                 <argument>target/appc-design-services.properties</argument>
88                                                         </arguments>
89                                                 </configuration>
90                                                 <id>generation</id>
91                                                 <phase>generate-resources</phase>
92                                                 <goals>
93                                                         <goal>exec</goal>
94                                                 </goals>
95                                         </execution>
96                                 </executions>
97                         </plugin>
98                         <plugin>
99                                 <groupId>org.codehaus.mojo</groupId>
100                                 <artifactId>build-helper-maven-plugin</artifactId>
101                                 <executions>
102                                         <execution>
103                                                 <id>attach-artifacts</id>
104                                                 <goals>
105                                                         <goal>attach-artifact</goal>
106                                                 </goals>
107                                                 <phase>package</phase>
108                                                 <configuration>
109                                                         <artifacts>
110                                                                 <artifact>
111                                                                         <file>${project.build.directory}/appc-design-services.properties</file>
112                                                                         <type>properties</type>
113                                                                         <classifier>appc-design-services</classifier>
114                                                                 </artifact>
115                                                         </artifacts>
116                                                 </configuration>
117                                         </execution>
118                                 </executions>
119                         </plugin>
120                 </plugins>
121                 <pluginManagement>
122                         <plugins>
123                                 <!--This plugin's configuration is used to store Eclipse m2e settings
124                                         only. It has no influence on the Maven build itself. -->
125                                 <plugin>
126                                         <groupId>org.eclipse.m2e</groupId>
127                                         <artifactId>lifecycle-mapping</artifactId>
128                                         <version>1.0.0</version>
129                                         <configuration>
130                                                 <lifecycleMappingMetadata>
131                                                         <pluginExecutions>
132                                                                 <pluginExecution>
133                                                                         <pluginExecutionFilter>
134                                                                                 <groupId>
135                                                                                         org.codehaus.mojo
136                                                                                 </groupId>
137                                                                                 <artifactId>
138                                                                                         exec-maven-plugin
139                                                                                 </artifactId>
140                                                                                 <versionRange>
141                                                                                         [1.2.1,)
142                                                                                 </versionRange>
143                                                                                 <goals>
144                                                                                         <goal>exec</goal>
145                                                                                 </goals>
146                                                                         </pluginExecutionFilter>
147                                                                         <action>
148                                                                                 <ignore/>
149                                                                         </action>
150                                                                 </pluginExecution>
151                                                         </pluginExecutions>
152                                                 </lifecycleMappingMetadata>
153                                         </configuration>
154                                 </plugin>
155                         </plugins>
156                 </pluginManagement>
157         </build>
158         <dependencies>
159                 <dependency>
160                         <groupId>org.opendaylight.mdsal</groupId>
161                         <artifactId>yang-binding</artifactId>
162                 </dependency>
163                 <dependency>
164                         <groupId>org.opendaylight.yangtools</groupId>
165                         <artifactId>yang-common</artifactId>
166                         </dependency>
167                 <dependency>
168             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
169             <artifactId>rfc6991</artifactId>
170         </dependency>
171
172                 
173         </dependencies>
174         <version>1.7.2</version>
175 </project>