Factored checkstyle config into it's own mvn project
[controller.git] / opendaylight / commons / opendaylight / pom.xml
index 33218808a84773e0a6b884eee204a1193763c8c3..e70f5223273db19a344abc65424a8aa1d3364bc3 100644 (file)
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
         <version>${checkstyle.version}</version>
+          <dependencies>
+            <dependency>
+              <groupId>org.opendaylight.controller</groupId>
+              <artifactId>checkstyle</artifactId>
+              <version>0.0.1</version>
+            </dependency>
+          </dependencies>
         <executions>
           <execution>
             <phase>process-sources</phase>
         </executions>
         <configuration>
           <failsOnError>true</failsOnError>
-          <configLocation>${project.parent.basedir}/space_and_tabs_checks.xml</configLocation>
+          <configLocation>controller/space_and_tabs_checks.xml</configLocation>
           <consoleOutput>true</consoleOutput>
           <includeTestSourceDirectory>true</includeTestSourceDirectory>
           <sourceDirectory>${project.basedir}</sourceDirectory>