Updated dependencies

This commit is contained in:
Erik C. Thauvin 2023-06-26 16:41:19 -07:00
parent 29a4fb243a
commit 662b6b1b63
7 changed files with 61 additions and 27 deletions

View file

@ -19,23 +19,25 @@ public class PmdOperationBuild extends Project {
public PmdOperationBuild() {
pkg = "rife.bld.extension";
name = "bld-pmd";
version = version(0, 9, 1);
version = version(0, 9, 2, "SNAPSHOT");
javaRelease = 17;
downloadSources = true;
autoDownloadPurge = true;
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
var pmd = version(7, 0, 0, "rc1");
var pmd = version(7, 0, 0, "rc2");
var rife2 = version(1,7,0);
scope(compile)
.include(dependency("com.uwyn.rife2", "rife2", version(1, 6, 1)))
.include(dependency("com.uwyn.rife2", "rife2", rife2))
.include(dependency("com.uwyn.rife2", "bld", rife2))
.include(dependency("net.sourceforge.pmd", "pmd-java", pmd));
scope(runtime)
.include(dependency("net.sourceforge.pmd", "pmd-java", pmd))
.include(dependency("org.slf4j", "slf4j-simple", version(2,0,7)));
scope(test)
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 2)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 9, 2)))
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 9, 3)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 9, 3)))
.include(dependency("org.assertj:assertj-joda-time:2.2.0"));
javadocOperation()

View file

@ -46,7 +46,22 @@ public class PmdOperation extends AbstractOperation<PmdOperation> {
public static final String RULE_SET_DEFAULT = "rulesets/java/quickstart.xml";
private static final Logger LOGGER = Logger.getLogger(PmdOperation.class.getName());
private static final String PMD_DIR = "pmd";
/**
* The input paths (source) list.
*/
final List<Path> inputPaths = new ArrayList<>();
/**
* The relative roots paths.
*/
final List<Path> relativizeRoots = new ArrayList<>();
/**
* The rule priority.
*/
final RulePriority rulePriority = RulePriority.LOW;
/**
* The rule sets list.
*/
final List<String> ruleSets = new ArrayList<>();
/**
* The cache location.
*/
@ -75,10 +90,6 @@ public class PmdOperation extends AbstractOperation<PmdOperation> {
* The incremental analysis toggle.
*/
boolean incrementalAnalysis = true;
/**
* The input paths (source) list.
*/
List<Path> inputPaths = new ArrayList<>();
/**
* The input URI.
*/
@ -87,10 +98,6 @@ public class PmdOperation extends AbstractOperation<PmdOperation> {
* The default language version(s).
*/
List<LanguageVersion> languageVersions;
/**
* The relative roots paths.
*/
List<Path> relativizeRoots = new ArrayList<>();
/**
* The path to the report page.
*/
@ -99,14 +106,6 @@ public class PmdOperation extends AbstractOperation<PmdOperation> {
* The report format.
*/
String reportFormat = "text";
/**
* The rule priority.
*/
RulePriority rulePriority = RulePriority.LOW;
/**
* The rule sets list.
*/
List<String> ruleSets = new ArrayList<>();
/**
* The show suppressed flag.
*/