<?xml version="1.0" encoding="UTF-8"?>
<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.controller.archetypes</groupId>
     <artifactId>archetypes-parent</artifactId>
     <version>0.5.0-SNAPSHOT</version>
  </parent>

  <groupId>org.opendaylight.controller</groupId>
  <artifactId>opendaylight-startup-archetype</artifactId>
  <version>1.3.0-SNAPSHOT</version>
  <packaging>maven-archetype</packaging>
  <name>${project.artifactId}</name>

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <configuration>
          <failsOnError>false</failsOnError>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>

<?xml version="1.0" encoding="UTF-8"?>
<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.controller.archetypes</groupId>
     <artifactId>archetypes-parent</artifactId>
     <version>0.5.0-SNAPSHOT</version>
  </parent>

  <groupId>org.opendaylight.controller</groupId>
  <artifactId>opendaylight-startup-archetype</artifactId>
  <version>1.3.0-SNAPSHOT</version>
  <packaging>maven-archetype</packaging>
  <name>${project.artifactId}</name>

  <build>
    <plugins>
      <plugin>
        <artifactId>maven-checkstyle-plugin</artifactId>
        <configuration>
          <failsOnError>true</failsOnError>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>

Enable fail on checkstyle violation for archetype code
Enable fail on checkstyle violation for archetype code

Change-Id: I949a8704d7c09a59f21011c2e91778c9f37b31f4
Signed-off-by: Ryan Goulding <a572a9a1f444dfed49668f83b54038490b0a6cc0@gmail.com>
