--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Copyright © 2018 Red Hat, Inc. and others.
+
+This program and the accompanying materials are made available under the
+terms of the Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
+-->
+<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.odlparent</groupId>
+ <artifactId>odlparent</artifactId>
+ <version>3.1.2</version>
+ <relativePath/>
+ </parent>
+
+ <groupId>org.opendaylight.genius</groupId>
+ <artifactId>checkstyle</artifactId>
+ <version>0.5.0-SNAPSHOT</version>
+ <name>ODL :: genius :: ${project.artifactId}</name>
+</project>
--- /dev/null
+<?xml version="1.0"?>
+<!--
+Copyright © 2018 Red Hat, Inc. and others.
+
+This program and the accompanying materials are made available under the
+terms of the Eclipse Public License v1.0 which accompanies this distribution,
+and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
+-->
+<!DOCTYPE module PUBLIC
+ "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
+ "http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd">
+<module name="Checker">
+ <module name="SuppressWarningsFilter" />
+
+ <module name="TreeWalker">
+ <module name="SuppressWarningsHolder" />
+
+ <module name="com.github.sevntu.checkstyle.checks.coding.ForbidCertainMethodCheck">
+ <property name="methodName" value="newWriteOnlyTransaction" />
+ </module>
+ <module name="com.github.sevntu.checkstyle.checks.coding.ForbidCertainMethodCheck">
+ <property name="methodName" value="newReadWriteTransaction" />
+ </module>
+ </module>
+</module>
\ No newline at end of file
<module>quality-parent</module>
<module>binding-parent</module>
<module>testutils</module>
+ <module>checkstyle</module>
</modules>
<!-- DO NOT install or deploy the repo root pom as it's only needed to initiate a build -->
</dependencies>
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.genius</groupId>
+ <artifactId>checkstyle</artifactId>
+ <version>0.5.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>check-databroker</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <phase>process-sources</phase>
+ <configuration>
+ <configLocation>databroker-checks.xml</configLocation>
+ <includeResources>false</includeResources>
+ <includeTestSourceDirectory>false</includeTestSourceDirectory>
+ <includeTestResources>false</includeTestResources>
+ <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
+ <failsOnError>true</failsOnError>
+ <consoleOutput>true</consoleOutput>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.xtend</groupId>