404 Commits

Author SHA1 Message Date
Andreas Dangel
d8d3aa0af7 [scala] Introduce parent pom pmd-scala-common 2020-06-07 12:24:54 +02:00
Andreas Dangel
abc230c637 [scala] Refactor project structure
* Avoid using symlinks, this is very difficult to get working
  under Windows
* Provide names for the different scala modules
* Rename pmd-scala to pmd-scala-common
* Restore main module pmd-scala for backwards compatibility
2020-06-07 11:52:10 +02:00
João Ferreira
f4880f9318 refactor scala modules configuration 2020-05-31 11:59:44 +01:00
João Ferreira
9c632dcd83 Cross compile pmd-scala module 2020-05-27 15:40:53 +01:00
Andreas Dangel
ab04bdacdd [maven-release-plugin] prepare for next development iteration 2020-05-24 17:34:34 +02:00
Andreas Dangel
229cb2bdca [maven-release-plugin] prepare release pmd_releases/6.24.0 2020-05-24 17:34:25 +02:00
Andreas Dangel
ff33cf0081 Update pmd-designer to 6.24.0 2020-05-23 17:45:48 +02:00
Andreas Dangel
6049126228 Merge branch 'pr-2465'
[dependencies] Upgrade hamcrest, mockito and JUnit #2465
2020-05-22 11:46:04 +02:00
Andreas Dangel
11f413e6ee Add missing dependency junit or scope test 2020-05-22 11:37:22 +02:00
Andreas Dangel
5f3ff0aed8 Remove hamcrest dependency, where it is not needed directly.
Use scope compile for hamcrest in pmd-lang-test
2020-05-22 11:36:49 +02:00
Andreas Dangel
cb910d69c7 Merge branch 'pr-2444'
[core] Support reproducible builds #2444
2020-05-22 11:03:05 +02:00
Juan Martín Sotuyo Dodero
900768ace5 Require Java 11 2020-05-14 12:28:25 -03:00
Artem Krosheninnikov
5053b7beb4 review fixes: exclude hamcrest-library, hamcrest-core from junit, rm assertj-core from root pom, move mockito, wiremock and system-rules to test scope 2020-05-11 15:25:07 +03:00
Artem Krosheninnikov
3fba3f6217 Update hamcrest to 2.2, Junit to 4.13, mockito to 2.28.2 2020-05-04 23:00:28 +03:00
Artem Krosheninnikov
3a72f3c4fa update maven-compiler-plugin to 3.8.1 and remove workaround for a bug in IDEA that was closed 2020-04-26 14:27:37 +03:00
Andreas Dangel
556596cd48 Use pmd-designer 6.24.0-SNAPSHOT 2020-04-25 10:56:38 +02:00
Andreas Dangel
6249b4e2f2 Support reproducible builds
See https://reproducible-builds.org/ and
https://maven.apache.org/guides/mini/guide-reproducible-builds.html

The property "project.build.outputTimestamp" is supposed to be updated
automatically by maven-release-plugin when updating the version
(goal prepare).
2020-04-25 10:37:54 +02:00
Andreas Dangel
a82ceb5c4b Update PMD to 6.23.0 2020-04-24 12:49:04 +02:00
Andreas Dangel
4308c545e5 [maven-release-plugin] prepare for next development iteration 2020-04-24 10:53:12 +02:00
Andreas Dangel
921c65f5ab [maven-release-plugin] prepare release pmd_releases/6.23.0 2020-04-24 10:53:00 +02:00
Andreas Dangel
61321c88f1 javadoc: add pmd-lang-test 2020-04-14 16:02:49 +02:00
Andreas Dangel
ae958fba7b javadoc: exclude *.internal packages 2020-04-14 16:02:49 +02:00
Andreas Dangel
93ededa5c4 javadoc: add offline links between the modules and pmd-core and pmd-test 2020-04-14 16:02:49 +02:00
Andreas Dangel
545218a0c6 javadoc: Upgrade javadoc plugin 2020-04-14 16:02:45 +02:00
Clément Fournier
bb92044a15 Add ability to test an AST dump as cheap regression test 2020-03-28 17:46:32 +01:00
Andreas Dangel
4c1fa78192 Update pmd to 6.22.0 2020-03-12 18:50:55 +01:00
Andreas Dangel
4c020bfbf7 [maven-release-plugin] prepare for next development iteration 2020-03-12 15:15:18 +01:00
Andreas Dangel
eb93aaeca7 [maven-release-plugin] prepare release pmd_releases/6.22.0 2020-03-12 15:15:09 +01:00
Andreas Dangel
abf0e18c2d [ci] Use pmd.build-tools.version 6 2020-03-12 12:06:41 +01:00
Andreas Dangel
b29f01be5e [ci] be more explicit about the used maven repositories 2020-03-12 12:06:03 +01:00
Piotrek Żygieło
467e3a9343 Disable checking for snapshots in jcenter 2020-03-08 09:30:23 +01:00
Andreas Dangel
d55fe56de9 Update m-checkstyle-p to 3.1.1 2020-03-07 09:23:51 +01:00
Andreas Dangel
68872bec24 Update checkstyle to 8.30 2020-03-06 11:21:29 +01:00
Andreas Dangel
d0ae960906 Introduce properties checkstyle.version / checkstyle.plugin.version
refs checkstyle/checkstyle#7534
2020-03-06 11:19:47 +01:00
Andreas Dangel
01db024df7 Update asm to 7.3.1
This add support for java 14 and java 15
2020-02-27 21:29:21 +01:00
Andreas Dangel
a2de7b4997 Update maven-pmd-plugin to 3.13.0 2020-02-04 20:28:43 +01:00
Andreas Dangel
470358ec88 Update checkstyle to 8.29
See https://github.com/checkstyle/checkstyle/security/advisories/GHSA-763g-fqq7-48wg

Note: this also requires a new pmd-build-tools with
an updated checkstyle configuration
2020-02-04 20:28:10 +01:00
Andreas Dangel
e678a4567d Update pmd to 6.21.0 2020-01-26 19:40:37 +01:00
Clément Fournier
58fa793e67 Fix indentation in poms
For some reason pmd-apex and pmd-apex-jorje
use 2 spaces while the rest use 4.
2020-01-24 23:17:26 +01:00
Clément Fournier
18f124f6e5 Bump designer version to 6.21.0 2020-01-24 19:35:56 +01:00
Andreas Dangel
d994700617 [maven-release-plugin] prepare for next development iteration 2020-01-24 17:20:47 +01:00
Andreas Dangel
a28e9e22e5 [maven-release-plugin] prepare release pmd_releases/6.21.0 2020-01-24 17:20:38 +01:00
Anatoly Trosinenko
20bf4ad759 [modelica] Initial implementation of Modelica support for PMD 2019-12-16 19:26:32 +03:00
Andreas Dangel
00392cefc2 [maven-release-plugin] prepare for next development iteration 2019-11-29 19:46:14 +01:00
Andreas Dangel
78da370fb8 [maven-release-plugin] prepare release pmd_releases/6.20.0 2019-11-29 19:46:05 +01:00
Andreas Dangel
d02bccbcad Update dokka version to 0.10.0 2019-11-18 19:54:08 +01:00
Andreas Dangel
e0e2010f6f javadoc: disable automatic detection of offline links for modules
This tries to determine the links to the other reactor projects,
e.g. from pmd-java to pmd-core via the url from project.url.
Project.url is currently https://pmd.github.io and the constructed
url will be https://pmd.github.io/apidocs which doesn't exist.
This means, the generated links to classes e.g. from core don't work
anyway.

Disabling this feature avoids error messages like
[ERROR] Error fetching link: /home/travis/build/pmd/pmd/pmd-apex-jorje/target/apidocs. Ignored it.
E.g. pmd-apex-jorje does not have own javadoc at all, since it is
just a library.

The linking between the different pmd modules needs to be revisited
with #1769.
2019-11-16 22:56:14 +01:00
Andreas Dangel
20bcda9f73 Upgrade maven-javadoc-plugin to 3.1.1
This fixes errors like

"[ERROR] Error fetching link: /home/travis/build/pmd/pmd/pmd-core/target/apidocs/package-list. Ignored it."

during the builds.
2019-11-16 21:41:12 +01:00
Andreas Dangel
34b54f228f Upgrade jacoco and sonar-maven-plugin 2019-11-07 21:28:15 +01:00
Andreas Dangel
270839c3a2 [ci] Configure property sonar.organization
The "sonar.organization" property is not yet, but
will become mandatory.
Take the opportunity and change it to the new organisation "pmd"
now: https://sonarcloud.io/organizations/pmd
2019-11-07 20:26:47 +01:00