diff --git a/mustang/LICENSE b/LICENSE
similarity index 100%
rename from mustang/LICENSE
rename to LICENSE
diff --git a/mustang/NOTICE b/NOTICE
similarity index 100%
rename from mustang/NOTICE
rename to NOTICE
diff --git a/README.md b/README.md
index 2e16ad59..c1cca720 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ Running
This project requires Maven to run. Build project with "mvn clean install". This will build the project, test it and install the artifacts to local cache. After that the mustang jar can be used.
-More informations in [the mustang documentation](https://github.com/Rayman2200/PDFA3/blob/master/mustang/doc/ZugferdDev.en.pdf?raw=true)).
+More informations in [the mustang documentation](https://github.com/ZUGFeRD/mustangproject/blob/master/mustang/doc/ZugferdDev.en.pdf?raw=true)).
Usage
-----
diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml
new file mode 100644
index 00000000..c8e66c0b
--- /dev/null
+++ b/dependency-reduced-pom.xml
@@ -0,0 +1,131 @@
+
+
+ 4.0.0
+ org.mustangproject.ZUGFeRD
+ mustang
+ Mustang
+ 1.4.0
+ The Mustang project is a java library to read and write ZUGFeRD meta data inside your invoice PDFs
+ http://www.mustangproject.org/
+
+
+ User List
+ https://groups.google.com/forum/?hl=de#!forum/mustangproject
+
+
+
+
+ Jochen Stärk
+ jstaerk@usegroup.de
+
+ architect
+ developer
+
+
+
+ Alexander Schmidt
+ schmidt.alexander@mail.de
+
+ developer
+
+
+
+
+
+ Apache License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
+ repo
+ A business-friendly OSS license
+
+
+
+ scm:git:https://github.com/ZUGFeRD/mustangproject.git
+ scm:git:https://github.com/ZUGFeRD/mustangproject.git
+ v1.4.0
+ https://github.com/ZUGFeRD/mustangproject
+
+
+
+
+ maven-deploy-plugin
+ 2.8.2
+
+ internal.repo::default::file://${project.build.directory}/mvn-repo
+
+
+
+ com.github.github
+ site-maven-plugin
+ 0.11
+
+
+ deploy
+
+ site
+
+
+
+
+ Maven artifacts for ${project.version}
+ true
+ ${project.build.directory}/mvn-repo
+ refs/heads/mvn-repo
+
+ **/*
+
+ true
+ mustangproject
+ ZUGFeRD
+
+
+
+ maven-shade-plugin
+ 2.4.3
+
+
+ package
+
+ shade
+
+
+
+
+
+
+
+
+
+ true
+
+
+
+
+
+
+ junit
+ junit
+ 4.11
+ test
+
+
+ hamcrest-core
+ org.hamcrest
+
+
+
+
+
+
+ internal.repo
+ Temporary Staging Repository
+ file://${project.build.directory}/mvn-repo
+
+
+
+ 1.6
+ github
+ -Xdoclint:none
+ UTF-8
+
+
+
diff --git a/doc/MustangDev.en.odt b/doc/MustangDev.en.odt
new file mode 100644
index 00000000..d33a3b3a
Binary files /dev/null and b/doc/MustangDev.en.odt differ
diff --git a/mustang/doc/MustangWriter.java b/doc/MustangWriter.java
similarity index 100%
rename from mustang/doc/MustangWriter.java
rename to doc/MustangWriter.java
diff --git a/mustang/doc/ZugferdDev.de.odt b/doc/ZugferdDev.de.odt
similarity index 100%
rename from mustang/doc/ZugferdDev.de.odt
rename to doc/ZugferdDev.de.odt
diff --git a/mustang/doc/ZugferdDev.de.pdf b/doc/ZugferdDev.de.pdf
similarity index 100%
rename from mustang/doc/ZugferdDev.de.pdf
rename to doc/ZugferdDev.de.pdf
diff --git a/mustang/doc/ZugferdDev.en.odt b/doc/ZugferdDev.en.odt
similarity index 100%
rename from mustang/doc/ZugferdDev.en.odt
rename to doc/ZugferdDev.en.odt
diff --git a/mustang/doc/ZugferdDev.en.pdf b/doc/ZugferdDev.en.pdf
similarity index 100%
rename from mustang/doc/ZugferdDev.en.pdf
rename to doc/ZugferdDev.en.pdf
diff --git a/mustang/doc/konikmustangvergleich.odt b/doc/konikmustangvergleich.odt
similarity index 100%
rename from mustang/doc/konikmustangvergleich.odt
rename to doc/konikmustangvergleich.odt
diff --git a/mustang/dependency-reduced-pom.xml b/mustang/dependency-reduced-pom.xml
deleted file mode 100644
index 4417996f..00000000
--- a/mustang/dependency-reduced-pom.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
- 4.0.0
- org.mustangproject.ZUGFeRD
- mustang
- Mustang
- 1.4.0.0
- The Mustang project is a java library to read and write ZUGFeRD meta data inside your invoice PDFs
- http://www.mustangproject.org/
-
-
- User List
- https://groups.google.com/forum/?hl=de#!forum/mustangproject
-
-
-
-
- Jochen St�rk
- jstaerk@usegroup.de
-
- architect
- developer
-
-
-
- Alexander Schmidt
- schmidt.alexander@mail.de
-
- developer
-
-
-
-
-
- Apache License, Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0.txt
- repo
- A business-friendly OSS license
-
-
-
-
-
- maven-shade-plugin
- 2.4.3
-
-
- package
-
- shade
-
-
-
-
-
-
-
-
-
- true
-
-
-
-
-
-
diff --git a/mustang/doc/MustangDev.en.odt b/mustang/doc/MustangDev.en.odt
index d33a3b3a..4057f0f4 100644
Binary files a/mustang/doc/MustangDev.en.odt and b/mustang/doc/MustangDev.en.odt differ
diff --git a/mustang/pom.xml b/mustang/pom.xml
deleted file mode 100644
index 056ff406..00000000
--- a/mustang/pom.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-
- 4.0.0
- org.mustangproject.ZUGFeRD
- mustang
- 1.4.0.0
- jar
-
- Mustang
- The Mustang project is a java library to read and write ZUGFeRD meta data inside your invoice PDFs
- http://www.mustangproject.org/
-
-
-
- org.apache.maven.plugins
- maven-shade-plugin
- 2.4.3
-
- true
-
-
-
- package
-
- shade
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- org.glassfish.jaxb
- jaxb-runtime
- 2.2.11
-
-
-
- org.apache.pdfbox
- preflight
- 2.0.5
-
-
- org.apache.pdfbox
- pdfbox
- 2.0.5
-
-
- junit
- junit
- 4.12
-
-
-
-
-
- User List
- https://groups.google.com/forum/?hl=de#!forum/mustangproject
-
-
-
-
-
- Apache License, Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0.txt
- repo
- A business-friendly OSS license
-
-
-
-
-
- Jochen Stärk
- jstaerk@usegroup.de
-
- architect
- developer
-
-
-
- Alexander Schmidt
- schmidt.alexander@mail.de
-
- developer
-
-
-
-
diff --git a/mustang/toecount/pom.xml b/mustang/toecount/pom.xml
deleted file mode 100755
index cedff06d..00000000
--- a/mustang/toecount/pom.xml
+++ /dev/null
@@ -1,88 +0,0 @@
-
- 4.0.0
- org.mustangproject.ZUGFeRD
- toecount
- 0.0.8-SNAPSHOT
- ZUGFeRD PDF checker
- Shows statistics on how many PDFs in a directory are ZUGFeRD-Compliant
-
-
- mustang-mvn-repo
- https://raw.github.com/Rayman2200/PDFA3/mvn-repo/
-
-
- sonatype-oss-public
- https://oss.sonatype.org/content/groups/public/
-
- true
-
-
- true
-
-
-
-
-
-
- org.mustangproject.ZUGFeRD
- mustang
- 1.3.0-SNAPSHOT
-
-
- org.apache.pdfbox
- pdfbox
- 1.8.8
-
-
- com.sanityinc
- jargs
- 2.0-SNAPSHOT
-
-
-
-
-
-
-
-
- maven-assembly-plugin
-
-
-
- toecount.Toecount
-
-
-
-
-
- jar-with-dependencies
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 2.3.2
-
-
-
- true
- toecount.Toecount
-
-
-
- jar-with-dependencies
-
-
-
- 1.7
- 1.7
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pdfa3-sample/pom.xml b/pdfa3-sample/pom.xml
deleted file mode 100644
index 913f5bf1..00000000
--- a/pdfa3-sample/pom.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
- 4.0.0
-
- com.github.rayman2200
- mustang-sample-project
- 1.3.0.1-SNAPSHOT
-
-
- pdfa3-samples
-
diff --git a/pdfa3-sample/src/main/java/pdfbox/PDFA3File.java b/pdfa3-sample/src/main/java/pdfbox/PDFA3File.java
deleted file mode 100644
index e3387fab..00000000
--- a/pdfa3-sample/src/main/java/pdfbox/PDFA3File.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package pdfbox;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.GregorianCalendar;
-
-import javax.xml.transform.TransformerException;
-
-import org.apache.jempbox.xmp.XMPMetadata;
-import org.apache.jempbox.xmp.XMPSchemaBasic;
-import org.apache.jempbox.xmp.XMPSchemaDublinCore;
-import org.apache.jempbox.xmp.XMPSchemaPDF;
-import org.apache.jempbox.xmp.pdfa.XMPSchemaPDFAId;
-import org.apache.pdfbox.pdmodel.PDDocument;
-import org.apache.pdfbox.pdmodel.PDDocumentCatalog;
-import org.apache.pdfbox.pdmodel.PDDocumentInformation;
-import org.apache.pdfbox.pdmodel.PDPage;
-import org.apache.pdfbox.pdmodel.common.PDMetadata;
-import org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure.PDMarkInfo;
-import org.apache.pdfbox.pdmodel.edit.PDPageContentStream;
-import org.apache.pdfbox.pdmodel.font.PDFont;
-import org.apache.pdfbox.pdmodel.font.PDTrueTypeFont;
-import org.apache.pdfbox.pdmodel.graphics.color.PDOutputIntent;
-
-/**
- * This is an example that creates a simple PDF/A document.
- */
-public class PDFA3File
-{
-
- /**
- * Create a simple PDF/A-3 document.
- * This example is based on HelloWorld example.
- * As it is a simple case, to conform the PDF/A norm, are added : - the font
- * used in the document - the sRGB color profile - a light xmp block with only
- * PDF identification schema (the only mandatory) - an output intent To
- * conform to A/3 - the mandatory MarkInfo dictionary displays tagged PDF
- * support - and optional producer and - optional creator info is added
- *
- * @param file
- * The file to write the PDF to.
- * @param message
- * The message to write in the file.
- * @throws Exception
- * If something bad occurs
- */
- public void doIt(String file, String message) throws Exception
- {
- // the document
- PDDocument doc = null;
- try
- {
- doc = new PDDocument();
-
- // now create the page and add content
- PDPage page = new PDPage();
-
- doc.addPage(page);
-
- InputStream fontStream = PDFA3File.class.getResourceAsStream("/Ubuntu-R.ttf");
- PDFont font = PDTrueTypeFont.loadTTF(doc, fontStream);
-
- // create a page with the message where needed
- PDPageContentStream contentStream = new PDPageContentStream(doc, page);
- contentStream.beginText();
- contentStream.setFont(font, 12);
- contentStream.moveTextPositionByAmount(100, 700);
- contentStream.drawString(message);
- contentStream.endText();
- contentStream.saveGraphicsState();
- contentStream.close();
-
- PDDocumentCatalog cat = makeA3compliant(doc);
-
- InputStream colorProfile = PDFA3File.class.getResourceAsStream("/sRGB Color Space Profile.icm");
-
- // create output intent
- PDOutputIntent oi = new PDOutputIntent(doc, colorProfile);
- oi.setInfo("sRGB IEC61966-2.1");
- oi.setOutputCondition("sRGB IEC61966-2.1");
- oi.setOutputConditionIdentifier("sRGB IEC61966-2.1");
- oi.setRegistryName("http://www.color.org");
- cat.addOutputIntent(oi);
-
- doc.save(file);
-
- }
- finally
- {
- if (doc != null)
- {
- doc.close();
- }
- }
- }
-
- /**
- * Makes A PDF/A3a-compliant document from a PDF-A1 compliant document (on the
- * metadata level, this will not e.g. convert graphics to JPG-2000)
- */
- private PDDocumentCatalog makeA3compliant(PDDocument doc) throws IOException, TransformerException
- {
- PDDocumentCatalog cat = doc.getDocumentCatalog();
- PDMetadata metadata = new PDMetadata(doc);
- cat.setMetadata(metadata);
- // jempbox version
- XMPMetadata xmp = new XMPMetadata();
- XMPSchemaPDFAId pdfaid = new XMPSchemaPDFAId(xmp);
- xmp.addSchema(pdfaid);
-
- XMPSchemaDublinCore dc = xmp.addDublinCoreSchema();
- String creator = System.getProperty("user.name");
- String producer = "PDFBOX";
- dc.addCreator(creator);
- dc.setAbout("");
-
- XMPSchemaBasic xsb = xmp.addBasicSchema();
- xsb.setAbout("");
-
- xsb.setCreatorTool(creator);
- xsb.setCreateDate(GregorianCalendar.getInstance());
- // PDDocumentInformation pdi=doc.getDocumentInformation();
- PDDocumentInformation pdi = new PDDocumentInformation();
- pdi.setProducer(producer);
- pdi.setAuthor(creator);
- doc.setDocumentInformation(pdi);
-
- XMPSchemaPDF pdf = xmp.addPDFSchema();
- pdf.setProducer(producer);
- pdf.setAbout("");
-
- // Mandatory: PDF-A3 is tagged PDF which has to be expressed using a
- // MarkInfo dictionary (PDF A/3 Standard sec. 6.7.2.2)
- PDMarkInfo markinfo = new PDMarkInfo();
- markinfo.setMarked(true);
- doc.getDocumentCatalog().setMarkInfo(markinfo);
-
- pdfaid.setPart(3);
- pdfaid.setConformance("A");/*
- * All files are PDF/A-3, setConformance refers
- * to the level conformance, e.g. PDF/A-3-B where
- * B means only visually preservable, U means
- * visually and unicode preservable and A -like
- * in this case- means full compliance, i.e.
- * visually, unicode and structurally preservable
- */
- pdfaid.setAbout("");
- metadata.importXMPMetadata(xmp);
- return cat;
- }
-
- /**
- * This will create a hello world PDF/A document.
- * see usage() for commandline
- *
- * @param args
- * Command line arguments.
- */
- public static void main(String[] args)
- {
- PDFA3File app = new PDFA3File();
- try
- {
- if (args.length != 2)
- {
- app.usage();
- }
- else
- {
- app.doIt(args[0], args[1]);
- }
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
-
- /**
- * This will print out a message telling how to use this example.
- */
- private void usage()
- {
- System.err.println("usage: " + this.getClass().getName() + " ");
- }
-}
diff --git a/pdfa3-sample/src/main/java/pdfbox/PDFA3FileAttachment.java b/pdfa3-sample/src/main/java/pdfbox/PDFA3FileAttachment.java
deleted file mode 100644
index 164218ce..00000000
--- a/pdfa3-sample/src/main/java/pdfbox/PDFA3FileAttachment.java
+++ /dev/null
@@ -1,285 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package pdfbox;
-
-import java.io.ByteArrayInputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.Collections;
-import java.util.GregorianCalendar;
-
-import javax.xml.transform.TransformerException;
-
-import org.apache.jempbox.xmp.XMPMetadata;
-import org.apache.jempbox.xmp.XMPSchemaBasic;
-import org.apache.jempbox.xmp.XMPSchemaDublinCore;
-import org.apache.jempbox.xmp.XMPSchemaPDF;
-import org.apache.jempbox.xmp.pdfa.XMPSchemaPDFAId;
-import org.apache.pdfbox.cos.COSArray;
-import org.apache.pdfbox.cos.COSDictionary;
-import org.apache.pdfbox.pdmodel.PDDocument;
-import org.apache.pdfbox.pdmodel.PDDocumentCatalog;
-import org.apache.pdfbox.pdmodel.PDDocumentInformation;
-import org.apache.pdfbox.pdmodel.PDDocumentNameDictionary;
-import org.apache.pdfbox.pdmodel.PDEmbeddedFilesNameTreeNode;
-import org.apache.pdfbox.pdmodel.PDPage;
-import org.apache.pdfbox.pdmodel.common.PDMetadata;
-import org.apache.pdfbox.pdmodel.common.filespecification.PDComplexFileSpecification;
-import org.apache.pdfbox.pdmodel.common.filespecification.PDEmbeddedFile;
-import org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure.PDMarkInfo;
-import org.apache.pdfbox.pdmodel.edit.PDPageContentStream;
-import org.apache.pdfbox.pdmodel.font.PDFont;
-import org.apache.pdfbox.pdmodel.font.PDTrueTypeFont;
-import org.apache.pdfbox.pdmodel.graphics.color.PDOutputIntent;
-
-/**
- * This is an example that creates a simple PDF/A document.
- */
-public class PDFA3FileAttachment
-{
- /**
- * Constructor.
- */
- public PDFA3FileAttachment()
- {
- super();
- }
-
- private void attachSampleFile(PDDocument doc) throws IOException
- {
- PDEmbeddedFilesNameTreeNode efTree = new PDEmbeddedFilesNameTreeNode();
-
- // first create the file specification, which holds the embedded file
-
- PDComplexFileSpecification fs = new PDComplexFileSpecification();
- fs.setFile("Test.txt");
- COSDictionary dict = fs.getCOSDictionary();
- // Relation "Source" for linking with eg. catalog
- dict.setName("AFRelationship", "Alternative");
- // dict.setName("AFRelationship", "Source");
-
- dict.setString("UF", "Test.txt");
- // fs.put(new PdfName("AFRelationship"), new PdfName("Source"));
-
- String payload = "This is a test";
-
- InputStream is = new ByteArrayInputStream(payload.getBytes());
-
- PDEmbeddedFile ef = new PDEmbeddedFile(doc, is);
- // set some of the attributes of the embedded file
-
- ef.setSubtype("text/plain");
- // ef.setFile(fs);
- // ef.getStream().setItem(COSName.UF, fs);
-
- ef.setModDate(GregorianCalendar.getInstance());
-
- // PdfFileSpecification fs = PdfFileSpecification.fileEmbedded(writer,
- // src.getAbsolutePath(), src.getName(), null, false, "image/jpeg",
- // fileParameter);
-
- // fs.put(new PdfName("AFRelationship"), new PdfName("Source"));
-
- ef.setSize(payload.length());
- ef.setCreationDate(new GregorianCalendar());
- fs.setEmbeddedFile(ef);
-
- // now add the entry to the embedded file tree and set in the document.
- efTree.setNames(Collections.singletonMap("My first attachment", fs));
-
- /**
- * Validating file "RE-20131206_22.pdf" for conformance level pdfa-3a The
- * key UF is required but missing. The key AFRelationship is required but
- * missing. File specification 'Test.txt' not associated with an object.
- */
- // attachments are stored as part of the "names" dictionary in the document
- // catalog
- PDDocumentCatalog catalog = doc.getDocumentCatalog();
-
- PDDocumentNameDictionary names = new PDDocumentNameDictionary(doc.getDocumentCatalog());
- names.setEmbeddedFiles(efTree);
- catalog.setNames(names);
-
- // // AF entry (Array) in catalog with the FileSpec
- // PDAcroForm pdAcroForm = new PDAcroForm(doc);
- // COSArray cosArray = new COSArray();
- // cosArray.add(fs);
- // catalog.setItem("AF", cosArray);
-
- COSDictionary dict2 = catalog.getCOSDictionary();
- COSArray array = new COSArray();
- array.add(fs.getCOSDictionary()); // see below
- dict2.setItem("AF",array);
- }
-
- /**
- * Create a simple PDF/A-3 document.
- * This example is based on HelloWorld example.
- * As it is a simple case, to conform the PDF/A norm, are added : - the font
- * used in the document - the sRGB color profile - a light xmp block with only
- * PDF identification schema (the only mandatory) - an output intent To
- * conform to A/3 - the mandatory MarkInfo dictionary displays tagged PDF
- * support - and optional producer and - optional creator info is added
- *
- * @param file
- * The file to write the PDF to.
- * @param message
- * The message to write in the file.
- * @throws Exception
- * If something bad occurs
- */
- public void doIt(String file, String message) throws Exception
- {
- // the document
- PDDocument doc = null;
- try
- {
- doc = new PDDocument();
-
- // now create the page and add content
- PDPage page = new PDPage();
-
- doc.addPage(page);
-
- InputStream fontStream = PDFA3FileAttachment.class.getResourceAsStream("/Ubuntu-R.ttf");
- PDFont font = PDTrueTypeFont.loadTTF(doc, fontStream);
-
- // create a page with the message where needed
- PDPageContentStream contentStream = new PDPageContentStream(doc, page);
- contentStream.beginText();
- contentStream.setFont(font, 12);
- contentStream.moveTextPositionByAmount(100, 700);
- contentStream.drawString(message);
- contentStream.endText();
- contentStream.saveGraphicsState();
- contentStream.close();
-
- PDDocumentCatalog cat = makeA3compliant(doc);
- attachSampleFile(doc);
-
- InputStream colorProfile = PDFA3FileAttachment.class.getResourceAsStream("/sRGB Color Space Profile.icm");
- // create output intent
- PDOutputIntent oi = new PDOutputIntent(doc, colorProfile);
- oi.setInfo("sRGB IEC61966-2.1");
- oi.setOutputCondition("sRGB IEC61966-2.1");
- oi.setOutputConditionIdentifier("sRGB IEC61966-2.1");
- oi.setRegistryName("http://www.color.org");
- cat.addOutputIntent(oi);
-
- doc.save(file);
-
- }
- finally
- {
- if (doc != null)
- {
- doc.close();
- }
- }
- }
-
- /**
- * Makes A PDF/A3a-compliant document from a PDF-A1 compliant document (on the
- * metadata level, this will not e.g. convert graphics to JPG-2000)
- */
- private PDDocumentCatalog makeA3compliant(PDDocument doc) throws IOException, TransformerException
- {
- PDDocumentCatalog cat = doc.getDocumentCatalog();
- PDMetadata metadata = new PDMetadata(doc);
- cat.setMetadata(metadata);
- // jempbox version
- XMPMetadata xmp = new XMPMetadata();
- XMPSchemaPDFAId pdfaid = new XMPSchemaPDFAId(xmp);
- xmp.addSchema(pdfaid);
-
- XMPSchemaDublinCore dc = xmp.addDublinCoreSchema();
- String creator = System.getProperty("user.name");
- String producer = "PDFBOX";
- dc.addCreator(creator);
- dc.setAbout("");
-
- XMPSchemaBasic xsb = xmp.addBasicSchema();
- xsb.setAbout("");
-
- xsb.setCreatorTool(creator);
- xsb.setCreateDate(GregorianCalendar.getInstance());
- // PDDocumentInformation pdi=doc.getDocumentInformation();
- PDDocumentInformation pdi = new PDDocumentInformation();
- pdi.setProducer(producer);
- pdi.setAuthor(creator);
- doc.setDocumentInformation(pdi);
-
- XMPSchemaPDF pdf = xmp.addPDFSchema();
- pdf.setProducer(producer);
- pdf.setAbout("");
-
- // Mandatory: PDF-A3 is tagged PDF which has to be expressed using a
- // MarkInfo dictionary (PDF A/3 Standard sec. 6.7.2.2)
- PDMarkInfo markinfo = new PDMarkInfo();
- markinfo.setMarked(true);
- doc.getDocumentCatalog().setMarkInfo(markinfo);
-
- pdfaid.setPart(3);
- pdfaid.setConformance("A");/*
- * All files are PDF/A-3, setConformance refers
- * to the level conformance, e.g. PDF/A-3-B where
- * B means only visually preservable, U means
- * visually and unicode preservable and A -like
- * in this case- means full compliance, i.e.
- * visually, unicode and structurally preservable
- */
- pdfaid.setAbout("");
- metadata.importXMPMetadata(xmp);
- return cat;
- }
-
- /**
- * This will create a hello world PDF/A document.
- * see usage() for commandline
- *
- * @param args
- * Command line arguments.
- */
- public static void main(String[] args)
- {
- PDFA3FileAttachment app = new PDFA3FileAttachment();
- try
- {
- if (args.length != 2)
- {
- app.usage();
- }
- else
- {
- app.doIt(args[0], args[1]);
- }
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
-
- /**
- * This will print out a message telling how to use this example.
- */
- private void usage()
- {
- System.err.println("usage: " + this.getClass().getName() + " ");
- }
-}
diff --git a/pdfa3-sample/src/main/java/pdfbox/PDFAFile.java b/pdfa3-sample/src/main/java/pdfbox/PDFAFile.java
deleted file mode 100644
index 56579029..00000000
--- a/pdfa3-sample/src/main/java/pdfbox/PDFAFile.java
+++ /dev/null
@@ -1,151 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package pdfbox;
-
-import java.io.InputStream;
-
-import org.apache.jempbox.xmp.XMPMetadata;
-import org.apache.jempbox.xmp.pdfa.XMPSchemaPDFAId;
-import org.apache.pdfbox.pdmodel.PDDocument;
-import org.apache.pdfbox.pdmodel.PDDocumentCatalog;
-import org.apache.pdfbox.pdmodel.PDPage;
-import org.apache.pdfbox.pdmodel.common.PDMetadata;
-import org.apache.pdfbox.pdmodel.edit.PDPageContentStream;
-import org.apache.pdfbox.pdmodel.font.PDFont;
-import org.apache.pdfbox.pdmodel.font.PDTrueTypeFont;
-import org.apache.pdfbox.pdmodel.graphics.color.PDOutputIntent;
-
-/**
- * This is an example that creates a simple PDF/A document.
- */
-public class PDFAFile
-{
- /**
- * Constructor.
- */
- public PDFAFile()
- {
- super();
- }
-
- /**
- * Create a simple PDF/A document.
- * This example is based on HelloWorld example.
- * As it is a simple case, to conform the PDF/A norm, are added : - the font
- * used in the document - a light xmp block with only PDF identification
- * schema (the only mandatory) - an output intent
- *
- * @param file
- * The file to write the PDF to.
- * @param message
- * The message to write in the file.
- * @throws Exception
- * If something bad occurs
- */
- public void doIt(String file, String message) throws Exception
- {
- // the document
- PDDocument doc = null;
- try
- {
- doc = new PDDocument();
-
- PDPage page = new PDPage();
- doc.addPage(page);
-
- InputStream fontStream = PDFA3File.class.getResourceAsStream("/Ubuntu-R.ttf");
- PDFont font = PDTrueTypeFont.loadTTF(doc, fontStream);
-
- // create a page with the message where needed
- PDPageContentStream contentStream = new PDPageContentStream(doc, page);
- contentStream.beginText();
- contentStream.setFont(font, 12);
- contentStream.moveTextPositionByAmount(100, 700);
- contentStream.drawString(message);
- contentStream.endText();
- contentStream.saveGraphicsState();
- contentStream.close();
-
- PDDocumentCatalog cat = doc.getDocumentCatalog();
- PDMetadata metadata = new PDMetadata(doc);
- cat.setMetadata(metadata);
-
- // jempbox version
- XMPMetadata xmp = new XMPMetadata();
- XMPSchemaPDFAId pdfaid = new XMPSchemaPDFAId(xmp);
- xmp.addSchema(pdfaid);
- pdfaid.setConformance("B");
- pdfaid.setPart(1);
- pdfaid.setAbout("");
- metadata.importXMPMetadata(xmp.asByteArray());
-
- InputStream colorProfile = PDFA3File.class.getResourceAsStream("/sRGB Color Space Profile.icm");
- // create output intent
- PDOutputIntent oi = new PDOutputIntent(doc, colorProfile);
- oi.setInfo("sRGB IEC61966-2.1");
- oi.setOutputCondition("sRGB IEC61966-2.1");
- oi.setOutputConditionIdentifier("sRGB IEC61966-2.1");
- oi.setRegistryName("http://www.color.org");
- cat.addOutputIntent(oi);
-
- doc.save(file);
-
- }
- finally
- {
- if (doc != null)
- {
- doc.close();
- }
- }
- }
-
- /**
- * This will create a hello world PDF/A document.
- * see usage() for commandline
- *
- * @param args
- * Command line arguments.
- */
- public static void main(String[] args)
- {
- PDFAFile app = new PDFAFile();
- try
- {
- if (args.length != 2)
- {
- app.usage();
- }
- else
- {
- app.doIt(args[0], args[1]);
- }
- }
- catch (Exception e)
- {
- e.printStackTrace();
- }
- }
-
- /**
- * This will print out a message telling how to use this example.
- */
- private void usage()
- {
- System.err.println("usage: " + this.getClass().getName() + " ");
- }
-}
diff --git a/pdfa3-sample/src/main/resources/Ubuntu-R.ttf b/pdfa3-sample/src/main/resources/Ubuntu-R.ttf
deleted file mode 100644
index 45a038ba..00000000
Binary files a/pdfa3-sample/src/main/resources/Ubuntu-R.ttf and /dev/null differ
diff --git a/pdfa3-sample/src/main/resources/sRGB Color Space Profile.icm b/pdfa3-sample/src/main/resources/sRGB Color Space Profile.icm
deleted file mode 100644
index 7f9d18d0..00000000
Binary files a/pdfa3-sample/src/main/resources/sRGB Color Space Profile.icm and /dev/null differ
diff --git a/pdfa3-sample/src/test/java/pdfa3/TestPDFA3.java b/pdfa3-sample/src/test/java/pdfa3/TestPDFA3.java
deleted file mode 100644
index dde56a2f..00000000
--- a/pdfa3-sample/src/test/java/pdfa3/TestPDFA3.java
+++ /dev/null
@@ -1,30 +0,0 @@
-package pdfa3;
-
-import org.junit.Test;
-
-import pdfbox.PDFA3File;
-import pdfbox.PDFA3FileAttachment;
-import pdfbox.PDFAFile;
-
-public class TestPDFA3
-{
-
- @Test
- public void testPDFA3File()
- {
- PDFA3File.main(new String[] { "PDFA3File.pdf", "Messsage" });
- }
-
- @Test
- public void testPDFA3FileAttachment()
- {
- PDFA3FileAttachment.main(new String[] { "PDFA3FileAttachment.pdf", "Messsage" });
- }
-
- @Test
- public void testPDFAFile()
- {
- PDFAFile.main(new String[] { "PDFAFile.pdf", "Messsage" });
- }
-
-}
diff --git a/pom.xml b/pom.xml
index 4b0f2828..971ccfba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,87 +1,156 @@
+
- 4.0.0
- com.github.rayman2200
- mustang-sample-project
- 1.4.0-SNAPSHOT
- pom
-
-
- scm:git:https://github.com/ZUGFeRD/mustangproject.git
- scm:git:https://github.com/ZUGFeRD/mustangproject.git
- https://github.com/ZUGFeRD/mustangproject
- HEAD
-
-
-
-
- internal.repo
- Temporary Staging Repository
- file://${project.build.directory}/mvn-repo
-
-
-
-
- UTF-8
- github
- -Xdoclint:none
- 1.6
-
-
-
- mustang
- pdfa3-sample
-
-
-
-
- org.apache.pdfbox
- pdfbox
- 2.0.5
-
-
- junit
- junit
- 4.11
- test
-
-
-
-
-
-
- maven-deploy-plugin
- 2.8.2
-
- internal.repo::default::file://${project.build.directory}/mvn-repo
-
-
-
- com.github.github
- site-maven-plugin
- 0.11
-
- Maven artifacts for ${project.version}
- true
- ${project.build.directory}/mvn-repo
- refs/heads/mvn-repo
-
- **/*
-
- true
- mustangproject
- jstaerk
-
-
-
-
-
- site
-
- deploy
-
-
-
-
-
+ 4.0.0
+ org.mustangproject.ZUGFeRD
+ mustang
+ 1.4.1-SNAPSHOT
+ jar
+ Mustang
+ The Mustang project is a java library to read and write ZUGFeRD meta data inside your invoice PDFs
+ http://www.mustangproject.org/
+
+ scm:git:https://github.com/ZUGFeRD/mustangproject.git
+ scm:git:https://github.com/ZUGFeRD/mustangproject.git
+ https://github.com/ZUGFeRD/mustangproject
+ v1.4.0
+
+
+
+ internal.repo
+ Temporary Staging Repository
+ file://${project.build.directory}/mvn-repo
+
+
+
+ UTF-8
+ github
+ -Xdoclint:none
+
+ 1.6
+
+
+
+ org.glassfish.jaxb
+ jaxb-runtime
+ 2.2.11
+
+
+ org.apache.pdfbox
+ preflight
+ 2.0.5
+
+
+ org.apache.pdfbox
+ pdfbox
+ 2.0.5
+
+
+ junit
+ junit
+ 4.11
+ test
+
+
+
+
+
+ maven-deploy-plugin
+ 2.8.2
+
+ internal.repo::default::file://${project.build.directory}/mvn-repo
+
+
+
+ com.github.github
+ site-maven-plugin
+ 0.11
+
+ Maven artifacts for ${project.version}
+
+ true
+
+ ${project.build.directory}/mvn-repo
+
+ refs/heads/mvn-repo
+
+
+ **/*
+
+ true
+ mustangproject
+
+ ZUGFeRD
+
+
+
+
+
+
+ site
+
+ deploy
+
+
+
+
+ org.apache.maven.plugins
+ maven-shade-plugin
+ 2.4.3
+
+ true
+
+
+
+ package
+
+ shade
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ User List
+ https://groups.google.com/forum/?hl=de#!forum/mustangproject
+
+
+
+
+ Apache License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
+ repo
+ A business-friendly OSS license
+
+
+
+
+ Jochen Stärk
+ jstaerk@usegroup.de
+
+ architect
+ developer
+
+
+
+ Alexander Schmidt
+ schmidt.alexander@mail.de
+
+ developer
+
+
+
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDAllowanceCharge.java b/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDAllowanceCharge.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDAllowanceCharge.java
rename to src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDAllowanceCharge.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableContact.java b/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableContact.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableContact.java
rename to src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableContact.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableItem.java b/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableItem.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableItem.java
rename to src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableItem.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableProduct.java b/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableProduct.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableProduct.java
rename to src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableProduct.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableTransaction.java b/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableTransaction.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableTransaction.java
rename to src/main/java/org/mustangproject/ZUGFeRD/IZUGFeRDExportableTransaction.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/VATAmount.java b/src/main/java/org/mustangproject/ZUGFeRD/VATAmount.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/VATAmount.java
rename to src/main/java/org/mustangproject/ZUGFeRD/VATAmount.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaPDFAExtensions.java b/src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaPDFAExtensions.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaPDFAExtensions.java
rename to src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaPDFAExtensions.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaZugferd.java b/src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaZugferd.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaZugferd.java
rename to src/main/java/org/mustangproject/ZUGFeRD/XMPSchemaZugferd.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java b/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java
similarity index 97%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java
rename to src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java
index 9a15cd52..5786b47c 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDExporter.java
@@ -389,7 +389,7 @@ public class ZUGFeRDExporter implements Closeable {
/***
* Will return a boolean if the inputstream is valid PDF/A-1 and close the input stream
* @param file
- * @return
+ * @return boolean
*/
public boolean isValidA1(InputStream file) {
@@ -1298,7 +1298,7 @@ public class ZUGFeRDExporter implements Closeable {
* 19% VAT (=>190 EUR VAT) and 200 EUR were applicable to 7% (=>14 EUR VAT)
* 190 Eur
*
- * @return
+ * @return HashMap
*
*/
private HashMap getVATPercentAmountMap() {
@@ -1553,7 +1553,7 @@ public class ZUGFeRDExporter implements Closeable {
/****
* Returns the PDFBox PDF Document
*
- * @return
+ * @return PDDocument
*/
public PDDocument getDoc() {
return doc;
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDImporter.java b/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDImporter.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDImporter.java
rename to src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDImporter.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/AllowanceChargeReasonCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/AllowanceChargeReasonCodeType.java
similarity index 93%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/AllowanceChargeReasonCodeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/AllowanceChargeReasonCodeType.java
index 5220fd23..7a24d346 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/AllowanceChargeReasonCodeType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/AllowanceChargeReasonCodeType.java
@@ -45,9 +45,7 @@ public class AllowanceChargeReasonCodeType {
/**
* Ruft den Wert der value-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link String }
+ * @return String value
*
*/
public String getValue() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/AmountType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/AmountType.java
similarity index 91%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/AmountType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/AmountType.java
index 0ab2dac3..fcbc3d33 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/AmountType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/AmountType.java
@@ -50,9 +50,7 @@ public class AmountType {
/**
* Ruft den Wert der value-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link BigDecimal }
+ * @return BigDecimal net value
*
*/
public BigDecimal getValue() {
@@ -74,9 +72,7 @@ public class AmountType {
/**
* Ruft den Wert der currencyID-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link String }
+ * @return String three-Character ISO currency
*
*/
public String getCurrencyID() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/CodeType.java
similarity index 90%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CodeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/CodeType.java
index 867c1cd1..93cdf57d 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CodeType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/CodeType.java
@@ -58,9 +58,7 @@ public class CodeType {
/**
* Ruft den Wert der value-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link String }
+ * @return String
*
*/
public String getValue() {
@@ -82,9 +80,7 @@ public class CodeType {
/**
* Ruft den Wert der listID-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link String }
+ * @return String
*
*/
public String getListID() {
@@ -106,9 +102,7 @@ public class CodeType {
/**
* Ruft den Wert der listVersionID-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link String }
+ * @return String
*
*/
public String getListVersionID() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CountryIDType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/CountryIDType.java
similarity index 92%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CountryIDType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/CountryIDType.java
index 726dc394..132d223a 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CountryIDType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/CountryIDType.java
@@ -45,9 +45,7 @@ public class CountryIDType {
/**
* Ruft den Wert der value-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link String }
+ * @return String
*
*/
public String getValue() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialAccountType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialAccountType.java
similarity index 94%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialAccountType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialAccountType.java
index 48f9bef1..5e1c9260 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialAccountType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialAccountType.java
@@ -53,9 +53,7 @@ public class CreditorFinancialAccountType {
/**
* Ruft den Wert der ibanid-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link IDType }
+ * @return IDType IBANID,AccountName or ProprietaryID
*
*/
public IDType getIBANID() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialInstitutionType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialInstitutionType.java
similarity index 90%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialInstitutionType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialInstitutionType.java
index b420f083..6ee1f7db 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialInstitutionType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/CreditorFinancialInstitutionType.java
@@ -53,9 +53,7 @@ public class CreditorFinancialInstitutionType {
/**
* Ruft den Wert der bicid-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link IDType }
+ * @return IDType
*
*/
public IDType getBICID() {
@@ -77,9 +75,7 @@ public class CreditorFinancialInstitutionType {
/**
* Ruft den Wert der germanBankleitzahlID-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link IDType }
+ * @return IDType
*
*/
public IDType getGermanBankleitzahlID() {
@@ -101,9 +97,7 @@ public class CreditorFinancialInstitutionType {
/**
* Ruft den Wert der name-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link TextType }
+ * @return TextType
*
*/
public TextType getName() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CrossIndustryDocumentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/CrossIndustryDocumentType.java
similarity index 91%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CrossIndustryDocumentType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/CrossIndustryDocumentType.java
index ef5859e8..e7d85950 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/CrossIndustryDocumentType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/CrossIndustryDocumentType.java
@@ -56,9 +56,7 @@ public class CrossIndustryDocumentType {
/**
* Ruft den Wert der specifiedExchangedDocumentContext-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link ExchangedDocumentContextType }
+ * @return ExchangedDocumentContextType
*
*/
public ExchangedDocumentContextType getSpecifiedExchangedDocumentContext() {
@@ -80,9 +78,7 @@ public class CrossIndustryDocumentType {
/**
* Ruft den Wert der headerExchangedDocument-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link ExchangedDocumentType }
+ * @return ExchangedDocumentType
*
*/
public ExchangedDocumentType getHeaderExchangedDocument() {
@@ -104,9 +100,7 @@ public class CrossIndustryDocumentType {
/**
* Ruft den Wert der specifiedSupplyChainTradeTransaction-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link SupplyChainTradeTransactionType }
+ * @return SupplyChainTradeTransactionType
*
*/
public SupplyChainTradeTransactionType getSpecifiedSupplyChainTradeTransaction() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeType.java
similarity index 91%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeType.java
index 52c45f22..55e790dd 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/DateTimeType.java
@@ -55,9 +55,7 @@ public class DateTimeType {
/**
* Ruft den Wert der dateTimeString-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link DateTimeType.DateTimeString }
+ * @return DateTimeType.DateTimeString
*
*/
public DateTimeType.DateTimeString getDateTimeString() {
@@ -112,9 +110,7 @@ public class DateTimeType {
/**
* Ruft den Wert der value-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link String }
+ * @return String
*
*/
public String getValue() {
@@ -136,9 +132,7 @@ public class DateTimeType {
/**
* Ruft den Wert der format-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link String }
+ * @return String
*
*/
public String getFormat() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialAccountType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialAccountType.java
similarity index 91%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialAccountType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialAccountType.java
index 5bebb29e..d967547c 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialAccountType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialAccountType.java
@@ -49,9 +49,7 @@ public class DebtorFinancialAccountType {
/**
* Ruft den Wert der ibanid-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link IDType }
+ * @return IDType
*
*/
public IDType getIBANID() {
@@ -73,9 +71,7 @@ public class DebtorFinancialAccountType {
/**
* Ruft den Wert der proprietaryID-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link IDType }
+ * @return IDType
*
*/
public IDType getProprietaryID() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialInstitutionType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialInstitutionType.java
similarity index 90%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialInstitutionType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialInstitutionType.java
index fb3a222e..fd728f34 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialInstitutionType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/DebtorFinancialInstitutionType.java
@@ -53,9 +53,7 @@ public class DebtorFinancialInstitutionType {
/**
* Ruft den Wert der bicid-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link IDType }
+ * @return IDType
*
*/
public IDType getBICID() {
@@ -77,9 +75,7 @@ public class DebtorFinancialInstitutionType {
/**
* Ruft den Wert der germanBankleitzahlID-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link IDType }
+ * @return IDType
*
*/
public IDType getGermanBankleitzahlID() {
@@ -101,9 +97,7 @@ public class DebtorFinancialInstitutionType {
/**
* Ruft den Wert der name-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link TextType }
+ * @return TextType
*
*/
public TextType getName() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DeliveryTermsCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DeliveryTermsCodeType.java
similarity index 93%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DeliveryTermsCodeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/DeliveryTermsCodeType.java
index f17d00b8..49d18303 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DeliveryTermsCodeType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/DeliveryTermsCodeType.java
@@ -45,9 +45,7 @@ public class DeliveryTermsCodeType {
/**
* Ruft den Wert der value-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link String }
+ * @return String
*
*/
public String getValue() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeType.java
similarity index 93%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeType.java
index da849b42..8b78f7bf 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentCodeType.java
@@ -49,9 +49,7 @@ public class DocumentCodeType {
/**
* Ruft den Wert der value-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link String }
+ * @return String
*
*/
public String getValue() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterType.java
similarity index 93%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterType.java
index a085d183..2ae0a51d 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentContextParameterType.java
@@ -48,9 +48,7 @@ public class DocumentContextParameterType {
/**
* Ruft den Wert der id-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link IDType }
+ * @return IDType
*
*/
public IDType getID() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentLineDocumentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentLineDocumentType.java
similarity index 94%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentLineDocumentType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/DocumentLineDocumentType.java
index 64a7057c..b3ade434 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentLineDocumentType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/DocumentLineDocumentType.java
@@ -51,9 +51,7 @@ public class DocumentLineDocumentType {
/**
* Ruft den Wert der lineID-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link IDType }
+ * @return IDType
*
*/
public IDType getLineID() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentContextType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentContextType.java
similarity index 95%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentContextType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentContextType.java
index e33b7ed7..a0803d90 100644
--- a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentContextType.java
+++ b/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentContextType.java
@@ -55,9 +55,7 @@ public class ExchangedDocumentContextType {
/**
* Ruft den Wert der testIndicator-Eigenschaft ab.
*
- * @return
- * possible object is
- * {@link IndicatorType }
+ * @return IndicatorType
*
*/
public IndicatorType getTestIndicator() {
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/ExchangedDocumentType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/IDType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/IDType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/IDType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/IDType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/IndicatorType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/IndicatorType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/IndicatorType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/IndicatorType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsServiceChargeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsServiceChargeType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsServiceChargeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsServiceChargeType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsTransportMovementType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsTransportMovementType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsTransportMovementType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/LogisticsTransportMovementType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/MeasureType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/MeasureType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/MeasureType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/MeasureType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/NoteType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/NoteType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/NoteType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/NoteType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/NumericType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/NumericType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/NumericType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/NumericType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ObjectFactory.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ObjectFactory.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ObjectFactory.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/ObjectFactory.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/PaymentMeansCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/PaymentMeansCodeType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/PaymentMeansCodeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/PaymentMeansCodeType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/PercentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/PercentType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/PercentType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/PercentType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ProductCharacteristicType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ProductCharacteristicType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ProductCharacteristicType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/ProductCharacteristicType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ProductClassificationType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ProductClassificationType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ProductClassificationType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/ProductClassificationType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/QuantityType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/QuantityType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/QuantityType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/QuantityType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ReferenceCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ReferenceCodeType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ReferenceCodeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/ReferenceCodeType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedDocumentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedDocumentType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedDocumentType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedDocumentType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedProductType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedProductType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedProductType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/ReferencedProductType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SpecifiedPeriodType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SpecifiedPeriodType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SpecifiedPeriodType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/SpecifiedPeriodType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainConsignmentType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainConsignmentType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainConsignmentType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainConsignmentType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainEventType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainEventType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainEventType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainEventType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeAgreementType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeAgreementType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeAgreementType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeAgreementType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeDeliveryType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeDeliveryType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeDeliveryType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeDeliveryType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeLineItemType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeLineItemType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeLineItemType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeLineItemType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeSettlementType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeSettlementType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeSettlementType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeSettlementType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeTransactionType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeTransactionType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeTransactionType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/SupplyChainTradeTransactionType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TaxCategoryCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxCategoryCodeType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TaxCategoryCodeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TaxCategoryCodeType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TaxRegistrationType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxRegistrationType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TaxRegistrationType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TaxRegistrationType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TaxTypeCodeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TaxTypeCodeType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TaxTypeCodeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TaxTypeCodeType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TextType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TextType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TextType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TextType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAccountingAccountType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAccountingAccountType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAccountingAccountType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradeAccountingAccountType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAddressType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAddressType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAddressType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradeAddressType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAllowanceChargeType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAllowanceChargeType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeAllowanceChargeType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradeAllowanceChargeType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeContactType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeContactType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeContactType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradeContactType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeCountryType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeCountryType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeCountryType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradeCountryType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeDeliveryTermsType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeDeliveryTermsType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeDeliveryTermsType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradeDeliveryTermsType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradePartyType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradePartyType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradePartyType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradePartyType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentDiscountTermsType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentDiscountTermsType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentDiscountTermsType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentDiscountTermsType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentPenaltyTermsType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentPenaltyTermsType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentPenaltyTermsType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentPenaltyTermsType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentTermsType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentTermsType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentTermsType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradePaymentTermsType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradePriceType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradePriceType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradePriceType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradePriceType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeProductType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeProductType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeProductType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradeProductType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementMonetarySummationType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementMonetarySummationType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementMonetarySummationType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementMonetarySummationType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementPaymentMeansType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementPaymentMeansType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementPaymentMeansType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradeSettlementPaymentMeansType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeTaxType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/TradeTaxType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/TradeTaxType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/TradeTaxType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/UniversalCommunicationType.java b/src/main/java/org/mustangproject/ZUGFeRD/model/UniversalCommunicationType.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/UniversalCommunicationType.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/UniversalCommunicationType.java
diff --git a/mustang/src/main/java/org/mustangproject/ZUGFeRD/model/package-info.java b/src/main/java/org/mustangproject/ZUGFeRD/model/package-info.java
similarity index 100%
rename from mustang/src/main/java/org/mustangproject/ZUGFeRD/model/package-info.java
rename to src/main/java/org/mustangproject/ZUGFeRD/model/package-info.java
diff --git a/mustang/src/test/java/org/mustangproject/ZUGFeRD/MustangReaderWriterEdgeTest.java b/src/test/java/org/mustangproject/ZUGFeRD/MustangReaderWriterEdgeTest.java
similarity index 100%
rename from mustang/src/test/java/org/mustangproject/ZUGFeRD/MustangReaderWriterEdgeTest.java
rename to src/test/java/org/mustangproject/ZUGFeRD/MustangReaderWriterEdgeTest.java
diff --git a/mustang/src/test/java/org/mustangproject/ZUGFeRD/MustangReaderWriterTest.java b/src/test/java/org/mustangproject/ZUGFeRD/MustangReaderWriterTest.java
similarity index 100%
rename from mustang/src/test/java/org/mustangproject/ZUGFeRD/MustangReaderWriterTest.java
rename to src/test/java/org/mustangproject/ZUGFeRD/MustangReaderWriterTest.java
diff --git a/mustang/src/test/resources/MustangGnuaccountingBeispielRE-20170509_505.pdf b/src/test/resources/MustangGnuaccountingBeispielRE-20170509_505.pdf
similarity index 100%
rename from mustang/src/test/resources/MustangGnuaccountingBeispielRE-20170509_505.pdf
rename to src/test/resources/MustangGnuaccountingBeispielRE-20170509_505.pdf
diff --git a/mustang/src/test/resources/MustangGnuaccountingBeispielRE-20170509_505blanko.pdf b/src/test/resources/MustangGnuaccountingBeispielRE-20170509_505blanko.pdf
similarity index 100%
rename from mustang/src/test/resources/MustangGnuaccountingBeispielRE-20170509_505blanko.pdf
rename to src/test/resources/MustangGnuaccountingBeispielRE-20170509_505blanko.pdf
diff --git a/toecount/pom.xml b/toecount/pom.xml
new file mode 100755
index 00000000..339e27f0
--- /dev/null
+++ b/toecount/pom.xml
@@ -0,0 +1,79 @@
+
+
+ 4.0.0
+ org.mustangproject.ZUGFeRD
+ toecount
+ 0.0.9-SNAPSHOT
+ ZUGFeRD PDF checker
+ Shows statistics on how many PDFs in a directory are ZUGFeRD-Compliant
+
+
+ mustang-mvn-repo
+ https://raw.github.com/ZUGFeRD/mustangproject/mvn-repo/
+
+
+ sonatype-oss-public
+ https://oss.sonatype.org/content/groups/public/
+
+ true
+
+
+ true
+
+
+
+
+
+ org.mustangproject.ZUGFeRD
+ mustang
+ 1.4.0
+
+
+ com.sanityinc
+ jargs
+ 2.0-SNAPSHOT
+
+
+ commons-logging
+ commons-logging
+ 1.1.1
+
+
+
+
+
+ maven-assembly-plugin
+
+
+
+ toecount.Toecount
+
+
+
+ jar-with-dependencies
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 2.3.2
+
+
+
+ true
+ toecount.Toecount
+
+
+
+ jar-with-dependencies
+
+
+
+ 1.7
+ 1.7
+
+
+
+
+
diff --git a/mustang/toecount/src/main/java/toecount/FileChecker.java b/toecount/src/main/java/toecount/FileChecker.java
similarity index 100%
rename from mustang/toecount/src/main/java/toecount/FileChecker.java
rename to toecount/src/main/java/toecount/FileChecker.java
diff --git a/mustang/toecount/src/main/java/toecount/FileTraverser.java b/toecount/src/main/java/toecount/FileTraverser.java
similarity index 100%
rename from mustang/toecount/src/main/java/toecount/FileTraverser.java
rename to toecount/src/main/java/toecount/FileTraverser.java
diff --git a/mustang/toecount/src/main/java/toecount/StatRun.java b/toecount/src/main/java/toecount/StatRun.java
similarity index 100%
rename from mustang/toecount/src/main/java/toecount/StatRun.java
rename to toecount/src/main/java/toecount/StatRun.java
diff --git a/mustang/toecount/src/main/java/toecount/Toecount.java b/toecount/src/main/java/toecount/Toecount.java
similarity index 100%
rename from mustang/toecount/src/main/java/toecount/Toecount.java
rename to toecount/src/main/java/toecount/Toecount.java