Compare commits
No commits in common. "c26f5313296dbc5f9e152e2dca9a26edddf57ca3" and "6f62c38a9b0d1a9eadb81107ead92217c876b1ec" have entirely different histories.
c26f531329
...
6f62c38a9b
4 changed files with 10 additions and 17 deletions
1
.idea/misc.xml
generated
1
.idea/misc.xml
generated
|
@ -4,7 +4,6 @@
|
|||
<pattern value="rife.bld.extension.PitestOperationBuild" method="jacoco" />
|
||||
<pattern value="rife.bld.extension.PitestOperationBuild" />
|
||||
<pattern value="rife.bld.extension.PitestOperationBuild" method="pmd" />
|
||||
<pattern value="rife.bld.extension.PitestOperationBuild" method="pmdCli" />
|
||||
</component>
|
||||
<component name="PDMPlugin">
|
||||
<option name="customRuleSets">
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
bld.downloadExtensionJavadoc=false
|
||||
bld.downloadExtensionSources=true
|
||||
bld.downloadLocation=
|
||||
bld.extension-pitest=com.uwyn.rife2:bld-pitest:1.0.3
|
||||
bld.extension-pitest=com.uwyn.rife2:bld-pitest:1.0.2
|
||||
bld.repositories=MAVEN_CENTRAL,RIFE2_RELEASES,MAVEN_LOCAL,RIFE2_SNAPSHOTS
|
||||
bld.sourceDirectories=
|
||||
bld.version=2.1.0
|
||||
|
|
|
@ -27,8 +27,8 @@ public class ExamplesBuild extends Project {
|
|||
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
|
||||
|
||||
scope(test)
|
||||
.include(dependency("org.pitest", "pitest", version(1, 17, 1)))
|
||||
.include(dependency("org.pitest", "pitest-command-line", version(1, 17, 1)))
|
||||
.include(dependency("org.pitest", "pitest", version(1, 17, 0)))
|
||||
.include(dependency("org.pitest", "pitest-command-line", version(1, 17, 0)))
|
||||
.include(dependency("org.pitest", "pitest-junit5-plugin", version(1, 2, 1)))
|
||||
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 11, 3)))
|
||||
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 11, 3)));
|
||||
|
|
|
@ -30,15 +30,10 @@ import static rife.bld.dependencies.Scope.test;
|
|||
import static rife.bld.operations.JavadocOptions.DocLinkOption.NO_MISSING;
|
||||
|
||||
public class PitestOperationBuild extends Project {
|
||||
final PmdOperation pmdOp = new PmdOperation()
|
||||
.fromProject(this)
|
||||
.failOnViolation(true)
|
||||
.ruleSets("config/pmd.xml");
|
||||
|
||||
public PitestOperationBuild() {
|
||||
pkg = "rife.bld.extension";
|
||||
name = "PitestExtension";
|
||||
version = version(1, 0, 3);
|
||||
version = version(1, 0, 2);
|
||||
|
||||
javaRelease = 17;
|
||||
|
||||
|
@ -47,7 +42,7 @@ public class PitestOperationBuild extends Project {
|
|||
|
||||
repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL, RIFE2_RELEASES, RIFE2_SNAPSHOTS);
|
||||
|
||||
var pitest = version(1, 17, 1);
|
||||
var pitest = version(1, 17, 0);
|
||||
scope(compile)
|
||||
.include(dependency("com.uwyn.rife2", "bld", version(2, 1, 0)));
|
||||
scope(test)
|
||||
|
@ -98,12 +93,11 @@ public class PitestOperationBuild extends Project {
|
|||
|
||||
@BuildCommand(summary = "Runs PMD analysis")
|
||||
public void pmd() throws Exception {
|
||||
pmdOp.execute();
|
||||
}
|
||||
|
||||
@BuildCommand(value = "pmd-cli", summary = "Runs PMD analysis (CLI)")
|
||||
public void pmdCli() throws Exception {
|
||||
pmdOp.includeLineNumber(false).execute();
|
||||
new PmdOperation()
|
||||
.fromProject(this)
|
||||
.failOnViolation(true)
|
||||
.ruleSets("config/pmd.xml")
|
||||
.execute();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue