Bump versions to 2.0.24-SNAPSHOT
[yangtools.git] / common / checkstyle-logging / pom.xml
index 8960ca957905eb09cc83ded500a3ac9332c43828..33d08ff4ad83e6ee0ab4fe09eead39bfe0c42d5c 100644 (file)
@@ -9,22 +9,27 @@
 -->
 <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">
   <modelVersion>4.0.0</modelVersion>
-  <parent>
-    <groupId>org.opendaylight.yangtools</groupId>
-    <artifactId>common-parent</artifactId>
-    <version>0.6.2-SNAPSHOT</version>
-  </parent>
+    <parent>
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>bundle-parent</artifactId>
+        <version>3.1.9</version>
+        <relativePath/>
+    </parent>
+  <groupId>org.opendaylight.yangtools</groupId>
   <artifactId>checkstyle-logging</artifactId>
+  <version>2.0.24-SNAPSHOT</version>
+  <packaging>bundle</packaging>
 
   <dependencies>
+    <!-- This pulls in the appropriate version of checkstyle -->
     <dependency>
       <groupId>com.puppycrawl.tools</groupId>
       <artifactId>checkstyle</artifactId>
-      <version>5.7</version>
     </dependency>
     <dependency>
-        <groupId>org.slf4j</groupId>
-        <artifactId>slf4j-api</artifactId>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <version>1.2</version>
     </dependency>
     <dependency>
       <groupId>junit</groupId>
       <scope>test</scope>
     </dependency>
   </dependencies>
-</project>
\ No newline at end of file
+
+  <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>
+
+</project>