diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index adcbf92a..562b5c18 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-java@v3 # the log states the default ~/.m2/toolchains.xml is being created pointing to the JDK with: distribution: 'adopt' # for latest JDKs use temurin https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/ - java-version: '8' + java-version: '11' cache: 'maven' #cache/restore any dependencies to improve the workflow execution time - name: Build with Maven run: mvn -B package --file pom.xml \ No newline at end of file diff --git a/Mustang-CLI/src/main/java/org/mustangproject/commandline/Main.java b/Mustang-CLI/src/main/java/org/mustangproject/commandline/Main.java index a91fbe65..4f410b83 100755 --- a/Mustang-CLI/src/main/java/org/mustangproject/commandline/Main.java +++ b/Mustang-CLI/src/main/java/org/mustangproject/commandline/Main.java @@ -521,8 +521,8 @@ public class Main { // All params are good! continue... try (ZUGFeRDExporterFromA1 ze = new ZUGFeRDExporterFromA1()) { ze.convertOnly().load(pdfName); - ze.export(outName); - System.out.println("Written to " + outName); + ze.export(outName); + System.out.println("Written to " + outName); } }