Release appc
[appc.git] / appc-inbound / appc-artifact-handler / 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"
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>
26                 <groupId>org.onap.appc.parent</groupId>
27                 <artifactId>binding-parent</artifactId>
28                 <version>2.6.1</version>
29                 <relativePath />
30         </parent>
31         <groupId>org.onap.appc</groupId>
32         <artifactId>appc-artifact-handler-model</artifactId>
33         <packaging>bundle</packaging>
34         <name>APPC Artifact Handler - Model</name>
35
36         <build>
37
38                 <plugins>
39                         <plugin>
40                                 <groupId>org.apache.felix</groupId>
41                                 <artifactId>maven-bundle-plugin</artifactId>
42                                 <extensions>true</extensions>
43                                 <configuration>
44                                         <instructions>
45                                                 <Import-Package>com.google.common.collect,com.google.common.base,*</Import-Package>
46                                                 <Embed-Dependency>guava</Embed-Dependency>
47                                         </instructions>
48                                 </configuration>
49                         </plugin>
50                         <plugin>
51                                 <groupId>org.opendaylight.yangtools</groupId>
52                                 <artifactId>yang-maven-plugin</artifactId>
53                                 <dependencies>
54                                         <dependency>
55                                                 <groupId>org.opendaylight.mdsal</groupId>
56                                                 <artifactId>maven-sal-api-gen-plugin</artifactId>
57                                                 <version>${odl.sal.api.gen.plugin.version}</version>
58                                                 <type>jar</type>
59                                         </dependency>
60                                 </dependencies>
61                                 <executions>
62                                         <execution>
63                                                 <goals>
64                                                         <goal>generate-sources</goal>
65                                                 </goals>
66                                                 <configuration>
67                                                         <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir>
68                                                         <codeGenerators>
69                                                                 <generator>
70                                                                         <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
71                                                                         <outputBaseDir>${salGeneratorPath}</outputBaseDir>
72                                                                 </generator>
73                                                         </codeGenerators>
74                                                         <inspectDependencies>true</inspectDependencies>
75                                                 </configuration>
76                                         </execution>
77                                 </executions>
78                         </plugin>
79
80                         <plugin>
81                 <groupId>org.apache.maven.plugins</groupId>
82                 <artifactId>maven-install-plugin</artifactId>
83                 <version>2.5.2</version>
84                 <executions>
85                     <execution>
86                         <id>yang</id>
87                         <phase>initialize</phase>
88                         <goals>
89                             <goal>install-file</goal>
90                         </goals>
91                         <configuration>
92                             <file>${project.basedir}/src/main/yang/artifact-handler.yang</file>
93                             <groupId>${project.groupId}</groupId>
94                             <artifactId>${project.artifactId}</artifactId>
95                             <version>${project.version}</version>
96                             <packaging>yang</packaging>
97                         </configuration>
98                     </execution>
99                 </executions>
100             </plugin>
101                 </plugins>
102         </build>
103         <dependencies>
104                 <dependency>
105                         <groupId>org.opendaylight.mdsal</groupId>
106                         <artifactId>yang-binding</artifactId>
107                 </dependency>
108                 <dependency>
109                         <groupId>org.opendaylight.yangtools</groupId>
110                         <artifactId>yang-common</artifactId>
111                 </dependency>
112                 <dependency>
113                         <groupId>org.opendaylight.mdsal.model</groupId>
114                         <artifactId>ietf-inet-types-2013-07-15</artifactId>
115                 </dependency>
116                 <dependency>
117                         <groupId>org.opendaylight.mdsal.model</groupId>
118                         <artifactId>ietf-yang-types-20130715</artifactId>
119                 </dependency>
120         </dependencies>
121         <version>1.6.3</version>
122 </project>