Added JaCoCo extension
This commit is contained in:
parent
bc091e44c5
commit
fc1e003cfa
3 changed files with 13 additions and 2 deletions
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
|
@ -1,3 +1,4 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="EntryPointsManager">
|
<component name="EntryPointsManager">
|
||||||
<entry_points version="2.0">
|
<entry_points version="2.0">
|
||||||
|
@ -26,6 +27,7 @@
|
||||||
<pattern value="rife.bld.extension.PmdOperation" method="suppressedMarker" />
|
<pattern value="rife.bld.extension.PmdOperation" method="suppressedMarker" />
|
||||||
<pattern value="rife.bld.extension.PmdOperation" method="threads" />
|
<pattern value="rife.bld.extension.PmdOperation" method="threads" />
|
||||||
<pattern value="rife.bld.extension.PmdOperation" method="uri" />
|
<pattern value="rife.bld.extension.PmdOperation" method="uri" />
|
||||||
|
<pattern value="rife.bld.extension.PmdOperationBuild" method="jacoco" />
|
||||||
</component>
|
</component>
|
||||||
<component name="PDMPlugin">
|
<component name="PDMPlugin">
|
||||||
<option name="customRuleSets">
|
<option name="customRuleSets">
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
bld.downloadExtensionJavadoc=false
|
bld.downloadExtensionJavadoc=false
|
||||||
bld.downloadExtensionSources=true
|
bld.downloadExtensionSources=true
|
||||||
bld.extensions=
|
bld.extensions=com.uwyn.rife2:bld-jacoco-report:0.9.0-SNAPSHOT
|
||||||
bld.repositories=MAVEN_CENTRAL,RIFE2
|
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
|
||||||
bld.downloadLocation=
|
bld.downloadLocation=
|
||||||
bld.version=1.7.0
|
bld.version=1.7.0
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
package rife.bld.extension;
|
package rife.bld.extension;
|
||||||
|
|
||||||
|
import rife.bld.BuildCommand;
|
||||||
import rife.bld.Project;
|
import rife.bld.Project;
|
||||||
import rife.bld.publish.PublishDeveloper;
|
import rife.bld.publish.PublishDeveloper;
|
||||||
import rife.bld.publish.PublishLicense;
|
import rife.bld.publish.PublishLicense;
|
||||||
import rife.bld.publish.PublishScm;
|
import rife.bld.publish.PublishScm;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static rife.bld.dependencies.Repository.MAVEN_CENTRAL;
|
import static rife.bld.dependencies.Repository.MAVEN_CENTRAL;
|
||||||
|
@ -67,4 +69,11 @@ public class PmdOperationBuild extends Project {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
new PmdOperationBuild().start(args);
|
new PmdOperationBuild().start(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@BuildCommand(summary = "Generates JaCoCo Reports")
|
||||||
|
public void jacoco() throws IOException {
|
||||||
|
new JacocoReportOperation()
|
||||||
|
.fromProject(this)
|
||||||
|
.execute();
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue