Commit graph

126 commits

Author SHA1 Message Date
90e3652e6e {builder,plugin}:*Test: replace deprecated org.mockito.Matchers.* imports 2017-07-13 14:19:39 +01:00
7b144fdb0a AvoidDefaultSerializableInInnerClasses: enable rule 2017-07-13 11:57:44 +01:00
3fe3d16d42 FinalizeImplementation: enable rule 2017-07-05 15:30:33 +01:00
69ee78e50e WhiteSpaceBeforeArrayInitializer: enable rule 2017-07-04 12:31:37 +01:00
55ff66d98b EmptyPublicCtorInClass: enable rule 2017-07-04 12:25:30 +01:00
ff2e4b9c95 builder: move dependency management to parent pom 2017-06-17 08:29:05 +01:00
ecf22ade2f version: set to 3.3.0-SNAPSHOT
remove redundant version elements in sub-module poms as they will inherit from the parent pom
2017-06-12 10:12:48 +01:00
f5f69a006f version: set to 3.2.0 2017-06-12 09:48:06 +01:00
90901766f5 builder: pom.xml: use project parent pom 2017-06-09 19:43:43 +01:00
f5eddc088f builder: pom.xml: upgrade kemitix-parent to 3.0.0
* Specify Spring Platform as Brussels-SR2
2017-06-09 19:15:10 +01:00
de597e0164 pom.xml: normalise maven pom names 2017-06-02 19:27:14 +01:00
2b8533273f Add level 0 Disabled 2017-05-31 12:10:06 +01:00
b28771989a version: set to 3.2.0-SNAPSHOT 2017-05-30 15:27:29 +01:00
4cc70343be builder: ExplicitInitilization only applies to object references 2017-05-30 15:01:05 +01:00
9e657b36ec version: set to 3.1.0 2017-05-30 14:36:46 +01:00
f189fb3b84 builder: DefaultPackageScannerTest: make classPath local variable 2017-05-30 12:44:33 +01:00
1b318253d2 builder: BuilderConfigurationTest: added 2017-05-30 12:43:34 +01:00
0503156bd0 Merge branch 'develop' into upgrade-checkstyle
* develop:
  wercker.yml: rewritten
  wercker.yml: added
  travis-ci: remove defensive checks
  shippable.yml: added
  travis-ci: only deploy from Travis-CI
  KCR37+38: MoveVariableInsideIf: avoid unused private methods
  KCR39: regressions: MoveVariableInsideIf: method(): use parameter
  KCR38: regressions: MoveVariableInsideIf: valid(): use explicit scope
  KCR37: regressions: MoveVariableInsideIf: invalid(): use explicit scope
  KXR36: plugin: DefaultCheckstyleExecutorTest: artifactFile: make local variable
  builder: ReadmeWriterTest: templateProperties: make local variable
  KCR35: builder: ReadmeWriterTest: fragments: make local variable
  KCR34: builder: ReadmeWriterTest: template: make local variable
  KCR33: builder: ReadmeWriterTest: outputProperties: make local
  KCR31: builder: DefaultRuleReadmeLoaderTest: make field local
  KCr30: CheckstyleWriterTest: checkstyleTemplate: make field local variable
  KCR28: builder: remove empty test class
  builder: CheckstyleWriter: avoid throwing raw exception types
2017-05-30 12:38:38 +01:00
2e8e26c351 builder: refactored and improved test coverage 2017-05-30 12:32:29 +01:00
a0ca4958fc builder: use fully qualified classnames in XML files
In Checkstyle 7.8 a new mechanisim is used to lookup rules by
name. This new method causes an exception to be thrown is there are
more than one classes found that match the rule name.

The solution is to use fully qualified class names in the module tag
in the XML ruleset files.
2017-05-29 23:55:42 +01:00
701b64e2c6 builder: ReadmeWriterTest: templateProperties: make local variable 2017-05-29 13:27:24 +01:00
74690d8cdf KCR35: builder: ReadmeWriterTest: fragments: make local variable 2017-05-29 13:25:50 +01:00
d754fdc0a3 KCR34: builder: ReadmeWriterTest: template: make local variable 2017-05-29 13:23:37 +01:00
c4f302d9e5 KCR33: builder: ReadmeWriterTest: outputProperties: make local
Fixes #33
2017-05-29 13:22:57 +01:00
b04d131245 Merge pull request #43 from kemitix/kcr-31-builder-defaultrulereadmeloadertest-fragment-localvariable
KCR31: builder: DefaultRuleReadmeLoaderTest: make field local
2017-05-29 13:16:35 +01:00
27806fb2a2 KCR31: builder: DefaultRuleReadmeLoaderTest: make field local
* fragment (Fixes  #31)
* templateProperties (Fixes #32)
2017-05-29 12:27:40 +01:00
f7867283ff KCr30: CheckstyleWriterTest: checkstyleTemplate: make field local variable 2017-05-29 12:24:51 +01:00
82999a87fc Merge branch 'develop' into kcr-28-avoid-throwing-raw-exception-types
* develop:
  KCR29: travis-ci: detect Travis-CI
  KCR29: travis-ci: dump $TRAVIS and other env
  KCR29: travis-ci: should only submit coverage report from Travis-CI
  KCR29: builder: Rule: sortByName(): use explicit scoping
2017-05-29 12:11:08 +01:00
9d2895269d KCR29: builder: Rule: sortByName(): use explicit scoping 2017-05-29 11:31:13 +01:00
9ac59206a0 KCR28: builder: remove empty test class 2017-05-29 11:26:24 +01:00
81768ff9f9 builder: CheckstyleWriter: avoid throwing raw exception types
Instead of throwing RuntimeException or IOException, throw
CheckstyleWriterException or TemplateNotFoundException.
2017-05-29 11:23:48 +01:00
4a0ee1de46 ruleset: MoveVariableInsideIf: enabled for 4-tweaks and above 2017-05-28 19:56:43 +01:00
6072613b44 pom.xml: upgrade sevntu to 1.24.0
* Fixes bug in ForbidWildcardAsReturnType which is now enabled again
* Additional pluginRepositories config is no longer required
2017-05-28 19:52:24 +01:00
df9926c428 Merge branch 'master' into develop
* master:
  travis--ci: update key to match passphrase
  travis--ci: batch import signing key
  travis-ci: replace signing key to match passphrase
  .travis.yml: CI_DEPLOY_GPG_PASSPHRASE (4/4)
  .travis.yml: CI_DEPLOY_GPG_KEYNAME (3/4)
  .travis.yml: CI_DEPLOY_PASSWORD (2/4)
  .travis.yml: replace encrypted data (1/4)
  travis-ci: update location of travis-settings.xml
  travis-ci: use a shell-safe password
  travis-ci: make shell scripts executable (again)
  travis-ci: remove comments
  travis-ci: updated and add encrypted gpg credentials
  pom.xml: version set to 2.1.2
2017-05-28 18:06:02 +01:00
2706045dfb travis-ci: updated and add encrypted gpg credentials 2017-05-28 14:54:23 +01:00
c4be689fcc version: set to 3.0.1 2017-05-27 20:45:11 +01:00
2584ed4bb3 version: set to 3.1.0-SNAPSHOT 2017-05-27 16:48:15 +01:00
5af558544e pom.xml: version set to 3.0.0 2017-05-27 16:45:22 +01:00
c14c9ea8ca KCR22: builder: sort rules alphabetically 2017-05-27 14:04:19 +01:00
1b27a84bd6 version: set to 3.0.0-SNAPSHOT 2017-05-27 08:58:11 +01:00
d1d174d5a7 API Change: plugin: level is specified as a configuration parameter
* merge all level-based goals into a single 'check' goal
* specify the level to apply as a configuration parameter
* add remaining unit tests for plugin
2017-05-27 08:53:56 +01:00
6f9f07709f README.md,application.yml: fix typo
ArrayTrailingCommand and FinalLocalVariable had typo in level (TWEAK
when it should have been TWEAKS)
2017-05-26 09:17:29 +01:00
7c774a5057 {builder,plugin}: pom.xml: upgrades
* kemitix-parent: 2.4.0 -> 2.8.0
* spring-boot: 1.5.1 -> 1.5.3
* lombok: 1.16.12 -> 1.16.16 (reverting to kemitix-parent version)
* assertj: 3.6.2 -> 3.8.0
* maven: 3.3.9 -> 3.5.0
* mojo-executor: 2.2.0 -> 2.3.0
2017-05-25 16:28:35 +01:00
db496848cc pom.xml: version set to 2.4.0-SNAPSHOT 2017-04-02 16:16:50 +01:00
2004fc60d6 pom.xml: version set to 2.3.0 2017-04-02 16:14:23 +01:00
42985446a0 ForbidWildcardAsReturnType: disabled
When used with org.immutables:value, this check will kill the
Checkstyle process by throwing a NullPointerException.
2017-04-02 14:17:57 +01:00
8b1627df0b LICENSE.txt: updated 2017-04-02 13:45:59 +01:00
efa9b98378 pom.xml: version set to 2.3.0-SNAPSHOT 2017-03-11 17:44:34 +00:00
cc5d8f7ed1 pom.xml: version set to 2.2.0 2017-03-11 17:42:31 +00:00
f9ee73f148 RegexpOnFilename: Add a new rule to detect if there are any sync conflict files
Fails if there there are any Syncthing or Dropbox sync conflicts on any *.java file.
2017-03-11 16:55:34 +00:00