372 lines
16 KiB
XML
372 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<groupId>org.mustangproject</groupId>
|
|
<artifactId>core</artifactId>
|
|
<version>2.20.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>library</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Library to write, read and validate e-invoices (Factur-X, ZUGFeRD, Order-X, XRechnung/CII)</name>
|
|
<description>FOSS Java library to read, write and validate european electronic invoices and orders in the UN/CEFACT
|
|
Cross Industry Invoice based formats Factur-X/ZUGFeRD, XRechnung and Order-X in your invoice PDFs.
|
|
</description>
|
|
<url>http://www.mustangproject.org/</url>
|
|
<scm>
|
|
<connection>scm:git:https://github.com/ZUGFeRD/mustangproject.git</connection>
|
|
<developerConnection>scm:git:https://github.com/ZUGFeRD/mustangproject.git</developerConnection>
|
|
<url>https://github.com/ZUGFeRD/mustangproject</url>
|
|
<tag>core-2.3.2</tag>
|
|
</scm>
|
|
<repositories>
|
|
<repository><!-- for jargs -->
|
|
<id>sonatype-oss-public</id>
|
|
<url>https://oss.sonatype.org/content/groups/public/</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
</repositories>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>internal.repo</id>
|
|
<name>Temporary Staging Repository</name>
|
|
<url>file://${project.build.directory}/mvn-repo</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<github.global.server>github</github.global.server>
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
<!-- Skip error check for javadoc -->
|
|
<maven.compiler.release>11</maven.compiler.release>
|
|
<maven.deploy.skip>true</maven.deploy.skip><!-- do deploy to maven central, parent project does not and inherits -->
|
|
</properties>
|
|
<dependencies>
|
|
<!-- compile dependencies -->
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${version.org.slf4j}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>net.sf.saxon</groupId>
|
|
<artifactId>Saxon-HE</artifactId>
|
|
<version>${version.net.sf.saxon}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
<version>${version.com.fasterxml.jackson.core}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.xmlgraphics</groupId>
|
|
<artifactId>fop-core</artifactId>
|
|
<version>${version.org.apache.xmlgraphics}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>xml-apis</groupId>
|
|
<artifactId>xml-apis</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.xml.bind</groupId>
|
|
<artifactId>jakarta.xml.bind-api</artifactId>
|
|
<version>${version.jakarta.xml.bind}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
<artifactId>preflight</artifactId>
|
|
<version>${version.org.apache.pdfbox}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.pdfbox</groupId>
|
|
<artifactId>pdfbox</artifactId>
|
|
<version>${version.org.apache.pdfbox}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.dom4j</groupId>
|
|
<artifactId>dom4j</artifactId>
|
|
<version>${version.org.dom4j}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>*</groupId>
|
|
<artifactId>*</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
<!-- CII to UBL conversion -->
|
|
<dependency>
|
|
<groupId>com.helger</groupId>
|
|
<artifactId>en16931-cii2ubl</artifactId>
|
|
<version>${version.com.helger.en16931-cii2ubl}</version>
|
|
</dependency>
|
|
|
|
<!-- test dependencies -->
|
|
<dependency>
|
|
<groupId>org.skyscreamer</groupId>
|
|
<artifactId>jsonassert</artifactId>
|
|
<version>${version.org.skyscreamer}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
<version>${version.org.junit}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.vintage</groupId>
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
<version>${version.org.junit}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xmlunit</groupId>
|
|
<artifactId>xmlunit-core</artifactId>
|
|
<version>${version.org.xmlunit}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.xmlunit</groupId>
|
|
<artifactId>xmlunit-assertj</artifactId>
|
|
<version>${version.org.xmlunit}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
<version>${version.org.glassfish.jaxb}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>${version.org.apache.maven.plugins.maven-surefire-plugin}</version>
|
|
<configuration>
|
|
<runOrder>alphabetical</runOrder>
|
|
<argLine>-Duser.timezone=UTC</argLine>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>${version.org.apache.maven.plugins.maven-compiler-plugin}</version>
|
|
<configuration>
|
|
<!-- http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven
|
|
mvn clean compile assembly:single -->
|
|
<!-- or whatever version you use -->
|
|
<source>11</source>
|
|
<target>11</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>${version.org.apache.maven.plugins.maven-jar-plugin}</version>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/logback.xml</exclude>
|
|
</excludes>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
</manifest>
|
|
<manifestSections>
|
|
<manifestSection>
|
|
<name>SourceSansPro-Regular.ttf</name>
|
|
<manifestEntries>
|
|
<Content-Type>font/ttf</Content-Type>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
<manifestSection>
|
|
<name>SourceSansPro-It.ttf</name>
|
|
<manifestEntries>
|
|
<Content-Type>font/ttf</Content-Type>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
<manifestSection>
|
|
<name>SourceSansPro-Bold.ttf</name>
|
|
<manifestEntries>
|
|
<Content-Type>font/ttf</Content-Type>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
<manifestSection>
|
|
<name>SourceSansPro-BoldIt.ttf</name>
|
|
<manifestEntries>
|
|
<Content-Type>font/ttf</Content-Type>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
<manifestSection>
|
|
<name>SourceSerifPro-Regular.ttf</name>
|
|
<manifestEntries>
|
|
<Content-Type>font/ttf</Content-Type>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
<manifestSection>
|
|
<name>SourceSerifPro-It.ttf</name>
|
|
<manifestEntries>
|
|
<Content-Type>font/ttf</Content-Type>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
<manifestSection>
|
|
<name>SourceSerifPro-Bold.ttf</name>
|
|
<manifestEntries>
|
|
<Content-Type>font/ttf</Content-Type>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
<manifestSection>
|
|
<name>SourceSerifPro-BoldIt.ttf</name>
|
|
<manifestEntries>
|
|
<Content-Type>font/ttf</Content-Type>
|
|
</manifestEntries>
|
|
</manifestSection>
|
|
</manifestSections>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>${version.org.apache.maven.plugins.maven-source-plugin}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar-no-fork</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.5.3</version>
|
|
<configuration>
|
|
<shadedArtifactAttached>true</shadedArtifactAttached>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>LICENSE</exclude>
|
|
<exclude>NOTICE</exclude>
|
|
<exclude>META-INF/DEPENDENCIES</exclude>
|
|
<exclude>META-INF/LICENSE</exclude>
|
|
<exclude>META-INF/LICENSE.md</exclude>
|
|
<exclude>META-INF/LICENSE.txt</exclude>
|
|
<exclude>META-INF/NOTICE</exclude>
|
|
<exclude>META-INF/NOTICE.md</exclude>
|
|
<exclude>META-INF/NOTICE.txt</exclude>
|
|
<exclude>META-INF/MANIFEST.MF</exclude>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>templating-maven-plugin</artifactId>
|
|
<version>${version.org.codehaus.mojo}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>filtering-java-templates</id>
|
|
<goals>
|
|
<goal>filter-sources</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
|
|
<profiles>
|
|
<profile>
|
|
<id>release-sign-artifacts</id>
|
|
<activation>
|
|
<property>
|
|
<name>performRelease</name>
|
|
<value>true</value>
|
|
</property>
|
|
</activation>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-toolchains-plugin</artifactId>
|
|
<version>${version.org.apache.maven.plugins.maven-toolchains-plugin}</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>toolchain</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<toolchains>
|
|
<jdk>
|
|
<version>11</version>
|
|
<vendor>adopt</vendor>
|
|
</jdk>
|
|
</toolchains>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
<mailingLists>
|
|
<mailingList>
|
|
<name>User List</name>
|
|
<archive>https://groups.google.com/forum/?hl=de#!forum/mustangproject</archive>
|
|
</mailingList>
|
|
</mailingLists>
|
|
<licenses>
|
|
<license>
|
|
<name>Apache License, Version 2.0</name>
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
<distribution>repo</distribution>
|
|
<comments>A business-friendly OSS license</comments>
|
|
</license>
|
|
</licenses>
|
|
<developers>
|
|
<developer>
|
|
<name>Jochen Stärk</name>
|
|
<email>jstaerk@usegroup.de</email>
|
|
<roles>
|
|
<role>architect</role>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<name>Alexander Schmidt</name>
|
|
<email>schmidt.alexander@mail.de</email>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
</project>
|