Bump to odlparent 4.0.0
[yangtools.git] / yang / yang-data-api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12     <parent>
13         <groupId>org.opendaylight.odlparent</groupId>
14         <artifactId>bundle-parent</artifactId>
15         <version>4.0.0</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.yangtools</groupId>
21     <artifactId>yang-data-api</artifactId>
22     <version>2.1.0-SNAPSHOT</version>
23     <packaging>bundle</packaging>
24     <name>${project.artifactId}</name>
25     <description>${project.artifactId}</description>
26
27     <properties>
28         <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
29     </properties>
30
31     <dependencyManagement>
32         <dependencies>
33             <dependency>
34                 <groupId>org.opendaylight.yangtools</groupId>
35                 <artifactId>yangtools-artifacts</artifactId>
36                 <version>2.1.0-SNAPSHOT</version>
37                 <scope>import</scope>
38                 <type>pom</type>
39             </dependency>
40         </dependencies>
41     </dependencyManagement>
42
43     <dependencies>
44         <dependency>
45             <groupId>${project.groupId}</groupId>
46             <artifactId>util</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>${project.groupId}</groupId>
50             <artifactId>yang-common</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>org.opendaylight.yangtools</groupId>
54             <artifactId>concepts</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>com.google.guava</groupId>
58             <artifactId>guava</artifactId>
59         </dependency>
60         <dependency>
61           <groupId>org.opendaylight.yangtools</groupId>
62           <artifactId>yang-model-api</artifactId>
63         </dependency>
64     </dependencies>
65
66     <build>
67         <plugins>
68             <plugin>
69                 <groupId>org.apache.maven.plugins</groupId>
70                 <artifactId>maven-checkstyle-plugin</artifactId>
71                 <configuration>
72                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
73                 </configuration>
74             </plugin>
75             <plugin>
76                 <groupId>org.codehaus.mojo</groupId>
77                 <artifactId>findbugs-maven-plugin</artifactId>
78                 <configuration>
79                     <failOnError>true</failOnError>
80                 </configuration>
81             </plugin>
82             <plugin>
83                 <groupId>org.jacoco</groupId>
84                 <artifactId>jacoco-maven-plugin</artifactId>
85                 <executions>
86                     <execution>
87                         <id>pre-unit-test</id>
88                         <goals>
89                             <goal>prepare-agent</goal>
90                         </goals>
91                         <configuration>
92                             <destFile>${project.build.directory}/code-coverage/jacoco.exec</destFile>
93                         </configuration>
94                     </execution>
95                 </executions>
96             </plugin>
97         </plugins>
98     </build>
99
100 </project>