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

490
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>
</dependencies> <dependency>
<build> <groupId>com.helger</groupId>
<plugins> <artifactId>ph-schematron</artifactId>
<!-- toecount --> <version>4.3.1</version>
<plugin> <scope>test</scope>
<artifactId>maven-assembly-plugin</artifactId> </dependency>
<configuration> <!-- For Toecount -->
<archive> <dependency>
<manifest> <groupId>com.sanityinc</groupId>
<mainClass>org.mustangproject.toecount.Toecount</mainClass> <artifactId>jargs</artifactId>
</manifest> <version>2.0-SNAPSHOT</version>
</archive> </dependency>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef> </dependencies>
</descriptorRefs> <build>
</configuration> <plugins>
</plugin> <!-- toecount -->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId>
<artifactId>maven-compiler-plugin</artifactId> <configuration>
<version>2.3.2</version> <archive>
<configuration> <manifest>
<archive> <mainClass>org.mustangproject.toecount.Toecount</mainClass>
<manifest> </manifest>
<addClasspath>true</addClasspath> </archive>
<mainClass>org.mustangproject.toecount.Toecount</mainClass> <descriptorRefs>
</manifest> <descriptorRef>jar-with-dependencies</descriptorRef>
</archive> </descriptorRefs>
<descriptorRefs> </configuration>
<descriptorRef>jar-with-dependencies</descriptorRef> </plugin>
</descriptorRefs> <plugin>
<!-- http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven mvn clean compile assembly:single --> <groupId>org.apache.maven.plugins</groupId>
<!-- or whatever version you use --> <artifactId>maven-compiler-plugin</artifactId>
<source>1.7</source> <version>2.3.2</version>
<target>1.7</target> <configuration>
</configuration> <archive>
</plugin> <manifest>
<addClasspath>true</addClasspath>
<mainClass>org.mustangproject.toecount.Toecount</mainClass>
<!-- /toecount --> </manifest>
<plugin> </archive>
<artifactId>maven-deploy-plugin</artifactId> <descriptorRefs>
<version>2.8.2</version> <descriptorRef>jar-with-dependencies</descriptorRef>
<configuration> </descriptorRefs>
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository> <!-- http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven
</configuration> mvn clean compile assembly:single -->
</plugin> <!-- or whatever version you use -->
<plugin> <source>1.7</source>
<groupId>com.github.github</groupId> <target>1.7</target>
<artifactId>site-maven-plugin</artifactId> </configuration>
<version>0.11</version> </plugin>
<configuration>
<message>Maven artifacts for ${project.version}</message>
<!-- git commit message --> <!-- /toecount -->
<noJekyll>true</noJekyll> <plugin>
<!-- disable webpage processing --> <artifactId>maven-deploy-plugin</artifactId>
<outputDirectory>${project.build.directory}/mvn-repo</outputDirectory> <version>2.8.2</version>
<!-- matches distribution management repository url above --> <configuration>
<branch>refs/heads/mvn-repo</branch> <altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo</altDeploymentRepository>
<!-- remote branch name --> </configuration>
<includes> </plugin>
<include>**/*</include> <plugin>
</includes> <groupId>com.github.github</groupId>
<merge>true</merge> <artifactId>site-maven-plugin</artifactId>
<repositoryName>mustangproject</repositoryName> <version>0.11</version>
<!-- github repo name --> <configuration>
<repositoryOwner>ZUGFeRD</repositoryOwner> <message>Maven artifacts for ${project.version}</message>
<!-- github username --> <!-- git commit message -->
</configuration> <noJekyll>true</noJekyll>
<executions> <!-- disable webpage processing -->
<!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase --> <outputDirectory>${project.build.directory}/mvn-repo</outputDirectory>
<execution> <!-- matches distribution management repository url above -->
<goals> <branch>refs/heads/mvn-repo</branch>
<goal>site</goal> <!-- remote branch name -->
</goals> <includes>
<phase>deploy</phase> <include>**/*</include>
</execution> </includes>
</executions> <merge>true</merge>
</plugin> <repositoryName>mustangproject</repositoryName>
<plugin> <!-- github repo name -->
<groupId>org.apache.maven.plugins</groupId> <repositoryOwner>ZUGFeRD</repositoryOwner>
<artifactId>maven-shade-plugin</artifactId> <!-- github username -->
<version>2.4.3</version> </configuration>
<configuration> <executions>
<minimizeJar>true</minimizeJar> <!-- run site-maven-plugin's 'site' target as part of the build's normal
</configuration> 'deploy' phase -->
<executions> <execution>
<execution> <goals>
<phase>package</phase> <goal>site</goal>
<goals> </goals>
<goal>shade</goal> <phase>deploy</phase>
</goals> </execution>
<configuration> </executions>
<artifactSet> </plugin>
<excludes> <plugin>
<!--exclude>classworlds:classworlds</exclude> <groupId>org.apache.maven.plugins</groupId>
<exclude>junit:junit</exclude> <artifactId>maven-shade-plugin</artifactId>
<exclude>jmock:*</exclude> <version>2.4.3</version>
<exclude>*:xml-apis</exclude> <configuration>
<exclude>org.apache.maven:lib:tests</exclude> <minimizeJar>true</minimizeJar>
<exclude>log4j:log4j:jar:</exclude--> </configuration>
</excludes> <executions>
</artifactSet> <execution>
</configuration> <phase>package</phase>
</execution> <goals>
</executions> <goal>shade</goal>
</plugin> </goals>
<plugin> <configuration>
<groupId>org.codehaus.mojo</groupId> <artifactSet>
<artifactId>templating-maven-plugin</artifactId> <excludes>
<version>1.0.0</version> <!--exclude>classworlds:classworlds</exclude> <exclude>junit:junit</exclude>
<executions> <exclude>jmock:*</exclude> <exclude>*:xml-apis</exclude> <exclude>org.apache.maven:lib:tests</exclude>
<execution> <exclude>log4j:log4j:jar:</exclude -->
<id>filtering-java-templates</id> </excludes>
<goals> </artifactSet>
<goal>filter-sources</goal> </configuration>
</goals> </execution>
</execution> </executions>
</executions> </plugin>
</plugin> <plugin>
<plugin> <groupId>org.codehaus.mojo</groupId>
<groupId>org.codehaus.mojo</groupId> <artifactId>templating-maven-plugin</artifactId>
<artifactId>jaxb2-maven-plugin</artifactId> <version>1.0.0</version>
<version>2.3.1</version> <executions>
<executions> <execution>
<execution> <id>filtering-java-templates</id>
<id>xjc</id> <goals>
<goals> <goal>filter-sources</goal>
<goal>xjc</goal> </goals>
</goals> </execution>
</execution> </executions>
</executions> </plugin>
<configuration> <plugin>
<target>2.1</target> <groupId>org.codehaus.mojo</groupId>
<packageName>org.mustangproject.ZUGFeRD.model</packageName> <artifactId>jaxb2-maven-plugin</artifactId>
<sources> <version>2.3.1</version>
<source>src/main/schema/ZUGFeRD1p0.xsd</source> <executions>
</sources> <execution>
</configuration> <id>xjc</id>
</plugin> <goals>
</plugins> <goal>xjc</goal>
</build> </goals>
<mailingLists> </execution>
<mailingList> </executions>
<name>User List</name> <configuration>
<archive>https://groups.google.com/forum/?hl=de#!forum/mustangproject</archive> <target>2.1</target>
</mailingList> <packageName>org.mustangproject.ZUGFeRD.model</packageName>
</mailingLists> <sources>
<licenses> <source>src/main/schema/ZUGFeRD1p0.xsd</source>
<license> </sources>
<name>Apache License, Version 2.0</name> </configuration>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </plugin>
<distribution>repo</distribution> </plugins>
<comments>A business-friendly OSS license</comments> </build>
</license> <mailingLists>
</licenses> <mailingList>
<developers> <name>User List</name>
<developer> <archive>https://groups.google.com/forum/?hl=de#!forum/mustangproject</archive>
<name>Jochen Stärk</name> </mailingList>
<email>jstaerk@usegroup.de</email> </mailingLists>
<roles> <licenses>
<role>architect</role> <license>
<role>developer</role> <name>Apache License, Version 2.0</name>
</roles> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</developer> <distribution>repo</distribution>
<developer> <comments>A business-friendly OSS license</comments>
<name>Alexander Schmidt</name> </license>
<email>schmidt.alexander@mail.de</email> </licenses>
<roles> <developers>
<role>developer</role> <developer>
</roles> <name>Jochen Stärk</name>
</developer> <email>jstaerk@usegroup.de</email>
</developers> <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> </project>