Release appc
[appc.git] / appc-provider / appc-provider-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     </parent>
29     <groupId>org.onap.appc</groupId>
30     <artifactId>appc-provider-model</artifactId>
31     <version>1.7.2</version>
32     <packaging>bundle</packaging>
33
34     <name>appc-provider-model</name>
35     <build>
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 <!--                         <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> -->
44 <!--                         <Bundle-Version>${project.version}</Bundle-Version> -->
45 <!--                         <Export-Package>org.onap.appc</Export-Package> -->
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             <plugin>
79                 <groupId>org.apache.maven.plugins</groupId>
80                 <artifactId>maven-install-plugin</artifactId>
81                 <executions>
82                     <execution>
83                         <id>yang</id>
84                         <phase>initialize</phase>
85                         <goals>
86                             <goal>install-file</goal>
87                         </goals>
88                         <configuration>
89                             <file>${project.basedir}/src/main/yang/appc-provider-lcm.yang</file>
90                             <groupId>${project.groupId}</groupId>
91                             <artifactId>${project.artifactId}</artifactId>
92                             <version>${project.version}</version>
93                             <packaging>yang</packaging>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98         </plugins>
99
100     </build>
101     <dependencies>
102         <dependency>
103             <groupId>org.opendaylight.mdsal</groupId>
104             <artifactId>yang-binding</artifactId>
105         </dependency>
106         <dependency>
107             <groupId>org.opendaylight.yangtools</groupId>
108             <artifactId>yang-common</artifactId>
109         </dependency>
110         <dependency>
111             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
112             <artifactId>rfc6991</artifactId>
113         </dependency>
114
115         
116         <dependency>
117             <groupId>com.google.guava</groupId>
118             <artifactId>guava</artifactId>
119         </dependency>
120     </dependencies>
121 </project>