diff --git a/doc/development_documentation.md b/doc/development_documentation.md index 1d309316..4e0406ca 100644 --- a/doc/development_documentation.md +++ b/doc/development_documentation.md @@ -73,7 +73,7 @@ Change to the project directory and run * `mvn clean install` . If that works you can * clean the release with `mvn release:clean` and prepare the release with * `mvn release:prepare -DignoreSnapshots=true` and enter the version numbers. - * After that is through you can create a new release via `mvn release:perform`.This will also update the maven repo. + * After that is through you can create a new release via `mvn release:perform -Dmaven.java.skip=True`.This will also update the maven repo. ![screenshot](development_documentation_screenshot_release.png "Screenshot Release") diff --git a/pom.xml b/pom.xml index 1668b5fc..e4c2b10a 100644 --- a/pom.xml +++ b/pom.xml @@ -217,7 +217,7 @@ org.mustangproject.toecount.Toecount - true + false diff --git a/src/main/java/org/mustangproject/toecount/FileChecker.java b/src/main/java/org/mustangproject/toecount/FileChecker.java index 64fddd27..27273e2e 100755 --- a/src/main/java/org/mustangproject/toecount/FileChecker.java +++ b/src/main/java/org/mustangproject/toecount/FileChecker.java @@ -54,7 +54,7 @@ public class FileChecker { ZUGFeRDImporter zi = new ZUGFeRDImporter(filename); try { if (zi.canParse()) { - thisRun.incZUGFeRDCount(); + thisRun.incZUGFeRDCount(zi.getVersion()); thisRun.incTotal(new BigDecimal(zi.getAmount())); return true; } else { diff --git a/src/main/java/org/mustangproject/toecount/StatRun.java b/src/main/java/org/mustangproject/toecount/StatRun.java index e5f8f80c..8768850b 100755 --- a/src/main/java/org/mustangproject/toecount/StatRun.java +++ b/src/main/java/org/mustangproject/toecount/StatRun.java @@ -44,7 +44,7 @@ public class StatRun { pdfCount++; } - public void incZUGFeRDCount() { + public void incZUGFeRDCount(int version) { horseCount++; }