Fix deprecation warnings and checkstyle in benchmarks
[controller.git] / benchmark / rpcbenchmark / pom.xml
index 808c2c0970205ea3902afcff60ef1019369bc935..86661321a14e8408b2deb1a5568de79595934c7b 100644 (file)
@@ -53,4 +53,15 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          <propertyExpansion>checkstyle.violationseverity=error</propertyExpansion>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
 </project>