Commit graph

575 commits

Author SHA1 Message Date
2f2ea3afeb Merge pull request #41 from kemitix/kcr-29-builder-rule-explicit-scope
KCR29: builder: Rule: sortByName(): use explicit scoping
2017-05-29 12:09:18 +01:00
7229c11b30 KCR29: travis-ci: detect Travis-CI 2017-05-29 12:04:43 +01:00
dd17826a60 KCR29: travis-ci: dump $TRAVIS and other env
Trying to detect when running in Travis CI and not Shippable so only
Travis-CI submits to coveralls.
2017-05-29 11:51:29 +01:00
4a4da15d4f KCR29: travis-ci: should only submit coverage report from Travis-CI 2017-05-29 11:45:55 +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
da5461555e pom.xml: upgrade checkstyle to 7.8 2017-05-29 09:34:18 +01:00
e634dba450 regressions: ExplicitInitialization: added
Regression added in preparation for checkstyle adding an option in
7.8.x to allow primatives to be initialised to their default values.
2017-05-29 09:19:13 +01:00
17d82f5885 sample-parent: set level to 5-complexity
plugin-sample: overrides level back down to 2-naming
2017-05-29 09:16:17 +01:00
5876d723e3 Merge pull request #26 from kemitix/upgrade-dependencies
Upgrade dependencies
2017-05-28 20:10:07 +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
403d4b6504 pom.xml: upgrade checkstyle to 7.7 2017-05-28 18:18:05 +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
adfece4b6e travis--ci: update key to match passphrase 2017-05-28 17:56:17 +01:00
1dbc182352 travis--ci: batch import signing key 2017-05-28 17:38:59 +01:00
883aa4342e travis-ci: replace signing key to match passphrase 2017-05-28 17:25:20 +01:00
137e6a160d .travis.yml: CI_DEPLOY_GPG_PASSPHRASE (4/4) 2017-05-28 17:16:39 +01:00
6403bdebca .travis.yml: CI_DEPLOY_GPG_KEYNAME (3/4) 2017-05-28 17:16:07 +01:00
9a3e3cc9eb .travis.yml: CI_DEPLOY_PASSWORD (2/4) 2017-05-28 17:10:33 +01:00
1d31431b11 .travis.yml: replace encrypted data (1/4) 2017-05-28 17:09:39 +01:00
c8578b4659 travis-ci: update location of travis-settings.xml 2017-05-28 16:29:56 +01:00
3a9670ad85 travis-ci: use a shell-safe password 2017-05-28 16:26:12 +01:00
44c7c0bcb3 travis-ci: make shell scripts executable (again) 2017-05-28 15:06:37 +01:00
4f348f520f travis-ci: remove comments
Travis parser chokes on comments.
2017-05-28 14:58:41 +01:00
2706045dfb travis-ci: updated and add encrypted gpg credentials 2017-05-28 14:54:23 +01:00
63a5f56471 Merge branch 'release/3.0.1' into develop
* release/3.0.1:
  version: set to 3.1.0-SNAPSHOT
  CHANGELOG
  version: set to 3.0.1
2017-05-27 20:48:51 +01:00
2300dc4b4d version: set to 3.1.0-SNAPSHOT 2017-05-27 20:47:50 +01:00
44248dbc46 Merge branch 'release/3.0.1'
* release/3.0.1:
  CHANGELOG
  version: set to 3.0.1
  version: set to 3.1.0-SNAPSHOT
  travis-*.sh: make shell scripts executable
  .travis.xml: don't encrypt username
  plugin: pom.xml: remove duplicate release profile
  travis: add support for deploying from Travis CI
  plugin: pom.xml: remove help mojo
  mvnw: add maven wrapper
2017-05-27 20:46:12 +01:00
bcaaa0c038 CHANGELOG 2017-05-27 20:45:54 +01:00
c4be689fcc version: set to 3.0.1 2017-05-27 20:45:11 +01:00
c482517327 Merge branch 'release/3.0.0' into develop 2017-05-27 20:37:06 +01:00
2584ed4bb3 version: set to 3.1.0-SNAPSHOT 2017-05-27 16:48:15 +01:00
f7a90cedfd Merge branch 'release/3.0.0'
* release/3.0.0:
  CHANGELOG
  pom.xml: version set to 3.0.0
  KCR22: builder: sort rules alphabetically
  version: set to 3.0.0-SNAPSHOT
  API Change: plugin: level is specified as a configuration parameter
  plugin: AbstractCheckMojo: minor tidy-up
  plugin: CheckConfiguration: simple builder toString coverage test
  plugin: DefaultPluginExecutorTest: added
  plugin: DefaultCheckstyleExecutorTest: added
  plugin: AbstractCheckMojoTest: added
  plugin: pom.xml: enable jacoco support
  plugin: extract CheckConfiguration and variour other refactorings
  plugin: add assertj and mockito test dependencies
  plugin: CheckstyleExecutor: extracted from AbstractCheckMojo
  plugin: AbstractCheckMojo: replace abstract execute() with getLevel()
  README.md,application.yml: fix typo
  plugin: AbstractCheckMojo: use PluginExecutor
  plugin: PluginExecutor: add wrapper for static methods on MojoExecutor
  {builder,plugin}: pom.xml: upgrades
  pom.xml: version set to 2.4.0-SNAPSHOT
2017-05-27 16:46:44 +01:00
d02dd4abbb CHANGELOG 2017-05-27 16:46:18 +01:00
5af558544e pom.xml: version set to 3.0.0 2017-05-27 16:45:22 +01:00
1c65b4a35a Merge pull request #25 from kemitix/travis-deploy
Travis deploy to nexus
2017-05-27 16:39:19 +01:00
53e6938a2d travis-*.sh: make shell scripts executable 2017-05-27 16:33:53 +01:00
30cd84ceaa .travis.xml: don't encrypt username 2017-05-27 16:28:35 +01:00
11904dad97 plugin: pom.xml: remove duplicate release profile
Already exists in parent pom.
2017-05-27 16:23:50 +01:00
f8da2c44a8 travis: add support for deploying from Travis CI 2017-05-27 16:16:46 +01:00
7d4e2394e0 plugin: pom.xml: remove help mojo 2017-05-27 15:52:22 +01:00
72d4022c17 mvnw: add maven wrapper 2017-05-27 15:39:21 +01:00
534b39eeb0 Merge pull request #24 from kemitix/alphabetical-rules
builder: sort rules alphabetically
2017-05-27 14:09:30 +01:00
c14c9ea8ca KCR22: builder: sort rules alphabetically 2017-05-27 14:04:19 +01:00
d6adfa74c4 Merge pull request #23 from kemitix/plugin-unit-tests
Plugin unit tests
2017-05-27 12:26:23 +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
84269c1dd6 plugin: AbstractCheckMojo: minor tidy-up 2017-05-26 22:31:23 +01:00