Skip to content

Commit

Permalink
Merge pull request #1 from castor-software/master
Browse files Browse the repository at this point in the history
Fix Java 8 compatibility issue (ASSERT-KTH#45)
  • Loading branch information
mtorres10 authored Mar 18, 2021
2 parents a94dff5 + 9d906d2 commit 4ce30b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
String projectJar = project.getArtifactId() + "-" + project.getVersion() + ".jar";
long projectSize = FileUtils.sizeOf(new File(project.getBuild().getOutputDirectory()));
sizeOfDependencies.put(projectJar, projectSize);
if (Files.exists(Path.of(
if (Files.exists(Paths.get(
project.getBuild().getDirectory() + File.separator + DIRECTORY_TO_COPY_DEPENDENCIES))) {
Iterator<File> iterator = FileUtils.iterateFiles(
new File(
Expand Down
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.javadoc.source>11</maven.javadoc.source>
<maven.compiler.release>8</maven.compiler.release>
<maven.javadoc.source>8</maven.javadoc.source>
<maven.maven-javadoc-plugin.version>3.2.0</maven.maven-javadoc-plugin.version>
<maven.jacoco.plugin.version>0.8.6</maven.jacoco.plugin.version>
<maven.coveralls.plugin.version>4.3.0</maven.coveralls.plugin.version>
Expand Down

0 comments on commit 4ce30b7

Please sign in to comment.