From 413d05ccfc941b56737aac87e9ffea7e1ff46f68 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Thu, 8 Sep 2016 11:57:18 +0200 Subject: HONEYCOMB-197 Enable jacoco for minimal distributions Change-Id: I12bd942d21b8a3952546fdaccfb4ded997a98fc7 Signed-off-by: Maros Marsalek --- common/minimal-distribution-parent/pom.xml | 127 ++++++++++++++++++++++++++++- 1 file changed, 126 insertions(+), 1 deletion(-) (limited to 'common') diff --git a/common/minimal-distribution-parent/pom.xml b/common/minimal-distribution-parent/pom.xml index 12dce7357..15d851a69 100644 --- a/common/minimal-distribution-parent/pom.xml +++ b/common/minimal-distribution-parent/pom.xml @@ -17,6 +17,13 @@ + + org.opendaylight.odlparent + odlparent + 1.6.2-Beryllium-SR2 + + + 4.0.0 io.fd.honeycomb.common minimal-distribution-parent @@ -172,6 +179,80 @@ done + + maven-checkstyle-plugin + + + honeycomb-checkstyle.xml + true + + + + + + + check-license + + check + + process-sources + + HONEYCOMB_LICENSE.txt + true + true + ${project.build.directory}/checkstyle-license-result.xml + + + + + + check-logging + + check + + process-sources + + true + honeycomb-checkstyle-logging.xml + true + true + ${project.basedir} + **\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat,**\/*.yang + **\/target\/,**\/bin\/,**\/target-ide\/,**\/src/main/yang-gen-config\/,**\/src/main/yang-gen-sal\/,**\/src/main/xtend-gen\/,**\/src/main/yang\/ + ${project.build.directory}/checkstyle-logging-result.xml + + + + + check + + process-sources + + + + + io.fd.honeycomb.common + honeycomb-checkstyle + + 1.16.12-SNAPSHOT + + + + org.opendaylight.yangtools + checkstyle-logging + ${yangtools.version} + + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + -Xdoclint:none + + org.apache.maven.plugins maven-compiler-plugin @@ -330,11 +411,55 @@ done maven-surefire-plugin - -Djava.security.egd=file:${random.seed.file} + + ${argLine} -Djava.security.egd=file:${random.seed.file} + + + maven-checkstyle-plugin + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + + unpack-license + none + unpack + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + javac-with-errorprone + true + true + 1.8 + 1.8 + + + + org.codehaus.plexus + plexus-compiler-javac-errorprone + 2.5 + + + + com.google.errorprone + error_prone_core + 2.0.9 + + + + -- cgit 1.2.3-korg