Factored checkstyle config into it's own mvn project 81/781/3
authorEd Warnicke <eaw@cisco.com>
Sat, 3 Aug 2013 00:04:14 +0000 (19:04 -0500)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 5 Aug 2013 15:13:30 +0000 (15:13 +0000)
commit249c1c2ce6981ac39985313dbac7d7152f2c1576
tree88ce1d01edabfd2e24f470bc49e2b05e54533d41
parentf50c33651ba4ce499d5885081e29ef539dd9d564
Factored checkstyle config into it's own mvn project

This allows correct handling of multimodule checkstyle as
documented here:

http://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html

This involved:
- Adding a commons/checkstyle module to hold the space_and_tabs_checks.xml
- Altering commons/opendaylight to use commons/checkstyle
- Altering commons/concepts to use commons/checkstyle
- Altering commons/integrationtest to use commons/checkstyle
- Altering opendaylight/distribution to make sure to build commons/opendaylight
    and commons/checkstyle
- Altering opendaylight/distribution to exclude commons/checkstyle from the
    distribution zip file.

Change-Id: I36c23fc92ab8ec711861c7e9251a63b1aa60fd40
Signed-off-by: Ed Warnicke <eaw@cisco.com>
opendaylight/commons/checkstyle/pom.xml [new file with mode: 0644]
opendaylight/commons/checkstyle/src/main/resources/controller/space_and_tabs_checks.xml [moved from opendaylight/commons/opendaylight/space_and_tabs_checks.xml with 100% similarity]
opendaylight/commons/concepts/pom.xml
opendaylight/commons/integrationtest/pom.xml
opendaylight/commons/opendaylight/pom.xml
opendaylight/distribution/opendaylight/pom.xml
opendaylight/distribution/opendaylight/src/assemble/bin.xml