Skip to content

Commit

Permalink
update to jacoco 0.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tisoft committed Aug 10, 2021
1 parent ebdf59a commit 6578d37
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<url>http://maven.apache.org</url>
<properties>
<!-- This is the jacoco version we are based of.-->
<revision>0.8.6</revision>
<revision>0.8.7</revision>
<!-- this will be set to the tag/branch by CI-->
<sha1>local</sha1>
<!-- this will be set to empty for tags by CI -->
Expand Down
19 changes: 9 additions & 10 deletions src/main/java/org/jacoco/maven/AbstractReportAggregateAllMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,6 @@ private void loadExecutionData(final ReportSupport support,
}
}

@Override
void addFormatters(final ReportSupport support, final Locale locale)
throws IOException {
support.addAllFormatters(outputDirectory, outputEncoding, footer,
locale);
}

@Override
void createReport(final IReportGroupVisitor visitor,
final ReportSupport support) throws IOException {
Expand All @@ -108,11 +101,14 @@ void createReport(final IReportGroupVisitor visitor,
}

@Override
protected String getOutputDirectory() {
return outputDirectory.getAbsolutePath();
File getOutputDirectory() {
return outputDirectory;
}

public File getReportOutputDirectory() {
return outputDirectory;
}

@Override
public void setReportOutputDirectory(final File reportOutputDirectory) {
if (reportOutputDirectory != null && !reportOutputDirectory
.getAbsolutePath().endsWith("jacoco-aggregate-all")) {
Expand All @@ -135,4 +131,7 @@ private List<MavenProject> getProjects() {
return session.getProjectDependencyGraph().getSortedProjects();
}

protected MavenProject getProject(){
return project;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,8 @@ void createReport(final IReportGroupVisitor visitor,
dependency, getIncludes(), getExcludes(), sourceEncoding);
}
}

protected MavenProject getProject(){
return project;
}
}

0 comments on commit 6578d37

Please sign in to comment.