Skip to content

Commit

Permalink
closes ZUGFeRD#132
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochen Stärk authored and Jochen Stärk committed Aug 23, 2019
1 parent df53248 commit cb391ac
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/development_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@
<mainClass>org.mustangproject.toecount.Toecount</mainClass>
</transformer>
</transformers>
<minimizeJar>true</minimizeJar>
<minimizeJar>false</minimizeJar><!-- no longer java 11 compatible if set to true because it removes e.g. javax/xml/bind/annotation/XmlSchema-->
<filters>

<filter>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/mustangproject/toecount/FileChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public boolean checkForZUGFeRD() {
ZUGFeRDImporter zi = new ZUGFeRDImporter(filename);
try {
if (zi.canParse()) {
thisRun.incZUGFeRDCount();
thisRun.incZUGFeRDCount(zi.getVersion());
thisRun.incTotal(new BigDecimal(zi.getAmount()));
return true;
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/mustangproject/toecount/StatRun.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void incPDFCount() {
pdfCount++;
}

public void incZUGFeRDCount() {
public void incZUGFeRDCount(int version) {
horseCount++;
}

Expand Down

0 comments on commit cb391ac

Please sign in to comment.