Merge "Fail on validation of checkstyle set to true"
authorTony Tkacik <ttkacik@cisco.com>
Wed, 7 Jan 2015 09:33:50 +0000 (09:33 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 7 Jan 2015 09:33:50 +0000 (09:33 +0000)
1  2 
opendaylight/config/pom.xml

index dc13989ab112da7eb83aabd7cf838d1dd25154f0,3f0956e6b952839408c84d566f6c49acf441b11d..4c4c5b3378f1bfb87f64544248e052ca43053cfa
@@@ -43,7 -43,6 +43,7 @@@
      <module>config-netty-config</module>
  
      <module>config-artifacts</module>
 +    <module>config-parent</module>
    </modules>
  
    <dependencies>
          <artifactId>maven-checkstyle-plugin</artifactId>
          <configuration>
            <failsOnError>false</failsOnError>
-           <failOnViolation>false</failOnViolation>
+           <failOnViolation>true</failOnViolation>
            <configLocation>checkstyle-logging.xml</configLocation>
            <consoleOutput>true</consoleOutput>
            <includeTestSourceDirectory>true</includeTestSourceDirectory>
            <!-- excluding logback-config, has several checkstyle warnings
                 regarding Logger/LoggerFactory, which couldn't be removed due necessity/intention
                 to use the particular implementation/library of Logger/LoggerFactory -->
-           <excludes>**\/logback-config\/,**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
+           <excludes>**\/config\/yang\/logback\/config\/**,**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/</excludes>
          </configuration>
          <dependencies>
            <dependency>