Commit graph

251 commits

Author SHA1 Message Date
b0da93c088 Upgrade spring-boot to 1.5.14 2018-07-07 13:46:01 +01:00
a5388942a7 README: update template so mail changes don't get lost in main file
Also removed jenkins badges as they aren't working
2018-07-07 13:46:01 +01:00
82def93ff1 Upgrade mockito to 2.19.0 2018-07-07 13:46:01 +01:00
10d5f2611a Upgrade javax.annotation-api to 1.3.2 2018-07-07 13:02:13 +01:00
58a079f90a Upgrade fast-classpath-scanner to 3.1.6 2018-07-07 12:49:04 +01:00
48c5b57ffc Upgrade kemitix-parent to 5.1.1 2018-07-07 12:44:00 +01:00
0dd7926851 Version set to DEV-SNAPSHOT 2018-07-07 12:43:04 +01:00
604acf2509 Use Files.readAllLines 2018-05-15 19:52:16 +01:00
2934bb11ea Close file ready with try-with-resources 2018-05-15 19:41:40 +01:00
0adcb4ee35 Use the correct ruleset version used in the tile 2018-05-15 17:10:33 +01:00
fe136fcd29 version set to 4.1.0 2018-05-14 20:37:25 +01:00
058df393d0 Remove regressions module - not adding anything valuable 2018-05-14 20:30:13 +01:00
6acef3bf41 Upgrade to checkstyle 8.10 2018-04-20 09:50:48 +01:00
435417587b Upgrade sevntu-checkstyle to 1.29.0 2018-04-19 21:07:59 +01:00
c7e054ec8b Upgrade checkstyle to 8.9 2018-04-19 21:06:04 +01:00
0b0f11430e Upgrade tiles-maven-plugin to 2.11 2018-04-19 21:04:55 +01:00
ea2c909a32 EmptyLineSeparator: disable 2018-04-19 21:04:55 +01:00
e39dafc62b Upgrade kemitix-maven-tiles to 0.8.1 2018-04-19 07:20:36 +01:00
8ef9226a12 Upgrade kemitix-parent to 5.1.0 2018-04-18 20:43:45 +01:00
77394ad5d3 builder: refactoring to reduce complexity 2018-03-11 18:37:22 +00:00
423255b704 ruleset: update to match kemitix-pmd-ruleset
FileLength: restrict to 500 lines
JavaNCSS: reduce limits (class & file 250, method 12)
MethodCount: reduce to 10
MethodLength: reduce to 30
2018-03-11 11:46:17 +00:00
4de6b39821 builder: PackageScanner now returns a List rather than a Stream 2018-03-11 09:01:14 +00:00
359d15b78f builder: Clean up Configuration 2018-03-11 08:51:03 +00:00
d59cb7b879 builder: use FastClasspathScanner for Java 8 too 2018-03-11 08:39:20 +00:00
7ba2b557e3 builder: scan class path in java 9 2018-03-10 23:41:35 +00:00
5b28ecf762 builder: add dependency on fast-classpath-scanner 2018-03-10 23:39:59 +00:00
f333d47613 builder: split Java 8 and 9 class path scanning - java 9 unsupported 2018-03-10 22:52:08 +00:00
7ae239809d builder: add dependency on conditional 2018-03-10 22:51:10 +00:00
defa19a143 builder: use BuilderConfiguration to provide the classLoader 2018-03-10 08:27:45 +00:00
bb13fdaa1c Upgrade checkstyle to 8.7 2018-01-28 19:30:01 +00:00
940ba4c2cc Upgrade sevntu-checkstyle to 1.27.0 2018-01-28 19:28:15 +00:00
19057140e4 Merge branch 'hotfix/4.0.1' into develop
* hotfix/4.0.1:
  Remove unused imports
  Add test for checkClasses bean
  Update CHANGELOG
  Add set-version.sh
  Remove use of @PostContruct
  Update README tile version
  Lombok should be provided
  Test should be using interface
  Upgrade kemitix-maven-tiles to 0.3.0
  Add javax.annotation-api for jdk 9 compatibility
  Upgrade lombok to 1.16.20
  version set to 4.0.1
  Add sourceDirectories to avoid scanning generated sources
2018-01-25 07:22:12 +00:00
ede3db53bf Remove unused imports 2018-01-25 06:59:09 +00:00
fd63f94a27 Add test for checkClasses bean 2018-01-25 06:55:18 +00:00
d3f86fc318 Remove use of @PostContruct 2018-01-24 21:55:52 +00:00
5e62e74593 Lombok should be provided 2018-01-24 21:55:14 +00:00
3c83b78cea Test should be using interface 2018-01-24 21:47:17 +00:00
9983997391 Upgrade kemitix-maven-tiles to 0.3.0 2018-01-24 07:06:56 +00:00
1529472940 Add javax.annotation-api for jdk 9 compatibility 2018-01-24 07:04:45 +00:00
c5d6af4ffa Upgrade lombok to 1.16.20 2018-01-24 07:04:15 +00:00
62c81bd0b3 version set to 4.0.1 2018-01-20 22:27:25 +00:00
fb354b9902 Merge branch 'hotfix/4.0.0' into develop
* hotfix/4.0.0:
  tile use tiles
  ruleset uses UTF-8 encoding
  Regressions use own checkstyle config
  Upgrade maven-checkstyle-plugin to 3.0.0
  Update checkstyle groupId/artifactId/version in support modules
  Update travis-support
  Prevent installation of support modules
  Run builder during package phase
  Add local checkstyle plugin config for builder
  Change ruleset groupId/artifactId to net.kemitix.checkstyle.ruleset
  Simplify groupId and artifactId under net.kemitix.checkstyle
  Restore Header and JavadocPackage checks
  [bug] update the ruleset files and add missing reasons for deactivated rules
  Version set to 3.4.1
2018-01-17 20:11:12 +00:00
c4b79a9831 version set to 4.1.0-SNAPSHOT 2018-01-17 20:07:09 +00:00
f9a5684ec5 Prevent installation of support modules 2018-01-17 20:05:53 +00:00
9a2297fe6d Run builder during package phase
This should help to avoid forgetting to update the ruleset and readme in future.
2018-01-17 20:05:53 +00:00
cd4afa6034 Add local checkstyle plugin config for builder
Builder can't access the current version of the tile during build, so it needs
its own checkstyle config declaration.
2018-01-17 20:05:53 +00:00
68c4ca055a Change ruleset groupId/artifactId to net.kemitix.checkstyle.ruleset
Add tile maven-tile
Update README
2018-01-17 20:05:53 +00:00
8573a0374a Simplify groupId and artifactId under net.kemitix.checkstyle 2018-01-17 20:04:02 +00:00
64f1308004 Restore Header and JavadocPackage checks 2018-01-17 20:00:26 +00:00
091e4f139e [bug] update the ruleset files and add missing reasons for deactivated rules 2018-01-17 20:00:26 +00:00
7ae51727a2 Upgrade maven-checkstyle-plugin to 3.0.0 2018-01-17 19:10:55 +00:00
14a038c9f3 Update checkstyle groupId/artifactId/version in support modules 2018-01-17 18:41:42 +00:00
09f1f3eb5f Prevent installation of support modules 2018-01-16 22:36:27 +00:00
06b14df6cd Run builder during package phase
This should help to avoid forgetting to update the ruleset and readme in future.
2018-01-16 22:28:07 +00:00
bbeae5b56c Add local checkstyle plugin config for builder
Builder can't access the current version of the tile during build, so it needs
its own checkstyle config declaration.
2018-01-16 22:24:23 +00:00
faae9e9afa Change ruleset groupId/artifactId to net.kemitix.checkstyle.ruleset
Add tile maven-tile
Update README
2018-01-16 22:23:33 +00:00
1770e5aff1 Simplify groupId and artifactId under net.kemitix.checkstyle 2018-01-16 17:38:36 +00:00
5b5c0673a0 Restore Header and JavadocPackage checks 2018-01-14 19:13:34 +00:00
54fa8f0be4 [bug] update the ruleset files and add missing reasons for deactivated rules 2018-01-14 19:13:13 +00:00
5a8cf1b884 Version set to 3.4.1 2018-01-14 18:46:51 +00:00
a9d458355f Version set to 3.5.0-SNAPSHOT 2018-01-07 20:20:42 +00:00
0a03122f80 Upgrade kemitix-maven-tiles to 0.2.0 2018-01-07 20:06:08 +00:00
56d36da8c9 version set to 3.4.0 2018-01-07 20:01:54 +00:00
e8452d8c19 Make modules independant of root pom
* Revert kemitix-maven-tiles to 0.1.1 until release
* Move pom details from root to ruleset pom
2018-01-07 19:29:36 +00:00
309ace6c76 Specify lombok version in parent pom 2018-01-06 19:45:18 +00:00
c8c6b1ae57 Disable JavadocPackage check 2018-01-06 08:21:58 +00:00
84013ee1ae Disable AvoidStaticImport check 2018-01-06 08:18:39 +00:00
e18668dea7 Disable AvoidStarImport check 2018-01-06 08:18:23 +00:00
f20517a8e7 Disable Header check 2018-01-06 08:18:05 +00:00
fa9cc33a4d Remove requirement for @auther in Type Javadoc 2018-01-06 08:17:38 +00:00
87358bfe92 Update builder tests 2018-01-05 22:22:18 +00:00
372b8e0f3c Use tiles in builder 2018-01-03 20:35:06 +00:00
020635841a Remove kemitix-parent from pom ancestry 2018-01-03 20:27:21 +00:00
4328e49c7f version: set to 3.4.0-SNAPSHOT 2017-07-13 15:55:00 +01:00
ac7c15694b version: set to 3.3.0 2017-07-13 15:50:06 +01:00
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