commit | cbbaed3dde7bf6e8ba8a68eccd8eef2c480ab9c8 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Wed May 14 20:27:43 2014 -0700 |
committer | Gerrit Code Review <gerrit2@gerrit.onos.onlab.us> | Thu May 15 11:03:40 2014 -0700 |
tree | 4575577c8a4cbb4b03057db3771771a50a1337bd | |
parent | d765e9d383bbe74b37e1e3f0c7a7c20a25e37111 [diff] [blame] |
Specify checkstyle suppression in config file. Backported from OVX https://review.gerrithub.io/3549 -- description by Marc -- The idea is to have maven and eclipse share the same checkstyle config. We still setup the suppression, but inside the sun_checks.xml file. Here we’re using a variable that is standard in Eclipse, but unknown by Maven. The propertiesLocation allows us to define the variable in the scope of Maven. See here for more info: http://rolf-engelhard.de/2011/04/using-the-same-suppression-filter-for-checkstyle-in-eclipse-and-maven/ ---- Change-Id: I4d1083002db94556d31febdca9fc6d19745a0ce8
diff --git a/conf/checkstyle/checkstyle_maven.properties b/conf/checkstyle/checkstyle_maven.properties new file mode 100644 index 0000000..4677e08 --- /dev/null +++ b/conf/checkstyle/checkstyle_maven.properties
@@ -0,0 +1,2 @@ +# See: http://rolf-engelhard.de/2011/04/using-the-same-suppression-filter-for-checkstyle-in-eclipse-and-maven/ +config_loc=conf/checkstyle