Bump to odlparent 4.0.0
[yangtools.git] / common / checkstyle-logging / 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     <modelVersion>4.0.0</modelVersion>
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     <groupId>org.opendaylight.yangtools</groupId>
20     <artifactId>checkstyle-logging</artifactId>
21     <version>2.1.0-SNAPSHOT</version>
22     <packaging>bundle</packaging>
23
24     <properties>
25         <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
26     </properties>
27
28     <dependencies>
29         <!-- This pulls in the appropriate version of checkstyle -->
30         <dependency>
31             <groupId>com.puppycrawl.tools</groupId>
32             <artifactId>checkstyle</artifactId>
33         </dependency>
34         <dependency>
35             <groupId>commons-logging</groupId>
36             <artifactId>commons-logging</artifactId>
37             <version>1.2</version>
38         </dependency>
39     </dependencies>
40
41     <build>
42         <plugins>
43             <plugin>
44                 <groupId>org.apache.maven.plugins</groupId>
45                 <artifactId>maven-checkstyle-plugin</artifactId>
46                 <configuration>
47                     <includeTestSourceDirectory>false</includeTestSourceDirectory>
48                     <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
49                 </configuration>
50             </plugin>
51             <plugin>
52                 <groupId>org.jacoco</groupId>
53                 <artifactId>jacoco-maven-plugin</artifactId>
54                 <executions>
55                     <execution>
56                         <id>pre-unit-test</id>
57                         <goals>
58                             <goal>prepare-agent</goal>
59                         </goals>
60                         <configuration>
61                             <destFile>${project.build.directory}/code-coverage/jacoco.exec</destFile>
62                         </configuration>
63                     </execution>
64                 </executions>
65             </plugin>
66         </plugins>
67     </build>
68
69 </project>