diff --git a/README.md b/README.md
index 006a40b..871207a 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# informaticspom
-The `informaticspom` is used as the parent pom for programming assignments at Fontys Venlo.
+The `informaticspom` is used as the parent pom for programming assignments at Fontys Venlo.
The goal of the `POM` is to have a baseline of dependencies that are needed for most assignments.
@@ -12,7 +12,7 @@ These include:
- Mockito
2. CodeCoverage with JaCoCo
3. Static code analyzer
- - PMD
+ - CheckStyle
4. JavaFX (with the JavaFX profile)
5. Testing modular JPMS projects
@@ -22,7 +22,7 @@ The pom can be used by defining it as the parent pom
```
- io.github.fontysvenlo
+ io.github.fontysvenlo
informaticspom
0.8
@@ -45,15 +45,15 @@ The following properties are available
| surefire.opens | | Optional arguments that get passed to maven surefire plugin to open modules |
| maven.surefire.version | 3.0.0-M6 | Maven surefire version |
| maven.compiler.release | ${java.release} | The compiler release version used by maven |
-| pmdVersion | 6.42.0 | The PMD version |
| exec.main | | The main class that should be set in the JAR by maven compiler |
## Profiles
-**Default**: The default dependencies (no JavaFX and doesn't generate code coverage)
-**Jacoco**: Same as default, but generates the code coverage report
-**JavaFX**: Includes the JavaFX dependencies
-**Release**: Use to
+**Default**: The default dependencies (no JavaFX and doesn't generate code coverage)
+**Jacoco**: Same as default, but generates the code coverage report.
+ - `mvn verify` will fail when the `jacoco.threshold.line` and `jacoco.threshold.branch` thresholds aren't met (default: 0, can be overridden via a property)
+**JavaFX**: Includes the JavaFX dependencies
+**Release**: Use to
release new version of the `informaticspom`
## Publishing
diff --git a/pom.xml b/pom.xml
index 03a7372..8d95c7f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
Fontys Venlo Informatics POM
io.github.fontysvenlo
informaticspom
- 1.3
+ 1.4
pom
FontysVenlo :: InformaticsPom
https://fontysvenlo.github.io/informaticspom/
@@ -58,7 +58,6 @@
// assertions.fail, uses CDATA instead of plain xml text, so for the time being stay at 2.22.2 -->
3.2.5
${java.release}
- 6.55.0
@@ -138,33 +137,6 @@
jacoco-maven-plugin
${jacoco.version}
-
- org.apache.maven.plugins
- maven-pmd-plugin
- 3.21.2
-
-
- net.sourceforge.pmd
- pmd-core
- ${pmd.version}
-
-
- net.sourceforge.pmd
- pmd-java
- ${pmd.version}
-
-
- net.sourceforge.pmd
- pmd-javascript
- ${pmd.version}
-
-
- net.sourceforge.pmd
- pmd-jsp
- ${pmd.version}
-
-
-
org.apache.maven.plugins
maven-jxr-plugin
@@ -432,6 +404,9 @@
${jacocoArgLine}
+
+ 0.00
+ 0.00
@@ -449,43 +424,36 @@
jacoco-maven-plugin
- default-prepare-agent
prepare-agent
- default-prepare-agent-integration
-
- prepare-agent-integration
-
-
-
- default-report
+ jacoco-report
+ test
report
- default-report-integration
+ jacoco-check
- report-integration
+ check
-
-
- default-check
-
-
- BUNDLE
+
+ PACKAGE
-
-
- COMPLEXITY
+
+ LINE
+ COVEREDRATIO
+ ${jacoco.threshold.line}
+
+
+ BRANCH
COVEREDRATIO
- 0.60
+ ${jacoco.threshold.branch}
@@ -573,4 +541,4 @@
-
\ No newline at end of file
+