added sonatype-oss-public repository for jargs

This commit is contained in:
Jochen Stärk
2017-10-09 18:42:42 +02:00
parent 1a054326e9
commit e293748d6f

484
pom.xml
View File

@@ -1,241 +1,253 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<groupId>org.mustangproject.ZUGFeRD</groupId> <modelVersion>4.0.0</modelVersion>
<artifactId>mustang</artifactId> <groupId>org.mustangproject.ZUGFeRD</groupId>
<version>1.4.2-SNAPSHOT</version> <artifactId>mustang</artifactId>
<packaging>jar</packaging> <version>1.4.2-SNAPSHOT</version>
<name>Mustang</name> <packaging>jar</packaging>
<description>The Mustang project is a java library to read and write ZUGFeRD meta data inside your invoice PDFs</description> <name>Mustang</name>
<url>http://www.mustangproject.org/</url> <description>The Mustang project is a java library to read and write ZUGFeRD meta data inside your invoice PDFs</description>
<scm> <url>http://www.mustangproject.org/</url>
<connection>scm:git:https://github.com/ZUGFeRD/mustangproject.git</connection> <scm>
<developerConnection>scm:git:https://github.com/ZUGFeRD/mustangproject.git</developerConnection> <connection>scm:git:https://github.com/ZUGFeRD/mustangproject.git</connection>
<url>https://github.com/ZUGFeRD/mustangproject</url> <developerConnection>scm:git:https://github.com/ZUGFeRD/mustangproject.git</developerConnection>
<tag>v1.4.0</tag> <url>https://github.com/ZUGFeRD/mustangproject</url>
</scm> <tag>v1.4.0</tag>
<distributionManagement> </scm>
<repository> <repositories>
<id>internal.repo</id> <repository><!-- for jargs -->
<name>Temporary Staging Repository</name> <id>sonatype-oss-public</id>
<url>file://${project.build.directory}/mvn-repo</url> <url>https://oss.sonatype.org/content/groups/public/</url>
</repository> <releases>
</distributionManagement> <enabled>true</enabled>
<properties> </releases>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <snapshots>
<github.global.server>github</github.global.server> <enabled>true</enabled>
<additionalparam>-Xdoclint:none</additionalparam> </snapshots>
<!-- Skip error check for javadoc --> </repository>
<maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion> </repositories>
<maven.compiler.source>1.7</maven.compiler.source> <distributionManagement>
<maven.compiler.target>1.7</maven.compiler.target> <repository>
</properties> <id>internal.repo</id>
<dependencies> <name>Temporary Staging Repository</name>
<dependency> <url>file://${project.build.directory}/mvn-repo</url>
<groupId>org.glassfish.jaxb</groupId> </repository>
<artifactId>jaxb-runtime</artifactId> </distributionManagement>
<version>2.2.11</version> <properties>
</dependency> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<dependency> <github.global.server>github</github.global.server>
<groupId>org.apache.pdfbox</groupId> <additionalparam>-Xdoclint:none</additionalparam>
<artifactId>preflight</artifactId> <!-- Skip error check for javadoc -->
<version>2.0.5</version> <maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
</dependency> <maven.compiler.source>1.7</maven.compiler.source>
<dependency> <maven.compiler.target>1.7</maven.compiler.target>
<groupId>org.apache.pdfbox</groupId> </properties>
<artifactId>pdfbox</artifactId> <dependencies>
<version>2.0.5</version> <dependency>
</dependency> <groupId>org.glassfish.jaxb</groupId>
<dependency> <artifactId>jaxb-runtime</artifactId>
<groupId>junit</groupId> <version>2.2.11</version>
<artifactId>junit</artifactId> </dependency>
<version>4.11</version> <dependency>
<scope>test</scope> <groupId>org.apache.pdfbox</groupId>
</dependency> <artifactId>preflight</artifactId>
<dependency> <version>2.0.5</version>
<groupId>com.helger</groupId> </dependency>
<artifactId>ph-schematron</artifactId> <dependency>
<version>4.3.1</version> <groupId>org.apache.pdfbox</groupId>
<scope>test</scope> <artifactId>pdfbox</artifactId>
</dependency> <version>2.0.5</version>
<!-- For Toecount --> </dependency>
<dependency> <dependency>
<groupId>com.sanityinc</groupId> <groupId>junit</groupId>
<artifactId>jargs</artifactId> <artifactId>junit</artifactId>
<version>2.0-SNAPSHOT</version> <version>4.11</version>
</dependency> <scope>test</scope>
</dependency>
<dependency>
<groupId>com.helger</groupId>
<artifactId>ph-schematron</artifactId>
<version>4.3.1</version>
<scope>test</scope>
</dependency>
<!-- For Toecount -->
<dependency>
<groupId>com.sanityinc</groupId>
<artifactId>jargs</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
<!-- toecount --> <!-- toecount -->
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<mainClass>org.mustangproject.toecount.Toecount</mainClass> <mainClass>org.mustangproject.toecount.Toecount</mainClass>
</manifest> </manifest>
</archive> </archive>
<descriptorRefs> <descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef> <descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs> </descriptorRefs>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version> <version>2.3.2</version>
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<addClasspath>true</addClasspath> <addClasspath>true</addClasspath>
<mainClass>org.mustangproject.toecount.Toecount</mainClass> <mainClass>org.mustangproject.toecount.Toecount</mainClass>
</manifest> </manifest>
</archive> </archive>
<descriptorRefs> <descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef> <descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs> </descriptorRefs>
<!-- http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven mvn clean compile assembly:single --> <!-- http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven
<!-- or whatever version you use --> mvn clean compile assembly:single -->
<source>1.7</source> <!-- or whatever version you use -->
<target>1.7</target> <source>1.7</source>
</configuration> <target>1.7</target>
</plugin> </configuration>
</plugin>
<!-- /toecount --> <!-- /toecount -->
<plugin> <plugin>
<artifactId>maven-deploy-plugin</artifactId> <artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version> <version>2.8.2</version>
<configuration> <configuration>
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository> <altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>com.github.github</groupId> <groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId> <artifactId>site-maven-plugin</artifactId>
<version>0.11</version> <version>0.11</version>
<configuration> <configuration>
<message>Maven artifacts for ${project.version}</message> <message>Maven artifacts for ${project.version}</message>
<!-- git commit message --> <!-- git commit message -->
<noJekyll>true</noJekyll> <noJekyll>true</noJekyll>
<!-- disable webpage processing --> <!-- disable webpage processing -->
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
<!-- matches distribution management repository url above --> <!-- matches distribution management repository url above -->
<branch>refs/heads/mvn-repo</branch> <branch>refs/heads/mvn-repo</branch>
<!-- remote branch name --> <!-- remote branch name -->
<includes> <includes>
<include>**/*</include> <include>**/*</include>
</includes> </includes>
<merge>true</merge> <merge>true</merge>
<repositoryName>mustangproject</repositoryName> <repositoryName>mustangproject</repositoryName>
<!-- github repo name --> <!-- github repo name -->
<repositoryOwner>ZUGFeRD</repositoryOwner> <repositoryOwner>ZUGFeRD</repositoryOwner>
<!-- github username --> <!-- github username -->
</configuration> </configuration>
<executions> <executions>
<!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase --> <!-- run site-maven-plugin's 'site' target as part of the build's normal
<execution> 'deploy' phase -->
<goals> <execution>
<goal>site</goal> <goals>
</goals> <goal>site</goal>
<phase>deploy</phase> </goals>
</execution> <phase>deploy</phase>
</executions> </execution>
</plugin> </executions>
<plugin> </plugin>
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-shade-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>2.4.3</version> <artifactId>maven-shade-plugin</artifactId>
<configuration> <version>2.4.3</version>
<minimizeJar>true</minimizeJar> <configuration>
</configuration> <minimizeJar>true</minimizeJar>
<executions> </configuration>
<execution> <executions>
<phase>package</phase> <execution>
<goals> <phase>package</phase>
<goal>shade</goal> <goals>
</goals> <goal>shade</goal>
<configuration> </goals>
<artifactSet> <configuration>
<excludes> <artifactSet>
<!--exclude>classworlds:classworlds</exclude> <excludes>
<exclude>junit:junit</exclude> <!--exclude>classworlds:classworlds</exclude> <exclude>junit:junit</exclude>
<exclude>jmock:*</exclude> <exclude>jmock:*</exclude> <exclude>*:xml-apis</exclude> <exclude>org.apache.maven:lib:tests</exclude>
<exclude>*:xml-apis</exclude> <exclude>log4j:log4j:jar:</exclude -->
<exclude>org.apache.maven:lib:tests</exclude> </excludes>
<exclude>log4j:log4j:jar:</exclude--> </artifactSet>
</excludes> </configuration>
</artifactSet> </execution>
</configuration> </executions>
</execution> </plugin>
</executions> <plugin>
</plugin> <groupId>org.codehaus.mojo</groupId>
<plugin> <artifactId>templating-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId> <version>1.0.0</version>
<artifactId>templating-maven-plugin</artifactId> <executions>
<version>1.0.0</version> <execution>
<executions> <id>filtering-java-templates</id>
<execution> <goals>
<id>filtering-java-templates</id> <goal>filter-sources</goal>
<goals> </goals>
<goal>filter-sources</goal> </execution>
</goals> </executions>
</execution> </plugin>
</executions> <plugin>
</plugin> <groupId>org.codehaus.mojo</groupId>
<plugin> <artifactId>jaxb2-maven-plugin</artifactId>
<groupId>org.codehaus.mojo</groupId> <version>2.3.1</version>
<artifactId>jaxb2-maven-plugin</artifactId> <executions>
<version>2.3.1</version> <execution>
<executions> <id>xjc</id>
<execution> <goals>
<id>xjc</id> <goal>xjc</goal>
<goals> </goals>
<goal>xjc</goal> </execution>
</goals> </executions>
</execution> <configuration>
</executions> <target>2.1</target>
<configuration> <packageName>org.mustangproject.ZUGFeRD.model</packageName>
<target>2.1</target> <sources>
<packageName>org.mustangproject.ZUGFeRD.model</packageName> <source>src/main/schema/ZUGFeRD1p0.xsd</source>
<sources> </sources>
<source>src/main/schema/ZUGFeRD1p0.xsd</source> </configuration>
</sources> </plugin>
</configuration> </plugins>
</plugin> </build>
</plugins> <mailingLists>
</build> <mailingList>
<mailingLists> <name>User List</name>
<mailingList> <archive>https://groups.google.com/forum/?hl=de#!forum/mustangproject</archive>
<name>User List</name> </mailingList>
<archive>https://groups.google.com/forum/?hl=de#!forum/mustangproject</archive> </mailingLists>
</mailingList> <licenses>
</mailingLists> <license>
<licenses> <name>Apache License, Version 2.0</name>
<license> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<name>Apache License, Version 2.0</name> <distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <comments>A business-friendly OSS license</comments>
<distribution>repo</distribution> </license>
<comments>A business-friendly OSS license</comments> </licenses>
</license> <developers>
</licenses> <developer>
<developers> <name>Jochen Stärk</name>
<developer> <email>jstaerk@usegroup.de</email>
<name>Jochen Stärk</name> <roles>
<email>jstaerk@usegroup.de</email> <role>architect</role>
<roles> <role>developer</role>
<role>architect</role> </roles>
<role>developer</role> </developer>
</roles> <developer>
</developer> <name>Alexander Schmidt</name>
<developer> <email>schmidt.alexander@mail.de</email>
<name>Alexander Schmidt</name> <roles>
<email>schmidt.alexander@mail.de</email> <role>developer</role>
<roles> </roles>
<role>developer</role> </developer>
</roles> </developers>
</developer>
</developers>
</project> </project>