615d05bdbdc8abf08d85159c0d22164bf780c2a6
[ccsdk/features.git] / sdnr / wt / common-yang / utils / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- ~ ============LICENSE_START======================================================= 
3         ~ ONAP : ccsdk features ~ ================================================================================ 
4         ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property. 
5         ~ All rights reserved. ~ ================================================================================ 
6         ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. 
7         ~ ================================================================================ 
8         ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may 
9         not use this file except in compliance with the License. ~ You may obtain 
10         a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ 
11         ~ Unless required by applicable law or agreed to in writing, software ~ distributed 
12         under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES 
13         OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for 
14         the specific language governing permissions and ~ limitations under the License. 
15         ~ ============LICENSE_END======================================================= 
16         ~ -->
17 <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">
18     <modelVersion>4.0.0</modelVersion>
19
20     <parent>
21         <groupId>org.onap.ccsdk.parent</groupId>
22         <artifactId>binding-parent</artifactId>
23         <version>2.5.4</version>
24         <relativePath/>
25     </parent>
26
27     <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
28     <artifactId>sdnr-wt-yang-utils</artifactId>
29     <version>1.5.1-SNAPSHOT</version>
30     <packaging>bundle</packaging>
31
32     <name>ccsdk-features :: ${project.artifactId}</name>
33     <licenses>
34         <license>
35             <name>Apache License, Version 2.0</name>
36             <url>http://www.apache.org/licenses/LICENSE-2.0</url>
37         </license>
38     </licenses>
39
40     <dependencies>
41         <dependency>
42             <groupId>org.osgi</groupId>
43             <artifactId>org.osgi.core</artifactId>
44             <scope>provided</scope>
45         </dependency>
46         <dependency>
47             <groupId>com.google.code.findbugs</groupId>
48             <artifactId>annotations</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>com.fasterxml.jackson.core</groupId>
52             <artifactId>jackson-annotations</artifactId>
53         </dependency>
54         <dependency>
55             <groupId>com.fasterxml.jackson.core</groupId>
56             <artifactId>jackson-databind</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>com.fasterxml.jackson.datatype</groupId>
60             <artifactId>jackson-datatype-jsr310</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
64             <artifactId>rfc6991-ietf-yang-types</artifactId>
65             <scope>provided</scope>
66         </dependency>
67         <dependency>
68             <groupId>org.opendaylight.mdsal</groupId>
69             <artifactId>mdsal-dom-api</artifactId>
70             <scope>provided</scope>
71         </dependency>
72         <dependency>
73             <groupId>org.opendaylight.mdsal.binding.model.ietf</groupId>
74             <artifactId>rfc6991-ietf-inet-types</artifactId>
75             <scope>test</scope>
76         </dependency>
77         <dependency>
78             <groupId>org.json</groupId>
79             <artifactId>json</artifactId>
80         </dependency>
81         <dependency>
82             <groupId>${project.groupId}</groupId>
83             <artifactId>sdnr-wt-test-yang</artifactId>
84             <version>${project.version}</version>
85             <scope>test</scope>
86         </dependency>
87         <dependency>
88             <groupId>org.opendaylight.netconf</groupId>
89             <artifactId>sal-netconf-connector</artifactId>
90             <scope>test</scope>
91         </dependency>
92     </dependencies>
93
94     <build>
95         <plugins>
96             <plugin>
97                 <groupId>org.jacoco</groupId>
98                 <artifactId>jacoco-maven-plugin</artifactId>
99                 <configuration>
100                     <excludes>
101                         <exclude>**/gen/**</exclude>
102                         <exclude>**/generated-sources/**</exclude>
103                         <exclude>**/yang-gen-sal/**</exclude>
104                         <exclude>**/pax/**</exclude>
105                     </excludes>
106                 </configuration>
107             </plugin>
108             <plugin>
109                 <groupId>org.opendaylight.yangtools</groupId>
110                 <artifactId>yang-maven-plugin</artifactId>
111                 <version>9.0.1</version>
112                 <executions>
113                     <execution>
114                         <id>binding</id>
115                         <goals>
116                             <goal>generate-sources</goal>
117                         </goals>
118                         <configuration>
119                             <yangFilesRootDir>src/test/yang</yangFilesRootDir>
120                             <inspectDependencies>true</inspectDependencies>
121                         </configuration>
122                     </execution>
123                 </executions>
124                 <dependencies>
125                     <dependency>
126                         <groupId>org.opendaylight.mdsal</groupId>
127                         <artifactId>mdsal-binding-java-api-generator</artifactId>
128                         <version>10.0.2</version>
129                         <scope>compile</scope>
130                     </dependency>
131                 </dependencies>
132             </plugin>
133         </plugins>
134     </build>
135 </project>