Andreas Dangel
090975a972
[doc] Fix file handle leak in SidebarGenerator
2018-01-17 20:19:33 +01:00
Andreas Dangel
1ef5367498
[doc] Fix build/unit tests under windows
...
* expect line names with windows path normalized to unix paths
* normalize line endings
* File.separator might be a backslash and needs to be escaped in regex
2018-01-17 19:41:45 +01:00
Andreas Dangel
0ce2939c6b
Change version to 6.0.1-SNAPSHOT
2017-12-23 09:54:03 +01: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
3132080b83
[doc] Fix how moved and deprecated rules are linked
...
Text should be the old name, the link should point to the new name/rule
2017-11-24 09:28:05 +01:00
Andreas Dangel
6b5e8ce344
[doc] List the rules of the additional rulesets
2017-11-10 20:18:23 +01:00
Andreas Dangel
490fe312f2
[doc] Move the additional rulesets to the bottom
2017-11-10 17:59:04 +01:00
Andreas Dangel
26ba531c85
[doc] Add sidebar entries for rule categories
2017-11-10 17:49:16 +01:00
Andreas Dangel
9a9fb0b12f
[doc] Scan for additional rulesets and list them per language
2017-11-10 14:23:22 +01:00
Andreas Dangel
06a1244e15
[doc] Add unit test for all rulesets and fix existing rulesets
2017-11-10 14:03:05 +01:00
Andreas Dangel
1c9c750a0a
[doc] Strip leading whitespace indentation from rule description
2017-11-10 11:44:35 +01:00
Andreas Dangel
490bf99a01
[doc] Mark deprecated properties
2017-11-10 10:35:55 +01:00
Andreas Dangel
19c48cbcee
[doc] Fix unit test
2017-11-03 12:13:45 +01:00
Andreas Dangel
cc5ff0a018
[doc] Adjust rule doc generator to use "category"
2017-10-30 21:19:49 +01:00
Andreas Dangel
6a6ef9e18e
[doc] fix doc generator tests which depended on a ruleset from java
2017-10-29 21:28:40 +01:00
Andreas Dangel
577ef1ff71
Declaring used dependencies explicitly
...
as determined by dependency:analyze
2017-09-24 10:39:49 +02:00
Andreas Dangel
ade0d7d029
Update compiler plugin, use "release" option, adjust java.version properties
...
No need for the toolchain plugin anymore
2017-09-23 19:24:17 +02:00
Clément Fournier
0349ad74c1
Forgot stuff in n.s.pmd
2017-09-14 15:28:40 +02:00
Andreas Dangel
7120369c12
[doc] document for each rule a sample how to reference it
2017-09-05 17:37:31 +02:00
Andreas Dangel
23d947b4bf
[doc] Add syntax highlighting for code examples
2017-08-15 14:31:03 +02:00
Andreas Dangel
f918249eda
[doc] Fix unit test after ruleset.xml changes
2017-08-15 14:31:03 +02:00
Andreas Dangel
3972be80cc
[doc] Render rule names as keywords, so that the rules can be searched
2017-08-15 14:31:03 +02:00
Andreas Dangel
ca9004b9f7
[doc] add test for simple markdown formatting in rule description
2017-08-12 12:02:03 +02:00
Andreas Dangel
a4416a78e2
[doc] add minimum language version, add property for tests
2017-08-12 11:55:40 +02:00
Andreas Dangel
2bff86d0f7
[doc] Output XPath expression and link to rule class implementation
2017-08-12 11:22:54 +02:00
Andreas Dangel
9111316c01
[doc] Support renamed/moved rules
2017-08-11 21:37:24 +02:00
Andreas Dangel
171ebad444
[doc] Add deprecation label for deprecated rules
2017-08-11 20:28:06 +02:00
Andreas Dangel
d6c23fd17f
[doc] Add unit test for rule doc generator
...
Therefore the file writer has been mocked. The rulesets to be
documented are now given, rather than determined by the generator.
2017-08-11 11:40:38 +02:00
Andreas Dangel
0b9b7e2a5d
Fix checkstyle
2017-08-10 19:41:00 +02:00
Andreas Dangel
5113af6568
Fix build
2017-08-10 19:27:33 +02:00
Andreas Dangel
d537b2acbe
[doc] move RuleDocGenerator into pmd-doc
...
It'll be executed during package phase.
2017-08-10 19:18:35 +02:00
Andreas Dangel
8bdb0a5d22
[doc] add pmd-doc submodule
2017-08-10 19:00:10 +02:00