129 Commits

Author SHA1 Message Date
Andreas Dangel
4214a75fc4 [core] Add bean-like getter/setter for Rule 2017-11-24 20:13:20 +01:00
Juan Martín Sotuyo Dodero
20093c809a Rework ruleset loading
- ResourceLoader is now instantiable, and we can tell which classloader
to use to get resources
 - We will always use the execution classloader, or just add the paths
added by ant, but *never* the auxclasspath
 - The classpath added by Ant won't get into the auxclasspath either
2017-10-24 18:07:09 -03:00
Juan Martín Sotuyo Dodero
d192c5668b Merge branch 'pr-646' 2017-09-30 19:16:57 -03:00
Andreas Dangel
3f2610ea21 Merge branch 'pr-602' 2017-09-29 11:21:26 +02:00
Andreas Dangel
f7d67df442 Remove ruleset schema 3.0.0 2017-09-29 11:20:37 +02:00
Andreas Dangel
577ef1ff71 Declaring used dependencies explicitly
as determined by dependency:analyze
2017-09-24 10:39:49 +02:00
Clément Fournier
0349ad74c1 Forgot stuff in n.s.pmd 2017-09-14 15:28:40 +02:00
Clément Fournier
f02026995d Merge upstream 2017-09-14 14:37:00 +02:00
Clément Fournier
6a162c238c Moved properties to n.s.pmd.properties 2017-09-14 00:05:55 +02:00
Andreas Dangel
ef3d3a87c6 Fix schema and exception reporting
* relax order of test-code and code-fragment
* allow sourceType with language version
* define complexTypes
* relax requirements
2017-09-11 21:55:25 +02:00
Andreas Dangel
72b5ca8b4f Fix schema and parser after rename 2017-09-11 21:55:25 +02:00
Andreas Dangel
21388c3638 [doc] Mention schema in documentation 2017-09-11 21:55:25 +02:00
Andreas Dangel
116f218907 Add schema validation to rule tests 2017-09-11 21:55:18 +02:00
Andreas Dangel
4f371618d9 Add initial xml schema for rule tests 2017-09-09 11:11:35 +02:00
Andreas Dangel
b5eb2ef467 Fix checkstyle 2017-09-08 16:35:48 +02:00
Andreas Dangel
9498473c20 PMDTestRunner should not fail, if there are no unit tests 2017-09-08 16:35:48 +02:00
Andreas Dangel
276028d04e Simplify PMDTestRunner 2017-09-08 16:35:48 +02:00
Andreas Dangel
154616e9f5 Create a new JUnit test runner to execute rule tests
This runner now also supports Before, After, and (JUnit) Rules.
2017-09-08 16:35:48 +02:00
Clément Fournier
584041e1e7 Removed the metrics visitor 2017-08-27 23:32:17 +02:00
Andreas Dangel
b1b2683e92 [core] Use new schema version 3.0.0 2017-08-22 20:59:42 -03:00
Andreas Dangel
b49eb24579 Merge branch 'issue-463' of https://github.com/Monits/pmd into pr-515 2017-08-20 19:30:15 +02:00
Andreas Dangel
cfa4e15d54 [doc] [apex] Adjust externalInfoUrl properties to new site - Part 5
Note: I also took the chance to fix tab damage
2017-08-15 14:31:03 +02:00
Andreas Dangel
6e02494e5e [doc] [java] Adjust externalInfoUrl properties to new site - Part 1
Note: I also took the chance to fix tab damage
2017-08-15 14:31:03 +02:00
Andreas Dangel
3d9511a0e5 [doc] Remove old maven site 2017-08-15 14:31:03 +02:00
Matias Comercio
e5ddad3c3b Remove pushed .gitignored files
These files were already at the repository
but they should have been ignored
2017-07-27 18:31:20 -03:00
Juan Martín Sotuyo Dodero
0ab96a3da6 Remove deprecated APIs 2017-07-24 15:14:46 -03:00
Clément Fournier
824f87995d Merge branch 'master' into typesafe-properties 2017-07-11 16:05:17 +02:00
oowekyala
f19428660e Custom rule reinitialization code 2017-07-10 17:18:59 +02:00
oowekyala
b103d8f011 Specialised BasicPropertyDescriptorFactory 2017-06-28 17:48:11 +02:00
Andreas Dangel
7f1292b212 Update version to 6.0.0-SNAPSHOT 2017-06-24 22:29:36 +02:00
Andreas Dangel
f3b9231b69 [maven-release-plugin] prepare for next development iteration 2017-06-24 22:26:42 +02:00
Andreas Dangel
6dd0bc8bfd [maven-release-plugin] prepare release pmd_releases/5.8.0 2017-06-24 22:26:34 +02:00
Andreas Dangel
e1aa6cf6ec Fix unit test 2017-06-07 21:57:40 +02:00
oowekyala
ad51c61f33 Revert dumb move with gitignore 2017-05-26 15:27:48 +02:00
oowekyala
1dacfd1b96 Update untracked 2017-05-23 18:28:24 +02:00
oowekyala
2cb92a005e Adapted RuleTstTest 2017-05-22 19:49:45 +02:00
Andreas Dangel
1e64c0d864 [maven-release-plugin] prepare for next development iteration 2017-05-20 22:35:55 +02:00
Andreas Dangel
9b70c1a0d1 [maven-release-plugin] prepare release pmd_releases/5.7.0 2017-05-20 22:35:46 +02:00
Andreas Dangel
0d0134b4fd Change version to 5.7.0-SNAPSHOT 2017-04-29 20:27:03 +02:00
Andreas Dangel
7373b040c9 [maven-release-plugin] prepare for next development iteration 2017-04-29 20:20:16 +02:00
Andreas Dangel
65a18787e9 [maven-release-plugin] prepare release pmd_releases/5.6.1 2017-04-29 20:20:07 +02:00
Andreas Dangel
d4edeefa63 [maven-release-plugin] prepare for next development iteration 2017-04-22 13:20:12 +02:00
Andreas Dangel
38fb34dc17 [maven-release-plugin] prepare release pmd_releases/5.6.0 2017-04-22 13:20:03 +02:00
Andreas Dangel
23ed813954 Fix additional potential resource leaks
refs #337 refs #349
2017-04-14 12:34:06 +02:00
Ryan Gustafson
effe71ed54 https://github.com/pmd/pmd/issues/337
Modify ResourceLoader to close underlying JarFile if using
JarURLConnection to avoid open file leaks. Clarify on JavaDoc that
caller must close the returned InputStream.

Minor test usage cleanups.
2017-04-14 01:16:18 -05:00
Andreas Dangel
d92688a07d Introduce end-of-line normalization
References pmd/build-tools#2
2017-02-02 20:52:08 +01:00
Andreas Dangel
61792f792f Merge branch 'pr-190'
Closes #190 (rebased onto pmd/5.4.x)
2017-01-22 19:49:48 +01:00
Juan Martín Sotuyo Dodero
3caa71b94b Resolve #180 - refactor pmd processors
- SourceCodeProcessor now consistently calls rule sets start / end
    if cache is not up to date
 - Both Mono and MultiThread Processors rely on PmdRunnable, just using
    different execution strategies
 - This also fixes https://sourceforge.net/p/pmd/bugs/1511/
2017-01-22 19:19:21 +01:00
Andreas Dangel
30952ca876 [test] Javadoc doclint fixes
References #1516 [build] doclint error during build
2017-01-05 20:26:00 +01:00
Andreas Dangel
544d22f9b8 Merge branch 'checksum-aware' of https://github.com/Monits/pmd into pr-145 2016-12-23 18:21:50 +01:00