Fix Sonar integration
[yangtools.git] / yang / yang-data-jaxen / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4     Copyright (c) 2015 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-data-jaxen</artifactId>
22     <version>2.1.0-SNAPSHOT</version>
23     <name>${project.artifactId}</name>
24     <description>${project.artifactId}</description>
25     <packaging>bundle</packaging>
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>jaxen</groupId>
50             <artifactId>jaxen</artifactId>
51             <version>1.1.6</version>
52         </dependency>
53
54         <dependency>
55             <groupId>${project.groupId}</groupId>
56             <artifactId>yang-data-api</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>${project.groupId}</groupId>
60             <artifactId>yang-data-util</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>${project.groupId}</groupId>
64             <artifactId>yang-model-api</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>${project.groupId}</groupId>
68             <artifactId>yang-model-util</artifactId>
69         </dependency>
70
71         <dependency>
72             <groupId>org.kohsuke.metainf-services</groupId>
73             <artifactId>metainf-services</artifactId>
74         </dependency>
75         <dependency>
76             <groupId>org.osgi</groupId>
77             <artifactId>org.osgi.core</artifactId>
78         </dependency>
79
80         <dependency>
81             <groupId>${project.groupId}</groupId>
82             <artifactId>yang-test-util</artifactId>
83             <scope>test</scope>
84         </dependency>
85         <dependency>
86             <groupId>${project.groupId}</groupId>
87             <artifactId>yang-data-impl</artifactId>
88             <scope>test</scope>
89         </dependency>
90     </dependencies>
91
92     <build>
93         <plugins>
94             <plugin>
95                 <groupId>org.apache.felix</groupId>
96                 <artifactId>maven-bundle-plugin</artifactId>
97                 <extensions>true</extensions>
98                 <configuration>
99                     <instructions>
100                         <Include-Resource>{META-INF/services=${project.build.directory}/classes/META-INF/services}</Include-Resource>
101                         <Bundle-Activator>org.opendaylight.yangtools.yang.data.jaxen.osgi.Activator</Bundle-Activator>
102                     </instructions>
103                 </configuration>
104             </plugin>
105             <plugin>
106                 <groupId>org.apache.maven.plugins</groupId>
107                 <artifactId>maven-checkstyle-plugin</artifactId>
108                 <configuration>
109                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
110                 </configuration>
111             </plugin>
112             <plugin>
113                 <groupId>org.jacoco</groupId>
114                 <artifactId>jacoco-maven-plugin</artifactId>
115                 <executions>
116                     <execution>
117                         <id>pre-unit-test</id>
118                         <goals>
119                             <goal>prepare-agent</goal>
120                         </goals>
121                         <configuration>
122                             <destFile>${project.build.directory}/code-coverage/jacoco.exec</destFile>
123                         </configuration>
124                     </execution>
125                 </executions>
126             </plugin>
127         </plugins>
128     </build>
129
130 </project>