- <artifactId>common-parent</artifactId>
- <version>0.6.2-SNAPSHOT</version>
- </parent>
- <artifactId>checkstyle-logging</artifactId>
+ <artifactId>checkstyle-logging</artifactId>
+ <version>2.1.0-SNAPSHOT</version>
+ <packaging>bundle</packaging>
+
+ <properties>
+ <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
+ </properties>
+
+ <dependencies>
+ <!-- This pulls in the appropriate version of checkstyle -->
+ <dependency>
+ <groupId>com.puppycrawl.tools</groupId>
+ <artifactId>checkstyle</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.2</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <includeTestSourceDirectory>false</includeTestSourceDirectory>
+ <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>