ZUGFeRD/mustangproject


Open Source Java e-Invoicing library, validator and tool (Factur-X/ZUGFeRD, UNCEFACT/CII XRechnung) http://www.mustangproject.org

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.jstaerk:mustangproject:2.1.1'
	}
	dependencies {
		implementation("com.github.jstaerk:mustangproject:2.1.1")
	}
	<dependency>
	    <groupId>com.github.jstaerk</groupId>
	    <artifactId>mustangproject</artifactId>
	    <version>2.1.1</version>
	</dependency>

                            
    libraryDependencies += "com.github.jstaerk" % "mustangproject" % "2.1.1"
        
        

                            
    :dependencies [[com.github.jstaerk/mustangproject "2.1.1"]]
        
        

Readme


Mustangproject

Source code repository for the Mustang project open source java PDF invoice metadata library in ZUGFeRD format.

Build

These are the recommended dependencies for the project:

  • OpenJDK 21.0.2 2024-01-16
  • Apache Maven 3.9.6

You can build the project with:

mvn clean install

This will run the tests, build the project artefacts, and install the artifacts to the local cache. After that the mustang JAR can be used.

More information on how to develop on mustang:

Usage

If you set up a Maven project, you can reference the mustang artifact like this:

<dependency>
    <groupId>org.mustangproject</groupId>
    <artifactId>validator</artifactId>
    <version>2.15.0</version>
    <classifier>shaded</classifier>
</dependency>

Further docs on how to develop with mustang:

Contact

Developer: Jochen Stärk. For questions please contact Jochen at jstaerk [at] usegroup.de

License

Subject to the Apache-2.0 license.