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"
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     </parent>
30     <groupId>org.onap.appc</groupId>
31     <artifactId>appc-provider-model</artifactId>
32     <version>1.6.3</version>
33     <packaging>bundle</packaging>
34
35     <name>appc-provider-model</name>
36     <build>
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 <!--                         <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> -->
45 <!--                         <Bundle-Version>${project.version}</Bundle-Version> -->
46 <!--                         <Export-Package>org.onap.appc</Export-Package> -->
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             <plugin>
80                 <groupId>org.apache.maven.plugins</groupId>
81                 <artifactId>maven-install-plugin</artifactId>
82                 <executions>
83                     <execution>
84                         <id>yang</id>
85                         <phase>initialize</phase>
86                         <goals>
87                             <goal>install-file</goal>
88                         </goals>
89                         <configuration>
90                             <file>${project.basedir}/src/main/yang/appc-provider-lcm.yang</file>
91                             <groupId>${project.groupId}</groupId>
92                             <artifactId>${project.artifactId}</artifactId>
93                             <version>${project.version}</version>
94                             <packaging>yang</packaging>
95                         </configuration>
96                     </execution>
97                 </executions>
98             </plugin>
99         </plugins>
100
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.model</groupId>
113             <artifactId>ietf-inet-types-2013-07-15</artifactId>
114         </dependency>
115         <dependency>
116             <groupId>org.opendaylight.mdsal.model</groupId>
117             <artifactId>ietf-yang-types-20130715</artifactId>
118         </dependency>
119         <dependency>
120             <groupId>com.google.guava</groupId>
121             <artifactId>guava</artifactId>
122         </dependency>
123     </dependencies>
124 </project>