diff --git a/.github/workflows/bld.yml b/.github/workflows/bld.yml
index 3c9d30a..422b9cc 100644
--- a/.github/workflows/bld.yml
+++ b/.github/workflows/bld.yml
@@ -12,12 +12,12 @@ jobs:
steps:
- name: Checkout source repository
- uses: actions/checkout@v4
+ uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK ${{ matrix.java-version }}
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: ${{ matrix.java-version }}
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index e191f6d..2120d4c 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -30,14 +30,14 @@ jobs:
steps:
- name: Checkout source repository
- uses: actions/checkout@v4
+ uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 17
- uses: actions/setup-java@v4
+ uses: actions/setup-java@v3
with:
- distribution: "zulu"
+ distribution: 'zulu'
java-version: 17
- name: Build Javadocs
@@ -50,8 +50,8 @@ jobs:
uses: actions/upload-pages-artifact@v1
with:
# Upload generated Javadocs repository
- path: "build/javadoc/"
+ path: 'build/javadoc/'
- name: Deploy to GitHub Pages
id: deployment
- uses: actions/deploy-pages@v1
+ uses: actions/deploy-pages@v1
\ No newline at end of file
diff --git a/config/pmd.xml b/config/pmd.xml
index 3d3203c..cb0b643 100644
--- a/config/pmd.xml
+++ b/config/pmd.xml
@@ -19,15 +19,15 @@
-
-
+
+
@@ -35,9 +35,8 @@
-
-
+
@@ -53,6 +52,8 @@
+
+
@@ -106,4 +107,4 @@
-
+
\ No newline at end of file
diff --git a/src/bld/java/rife/bld/extension/DetektOperationBuild.java b/src/bld/java/rife/bld/extension/DetektOperationBuild.java
index 207a826..36e7dea 100644
--- a/src/bld/java/rife/bld/extension/DetektOperationBuild.java
+++ b/src/bld/java/rife/bld/extension/DetektOperationBuild.java
@@ -34,7 +34,7 @@ public class DetektOperationBuild extends Project {
public DetektOperationBuild() {
pkg = "rife.bld.extension";
name = "DetektOperation";
- version = version(0, 9, 4, "SNAPSHOT");
+ version = version(0, 9, 3);
javaRelease = 17;
downloadSources = true;
@@ -72,7 +72,7 @@ public class DetektOperationBuild extends Project {
.license(
new PublishLicense()
.name("The Apache License, Version 2.0")
- .url("https://www.apache.org/licenses/LICENSE-2.0.txt")
+ .url("http://www.apache.org/licenses/LICENSE-2.0.txt")
)
.scm(
new PublishScm()
diff --git a/src/main/java/rife/bld/extension/DetektOperation.java b/src/main/java/rife/bld/extension/DetektOperation.java
index 359037f..3ed4d2e 100644
--- a/src/main/java/rife/bld/extension/DetektOperation.java
+++ b/src/main/java/rife/bld/extension/DetektOperation.java
@@ -18,11 +18,8 @@ package rife.bld.extension;
import rife.bld.BaseProject;
import rife.bld.operations.AbstractProcessOperation;
-import rife.bld.operations.exceptions.ExitStatusException;
-import rife.tools.exceptions.FileUtilsErrorException;
import java.io.File;
-import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
@@ -244,22 +241,6 @@ public class DetektOperation extends AbstractProcessOperation {
return this;
}
- /**
- * Performs the operation.
- *
- * @throws InterruptedException when the operation was interrupted
- * @throws IOException when an exception occurred during the execution of the process
- * @throws FileUtilsErrorException when an exception occurred during the retrieval of the operation output
- * @throws ExitStatusException when the exit status was changed during the operation
- */
- @Override
- public void execute() throws IOException, FileUtilsErrorException, InterruptedException, ExitStatusException {
- super.execute();
- if (successful_ && LOGGER.isLoggable(Level.INFO)) {
- LOGGER.info("Detekt executed successfully.");
- }
- }
-
/**
* Part of the {@link #execute} operation, constructs the command list
* to use for building the process.