Commit graph

161 commits

Author SHA1 Message Date
50af2c98b1 Add AvoidNoArgumentSuperConstructorCall
commit-id:b377e4bb
2022-10-12 07:45:13 +01:00
b718196f79 Add AvoidDoubleBraceInitialization
commit-id:c25380aa
2022-10-12 07:42:29 +01:00
767937448f Add UnnecessarySemicolonAfterOuterTypeDeclaration
commit-id:e9b3967d
2022-10-12 07:39:49 +01:00
82868e9632 Add JavadocMissingWhitespaceAfterAsterisk
commit-id:2bb16049
2022-10-12 07:37:07 +01:00
1deee25d96 Add NoCodeInFile
commit-id:7b3b76fd
2022-10-12 07:34:20 +01:00
fd818f9dc6 Add LambdaBodyLength
commit-id:01a58e06
2022-10-12 07:31:28 +01:00
035b45b06c Add JavadocMissingLeadingAsterisk
commit-id:ec9e08c0
2022-10-12 07:28:38 +01:00
e34168f6bb Add NoWhitespaceBeforeCaseDefaultColon
commit-id:3265f01a
2022-10-12 06:45:41 +01:00
dependabot[bot]
b0663c2164
Bump version-tracker from 3.1.0 to 3.1.1 (#425)
* Bump version-tracker from 3.1.0 to 3.1.1

Bumps version-tracker from 3.1.0 to 3.1.1.

---
updated-dependencies:
- dependency-name: net.kemitix.tiles:version-tracker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fixes for spotbugs

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Campbell <pcampbell@kemitix.net>
2021-08-08 07:30:26 +01:00
c2e3234dd4
Update mockito usage (#422)
* test build against jdk 17

* Stop using deprecated initMock method
2021-07-04 15:39:35 +01:00
7b1d8e7368
Migrate to Junit 5 syntax (#421) 2021-07-02 07:39:33 +01:00
73b3248542
Updated ClassGraphPackageScanner usage (#420) 2021-07-02 07:33:39 +01:00
dependabot[bot]
3b7ccf0642
Bump checkstyle from 8.43 to 8.44 (#413)
* Bump checkstyle from 8.43 to 8.44

Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.43 to 8.44.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.43...checkstyle-8.44)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* github: remove unused graphviz

* github: prepare setup-java for v2 syntax

* github: Add dependabot settings

* ClassGraphPackageScanner: fix up order of javadoc annotations

* Update build-maven.yml

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paul Campbell <pcampbell@kemitix.net>
2021-06-30 08:51:44 +01:00
dependabot-preview[bot]
426e3b25fe
Bump spring-boot.version from 2.3.5.RELEASE to 2.4.3 (#378)
* Bump spring-boot.version from 2.3.5.RELEASE to 2.4.3

Bumps `spring-boot.version` from 2.3.5.RELEASE to 2.4.3.

Updates `spring-boot-dependencies` from 2.3.5.RELEASE to 2.4.3
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.3.5.RELEASE...v2.4.3)

Updates `spring-boot-maven-plugin` from 2.3.5.RELEASE to 2.4.3
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.3.5.RELEASE...v2.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Version set to 5.5.0

* Bump kemitix-maven-tiles from 2.7.0 to 3.0.1

* Various PMD, checkstyle and FindBugs fixes

* buildeR: disable coverage checks

* readme: updated

* Remove disable rule

* Add reason for disabled rule

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Paul Campbell <pcampbell@kemitix.net>
2021-03-13 17:34:51 +00:00
fbf54dc13a
rule: disable InterfaceMemberImpliedModifier (#381) 2021-03-13 16:11:09 +00:00
3758d4481e
Release 5.4.1 (#358)
* README: update badges and example

* Version set to 5.4.1
2020-11-30 20:39:15 +00:00
ad0fc315f1
Use file-reader-writer (#290)
* Use file-reader-writer

* Update changelog
2020-03-29 12:19:00 +01:00
218eb4d686
Upgrade spring and lombok (#285)
* Bump lombok from 1.18.10 to 1.18.12

Bumps [lombok](https://github.com/rzwitserloot/lombok) from 1.18.10 to 1.18.12.
- [Release notes](https://github.com/rzwitserloot/lombok/releases)
- [Changelog](https://github.com/rzwitserloot/lombok/blob/master/doc/changelog.markdown)
- [Commits](https://github.com/rzwitserloot/lombok/compare/v1.18.10...v1.18.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump spring-boot.version from 2.1.9.RELEASE to 2.2.5.RELEASE

Bumps `spring-boot.version` from 2.1.9.RELEASE to 2.2.5.RELEASE.

Updates `spring-boot-dependencies` from 2.1.9.RELEASE to 2.2.5.RELEASE
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.1.9.RELEASE...v2.2.5.RELEASE)

Updates `spring-boot-maven-plugin` from 2.1.9.RELEASE to 2.2.5.RELEASE
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v2.1.9.RELEASE...v2.2.5.RELEASE)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Configuration Properties no longer appears to work with File or Path

The base path also appears to have changed when running builder to be within the builder project.

* [changelog] updated

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 17:55:17 +00:00
a1e6202d97
Disable sevntu (#284)
* Add details from 5.3.6

* Add dependencies for 5.4.0 so-far

* Update CI to use install target

Using package was missing some lifecycle steps.

* Rollback checkstyle to 8.20 - to fix build

* Convert RuleSource from enum to configuration file

* Split out sevntu plugin version - has own lifecycle

* Upgrade sevntu from 1.35.0 to 1.37.1

* Tweak to use java version where ide can see it

* Upgrade checkstyle back to 8.29 and disable sevntu rules

The sevntu rules are incompatible with checkstyle 8.21+
2020-03-18 12:32:30 +00:00
dependabot[bot]
c744916e8c Bump checkstyle from 8.18 to 8.19 (#188)
* Bump checkstyle from 8.18 to 8.19

Bumps [checkstyle](https://github.com/checkstyle/checkstyle) from 8.18 to 8.19.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-8.18...checkstyle-8.19)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Remove license header in source files

The Header rule was removed in a previous version of
kemitix-checkstyle-ruleset and the formatting is not longer compatible
with the JavadocParagraph rule.
2019-04-04 14:33:42 +01:00
6ab6b8ae17
Removed dependency upon net.kemitix:conditional to avoid circular dependency (#174) 2019-03-04 19:31:39 +00:00
90e3f8cd70
Improve use of properties in tile (#164)
* [tile] improve use of properties

* [tile] rename property to match project name

* [readme] remove codacy and sonar badges properly

* [changelog] updated
2019-02-02 19:12:33 +00:00
df4cf31c04
Disable AbstractClassName (#144)
* Disable AbstractClassNanme rule

* [changelog] convert to org-mode format
2018-11-11 16:22:14 +00:00
8f5a12d7af
Reduce some overly-strict requirements and fix some typos (#141)
* Disable JavadocMethod

* Disable Header

* Fix example for ReturnBooleanFromTernary check

* Disable SimeplAccessorNameNotation

* Fix typo in UselessSingleCatch

* Fix typo in UselessSuperCtorCall
2018-11-06 20:40:44 +00:00
dependabot[bot]
2732c2ca47 Bump classgraph from 4.2.9 to 4.2.12 (#133)
* Bump classgraph from 4.2.9 to 4.2.12

Bumps [classgraph](https://github.com/classgraph/classgraph) from 4.2.9 to 4.2.12.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](https://github.com/classgraph/classgraph/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>

* Use try-with-resources to close ClassGraph's ScanResult

ClassGraph 4.2.10 highlighted the need to close the ScanResult over depending on
automated methods.

* [changelog] updated
2018-10-11 07:32:54 +01:00
85332abf47 Make set-version update versions correctly 2018-10-07 18:13:09 +01:00
a38d06c2c0 Rename class DefaultPackageScanner as ClassGraphPackageScanner
The DefaultPackageScanner is implemented by using ClassGraph, so renaming the
class to better reflect this.

Also added a link to the ClassGraph github page.
2018-10-05 07:50:47 +01:00
8d7c4e2268 Replace RedundantModifier with InterfaceMemberImpliedModifier 2018-08-27 21:31:59 +01:00
d5f4a736a7 Move LambdaParameterName to correct section of file 2018-08-27 20:17:41 +01:00
9bb66eb993 [ruleset] Add rule LambdaParameterName 2018-08-27 13:46:21 +01:00
f53b638441 Replace fast-classpath-scanner with classgraph 2018-08-26 19:25:36 +00:00
e8d19fd52a Update test to match property indentation change 2018-08-26 18:24:19 +01:00
072400bd18 Update bagde images properly 2018-08-26 18:07:34 +01:00
ee7eb75ffb ruleset: fix order of properties and adjust indentation 2018-08-26 15:49:02 +01:00
f5665a0733 Update badges in README template 2018-08-26 15:32:33 +01:00
71ac9e5c6a README: update version badges to the correct gav coordinates 2018-07-28 22:21:19 +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
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
058df393d0 Remove regressions module - not adding anything valuable 2018-05-14 20:30:13 +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
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