Fix Sonar integration
[yangtools.git] / yang / yang-xpath-impl / 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-SNAPSHOT</version>
16         <relativePath/>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <groupId>org.opendaylight.yangtools</groupId>
21     <artifactId>yang-xpath-impl</artifactId>
22     <version>0.2.0-SNAPSHOT</version>
23     <packaging>bundle</packaging>
24     <name>${project.artifactId}</name>
25     <description>YANG XPath parser</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>com.google.guava</groupId>
46             <artifactId>guava</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>org.opendaylight.yangtools</groupId>
50             <artifactId>concepts</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>org.opendaylight.yangtools</groupId>
54             <artifactId>yang-common</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>org.opendaylight.yangtools</groupId>
58             <artifactId>yang-xpath-api</artifactId>
59         </dependency>
60
61         <dependency>
62             <groupId>org.antlr</groupId>
63             <artifactId>antlr4-runtime</artifactId>
64         </dependency>
65     </dependencies>
66
67     <build>
68         <plugins>
69             <plugin>
70                 <groupId>org.antlr</groupId>
71                 <artifactId>antlr4-maven-plugin</artifactId>
72                 <executions>
73                     <execution>
74                         <goals>
75                             <goal>antlr4</goal>
76                         </goals>
77                     </execution>
78                 </executions>
79                 <configuration>
80                     <sourceDirectory>src/main/antlr</sourceDirectory>
81                     <outputDirectory>${project.build.directory}/generated-sources/antlr/org/opendaylight/yangtools/yang/xpath/impl</outputDirectory>
82                     <visitor>false</visitor>
83                     <listener>false</listener>
84                 </configuration>
85             </plugin>
86             <plugin>
87                 <groupId>org.apache.maven.plugins</groupId>
88                 <artifactId>maven-checkstyle-plugin</artifactId>
89                 <configuration>
90                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
91                 </configuration>
92             </plugin>
93             <plugin>
94                 <groupId>org.jacoco</groupId>
95                 <artifactId>jacoco-maven-plugin</artifactId>
96                 <executions>
97                     <execution>
98                         <id>pre-unit-test</id>
99                         <goals>
100                             <goal>prepare-agent</goal>
101                         </goals>
102                         <configuration>
103                             <destFile>${project.build.directory}/code-coverage/jacoco.exec</destFile>
104                         </configuration>
105                     </execution>
106                 </executions>
107             </plugin>
108         </plugins>
109     </build>
110
111 </project>