From: Robert Varga Date: Thu, 24 Aug 2017 12:25:41 +0000 (+0200) Subject: BUG-2643: enable checkstyle/findbugs in archetype X-Git-Tag: release/oxygen~132 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=3bfd07021cadddfb544908e84fb0c03db402e771;hp=9b5705d5d4b396e4076d2bc46d554644ac3f150b BUG-2643: enable checkstyle/findbugs in archetype New projects should have these set from the get go. Change-Id: Ic85cdd003ecb1fe49326d3d6a1b1099d09522ebb Signed-off-by: Robert Varga --- diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/api/pom.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/api/pom.xml index c18f665f70..eb64ff6e89 100644 --- a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/api/pom.xml +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/api/pom.xml @@ -25,4 +25,23 @@ and is available at http://www.eclipse.org/legal/epl-v10.html build failure. Please do not modify this unless you have a good reason. --> ODL :: ${groupId} :: ${project.artifactId} bundle + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + checkstyle.violationSeverity=error + + + + org.codehaus.mojo + findbugs-maven-plugin + + true + + + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/cli/pom.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/cli/pom.xml index b5aeef4447..79ae689bec 100644 --- a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/cli/pom.xml +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/cli/pom.xml @@ -50,4 +50,23 @@ and is available at http://www.eclipse.org/legal/epl-v10.html ${karaf.version} + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + checkstyle.violationSeverity=error + + + + org.codehaus.mojo + findbugs-maven-plugin + + true + + + + diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/pom.xml b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/pom.xml index ea2c01215a..d046a95f07 100644 --- a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/pom.xml +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/pom.xml @@ -50,4 +50,23 @@ and is available at http://www.eclipse.org/legal/epl-v10.html test + + + + + org.apache.maven.plugins + maven-checkstyle-plugin + + checkstyle.violationSeverity=error + + + + org.codehaus.mojo + findbugs-maven-plugin + + true + + + +