Commit graph

30 commits

Author SHA1 Message Date
90e3652e6e {builder,plugin}:*Test: replace deprecated org.mockito.Matchers.* imports 2017-07-13 14:19:39 +01:00
a9ad65e9e6 pom.xml: use kemitix-parent 3.0.0 as parent pom
Updates to conform with checkstyle requirements this imposes.
2017-06-09 19:43:38 +01:00
0e0d2cc3c9 plugin: CheckMojo: provide name for parameter 'level' 2017-06-09 19:15:10 +01:00
4cca4286a1 KXR36: plugin: DefaultCheckstyleExecutorTest: artifactFile: make local variable 2017-05-29 13:31:56 +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
c14c9ea8ca KCR22: builder: sort rules alphabetically 2017-05-27 14:04:19 +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
84269c1dd6 plugin: AbstractCheckMojo: minor tidy-up 2017-05-26 22:31:23 +01:00
a67a64e851 plugin: CheckConfiguration: simple builder toString coverage test 2017-05-26 22:26:43 +01:00
981893d1a1 plugin: DefaultPluginExecutorTest: added 2017-05-26 18:19:36 +01:00
e3e38f90eb plugin: DefaultCheckstyleExecutorTest: added 2017-05-26 17:14:25 +01:00
c9258fcdc5 plugin: AbstractCheckMojoTest: added 2017-05-26 17:14:13 +01:00
92e9a289fa plugin: extract CheckConfiguration and variour other refactorings 2017-05-26 17:08:44 +01:00
337524ed97 plugin: CheckstyleExecutor: extracted from AbstractCheckMojo 2017-05-26 12:14:09 +01:00
e46f8d5d1f plugin: AbstractCheckMojo: replace abstract execute() with getLevel()
Child classes don't need to implement the execute() method now, but a
getLevel() method instead.
2017-05-26 12:03:03 +01:00
abe7251453 plugin: AbstractCheckMojo: use PluginExecutor 2017-05-26 09:16:09 +01:00
1d0d24c1d3 plugin: PluginExecutor: add wrapper for static methods on MojoExecutor 2017-05-26 09:06:31 +01:00
c5dfdc7c1c plugin: AbstractCheckMojo: Only apply checks to code in source directory
Prevents attempt to apply checks to generated code.
2017-02-26 17:39:57 +00:00
93ac9f74df plugin: pom.xml: add dependency upon parent pom (for version properties)
Moved version properties to parent pom (i.e. a pom that isn't itself)
2017-02-26 17:38:13 +00:00
a74f097844 AbstractCheckMojo: use version of plugin not the using project
${project.version} resolves to the version of the project using the plugin, rather than the version of the plugin that is being used.
2017-02-09 12:02:04 +00:00
cf22d09a60 plugin:AbstractCheckMojo: load the version from the plugin's pom file 2017-02-08 19:57:35 +00:00
ca01a08e81 plugin:AbstractCheckMojo: load dependency versions from plugin pom.xml 2017-02-08 10:56:55 +00:00
e951d2c99b plugin:AbstractCheckMojo: include ruleset version on log line 2017-02-08 09:55:29 +00:00
87f74dec16 plugin:AbstractCheckMojo: use ruleset version from pom.xml 2017-02-08 09:49:28 +00:00
d54ae55f0a plugin:AbstractCheckMojo: upgrade checkstyle to 7.5.1
http://checkstyle.sourceforge.net/releasenotes.html#Release_7.5.1

Bug fixes:

* PackageObjectFactory hides real exception. Author: rnveach #3778
* RightCurly: handling of try-with-resources on several lines with CS 7.5. Author: rnveach, Roman Ivanov #3776

Notes:

* Add the Hibernate Search project to the Checkstyle CI. Author: Roman Ivanov #3790
2017-02-08 09:49:01 +00:00
f01098170b plugin:AbstractCheckMojo: upgrade checkstyle to 7.4 2017-01-15 14:25:04 +00:00
7e2a0790ff pom.xml: version set to 2.1.0-SNAPSHOT 2017-01-14 17:53:26 +00:00
c5d0bda1ca pom.xml: version set to 2.0.0 2017-01-14 17:47:14 +00:00
67557955cc plugin: provide goals for each ruleset level 2017-01-14 17:04:18 +00:00
dc639da079 plugin: added 2017-01-13 22:53:01 +00:00