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" 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-artifact-handler-model</artifactId>
32         <packaging>bundle</packaging>
33         <name>APPC Artifact Handler - Model</name>
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>com.google.common.collect,com.google.common.base,*</Import-Package>
45                                                 <Embed-Dependency>guava</Embed-Dependency>
46                                         </instructions>
47                                 </configuration>
48                         </plugin>
49                         <plugin>
50                                 <groupId>org.opendaylight.yangtools</groupId>
51                                 <artifactId>yang-maven-plugin</artifactId>
52                                 <dependencies>
53                                         <dependency>
54                                                 <groupId>org.opendaylight.mdsal</groupId>
55                                                 <artifactId>maven-sal-api-gen-plugin</artifactId>
56                                                 <version>${odl.sal.api.gen.plugin.version}</version>
57                                                 <type>jar</type>
58                                         </dependency>
59                                 </dependencies>
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
79                         <plugin>
80                 <groupId>org.apache.maven.plugins</groupId>
81                 <artifactId>maven-install-plugin</artifactId>
82                 <version>2.5.2</version>
83                 <executions>
84                     <execution>
85                         <id>yang</id>
86                         <phase>initialize</phase>
87                         <goals>
88                             <goal>install-file</goal>
89                         </goals>
90                         <configuration>
91                             <file>${project.basedir}/src/main/yang/artifact-handler.yang</file>
92                             <groupId>${project.groupId}</groupId>
93                             <artifactId>${project.artifactId}</artifactId>
94                             <version>${project.version}</version>
95                             <packaging>yang</packaging>
96                         </configuration>
97                     </execution>
98                 </executions>
99             </plugin>
100                 </plugins>
101         </build>
102         <dependencies>
103                 <dependency>
104                         <groupId>org.opendaylight.mdsal</groupId>
105                         <artifactId>yang-binding</artifactId>
106                 </dependency>
107                 <dependency>
108                         <groupId>org.opendaylight.yangtools</groupId>
109                         <artifactId>yang-common</artifactId>
110                 </dependency>
111                 <dependency>
112             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
113             <artifactId>rfc6991</artifactId>
114         </dependency>
115
116                 
117         </dependencies>
118         <version>1.7.2</version>
119 </project>