diff --git a/library/pom.xml b/library/pom.xml
index baf48639..c7647f0a 100644
--- a/library/pom.xml
+++ b/library/pom.xml
@@ -157,15 +157,28 @@
- org.apache.maven.plugins
- maven-jar-plugin
- 3.2.0
-
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 3.2.0
+
**/logback.xml
-
-
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 3.2.1
+
+
+ attach-sources
+
+ jar-no-fork
+
+
+
+
org.apache.maven.plugins
maven-shade-plugin
diff --git a/library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDInvoiceImporter.java b/library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDInvoiceImporter.java
index eea28b1b..c0c4b51c 100644
--- a/library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDInvoiceImporter.java
+++ b/library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDInvoiceImporter.java
@@ -1,6 +1,7 @@
package org.mustangproject.ZUGFeRD;
import java.io.IOException;
+import java.io.InputStream;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.nio.charset.StandardCharsets;
@@ -43,6 +44,10 @@ public ZUGFeRDInvoiceImporter(String filename) {
super(filename);
}
+ public ZUGFeRDInvoiceImporter(InputStream stream) {
+ super(stream);
+ }
+
public void fromXML(String XML) {
try {
containsMeta = true;