745 Commits

Author SHA1 Message Date
Clément Fournier
0578b36145 Cleanup AbstractNode 2018-01-25 14:15:57 +01:00
Clément Fournier
0316462916 Checkstyle 2018-01-25 03:13:22 +01:00
Clément Fournier
1bdca98f03 Flag deprecated impl to find it quickly 2018-01-25 03:10:04 +01:00
Clément Fournier
27ccd140ef Cleanup 2018-01-25 03:06:54 +01:00
Clément Fournier
6a3b332aee Abstract toString into AbstractNode, deprecate the implementation
Log that the default implementation will be removed
2018-01-25 03:02:44 +01:00
Clément Fournier
3c0bb45a60 Add getXPathNodeName to the Node interface
A default implementation is available in AbstractNode
to preserve compatibility with the previous way, which
used Object.toString.

Fixes #569
2018-01-24 19:22:36 +01:00
Andreas Dangel
8fbb156fd9 [maven-release-plugin] prepare for next development iteration 2018-01-21 16:42:50 +01:00
Andreas Dangel
0e460317e4 [maven-release-plugin] prepare release pmd_releases/6.0.1 2018-01-21 16:42:42 +01:00
Juan Martín Sotuyo Dodero
abc73bfc7b [core] Log all rules' movements to categories
- All rules will log where they where moved to, even if the ruleset is
referenced as a whole
 - All deprecation warnings now let's users know on which version
support will be removed.
2018-01-21 05:43:49 -03:00
Andreas Dangel
f4577f9e14 [core] Only issue a deprecation warning, if the referenced ruleset is not empty
and all rules have been deprecated.
Fixes #782
2017-12-28 17:17:11 +01:00
Andreas Dangel
0ce2939c6b Change version to 6.0.1-SNAPSHOT 2017-12-23 09:54:03 +01:00
Juan Martín Sotuyo Dodero
d5a7edf7ff Log links to the proper PMD version 2017-12-23 02:01:43 -03:00
Andreas Dangel
a975048655 [maven-release-plugin] prepare for next development iteration 2017-12-15 16:01:22 +01:00
Andreas Dangel
9b6fe90225 [maven-release-plugin] prepare release pmd_releases/6.0.0 2017-12-15 16:01:14 +01:00
Andreas Dangel
5eb3ecd5ad [core] Make sure, a language with empty version selects the default version 2017-12-15 12:02:04 +01:00
Andreas Dangel
998cad8595 [java] fix PMDCoverageTest ruleset 2017-12-15 11:13:35 +01:00
Andreas Dangel
02fadc1689 [core] Fix classloader closed issue when executing Ant task
Note: the problem (ClassNotFoundExceptions) only shows up with java8
- with java9 the classloader seems to be still usable, even after
we closed it...
2017-12-15 10:32:06 +01:00
Andreas Dangel
c8645440f2 Update release notes with new rules 2017-12-09 10:24:30 +01:00
Andreas Dangel
1bdb412c09 Merge branch 'pr-764' 2017-12-09 10:12:12 +01:00
Andreas Dangel
e84800b34c Update ruleset factory compatibility 2017-11-30 22:54:07 +01:00
Clément Fournier
36ba0e9581 Add a handle on the value parser of the property 2017-11-30 11:34:44 +01:00
Clément Fournier
53f6c39f65 Make the constants available from the string type id 2017-11-29 00:18:40 +01:00
Clément Fournier
b81158ecf0 Convert PropertyDescriptorUtil to an enum and enrich its interface
refs #763
2017-11-28 19:44:24 +01:00
Clément Fournier
539d541ffd Hide factories of MethodProperty, MethodMultiProperty, FileProperty from XPath rules
refs #762
2017-11-28 19:02:29 +01:00
Clément Fournier
abdb96238d Improve builders interface 2017-11-28 18:49:23 +01:00
Andreas Dangel
be29ba44e2 Merge branch 'pr-758' 2017-11-27 20:55:42 +01:00
Andreas Dangel
8eb5170b31 Merge branch 'pr-736' 2017-11-27 20:47:27 +01:00
Clément Fournier
4724ed4636 Expose the full mappings in property descriptor util 2017-11-25 16:15:42 +01:00
Andreas Dangel
08b018274c [core] Fix rule loading - only override the flags, if they are true
Avoid disabling type resolution
2017-11-24 20:45:13 +01:00
Andreas Dangel
4214a75fc4 [core] Add bean-like getter/setter for Rule 2017-11-24 20:13:20 +01:00
Andreas Dangel
2a1b7addb4 Revert "[core] add temporary support for maven debug output"
This reverts commit 61376f81121b678e7e49a785b6fab28553efa450.

With https://issues.apache.org/jira/browse/MPMD-246 this is not needed
anymore.
2017-11-24 18:11:12 +01:00
Andreas Dangel
c49ae6b769 Merge branch 'pr-742' 2017-11-24 11:51:18 +01:00
Andreas Dangel
31725ae241 Merge branch 'pr-747' 2017-11-23 21:25:36 +01:00
Andreas Dangel
72b5bda178 Deprecate the old bgastviewer implementation 2017-11-23 20:20:38 +01:00
Juan Martín Sotuyo Dodero
a95b2a6d85 Deprecate the old designer's classes 2017-11-23 00:39:43 -03:00
Juan Martín Sotuyo Dodero
cbef7a5602 Merge branch 'pr-731' 2017-11-22 18:03:49 -03:00
Andreas Dangel
204e64ea62 Merge branch 'pr-711' 2017-11-22 21:51:31 +01:00
Andreas Dangel
47a29fdb17 Add break and adjust logging 2017-11-22 21:31:13 +01:00
Andreas Dangel
16c3c161bc Merge remote-tracking branch 'origin/master' into api-ruleset-compatibility 2017-11-22 21:29:28 +01:00
Juan Martin Sotuyo Dodero
4e29faa3eb [java] Merge EmptyStaticInitializer into EmptyInitializer 2017-11-21 17:51:59 -03:00
Juan Martin Sotuyo Dodero
802e7a7df0 Fix checkstyle 2017-11-21 17:51:34 -03:00
Juan Martín Sotuyo Dodero
a9ce410845 Merge branch 'master' into api-ruleset-compatibility 2017-11-21 14:53:42 -03:00
Juan Martin Sotuyo Dodero
e79cc20da4 Merge branch 'pr-723' 2017-11-21 14:50:42 -03:00
Juan Martin Sotuyo Dodero
4f5b18dfba Simplifications 2017-11-21 14:48:06 -03:00
Clément Fournier
77048f16ea Fix another few things 2017-11-21 17:33:29 +01:00
Clément Fournier
60abf4994f Fix typo in incremental analysis log message 2017-11-21 17:14:21 +01:00
Clément Fournier
632ed17464 Corrections for PR #723 2017-11-21 11:28:25 +01:00
Juan Martin Sotuyo Dodero
6028e77e62 [core] Improve classloaders
- Avoid a race condition that could produce multiple threads loading
   the same class at the same time.
 - Fixed a broken check on PMDASMClassLoader that would always return
   false.
2017-11-21 00:16:20 -03:00
Juan Martin Sotuyo Dodero
d8fdbde68d Merge branch 'pr-727' 2017-11-20 17:29:41 -03:00
Juan Martin Sotuyo Dodero
3ffeeca518 Only allow null default values 2017-11-20 16:56:10 -03:00