trying to get autmatic maven central upload to work again

This commit is contained in:
jstaerk
2024-08-28 17:29:44 +02:00
parent e18744675c
commit bac6659c41

48
pom.xml
View File

@@ -8,12 +8,13 @@
<name>Mustang</name> <name>Mustang</name>
<description> <description>
The Mustang project is a java library to read and write ZUGFeRD The Mustang project is a java library and command line tool to read, write and validate
meta data inside your invoice PDFs e-invoices in EN16931 formats, writing CII and reading also UBL and altogether
supporting ZUGFeRD/Factur-X PDFs and XRechnung files
</description> </description>
<url>http://www.mustangproject.org/</url> <url>http://www.mustangproject.org/</url>
<modules> <modules>
<module>library</module> <module>library</module>
<module>validator</module> <module>validator</module>
@@ -26,7 +27,9 @@
<additionalparam>-Xdoclint:none</additionalparam> <additionalparam>-Xdoclint:none</additionalparam>
<maven.compiler.source>11</maven.compiler.source> <maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target> <maven.compiler.target>11</maven.compiler.target>
<maven.deploy.skip>true</maven.deploy.skip><!-- prevent this to be deployed to maven central as "core",
we only want submodules, see also https://stackoverflow.com/questions/7446599/how-to-deploy-only-the-sub-modules-using-maven-deploy-->
<dep.slf4j.version>2.0.13</dep.slf4j.version> <dep.slf4j.version>2.0.13</dep.slf4j.version>
<dep.saxon-he.version>12.4</dep.saxon-he.version> <dep.saxon-he.version>12.4</dep.saxon-he.version>
<dep.jackson.version>2.17.1</dep.jackson.version> <dep.jackson.version>2.17.1</dep.jackson.version>
@@ -80,9 +83,10 @@
</mailingLists> </mailingLists>
<scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false"> <scm child.scm.connection.inherit.append.path="false" child.scm.developerConnection.inherit.append.path="false" child.scm.url.inherit.append.path="false">
<connection>scm:git:https://github.com/ZUGFeRD/mustangproject.git</connection> <connection>scm:git:git://github.com/dexecutor/dependent-tasks-executor.git</connection>
<developerConnection>scm:git:https://github.com/ZUGFeRD/mustangproject.git</developerConnection> <developerConnection>scm:git:git@github.com:dexecutor/dexecutor.git</developerConnection>
<url>https://github.com/ZUGFeRD/mustangproject</url> <url>https://github.com/dexecutor/dependent-tasks-executor</url>
<tag>core-2.3.2</tag>
</scm> </scm>
<distributionManagement> <distributionManagement>
@@ -277,6 +281,16 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
@@ -356,6 +370,26 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-toolchains-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<goals>
<goal>toolchain</goal>
</goals>
</execution>
</executions>
<configuration>
<toolchains>
<jdk>
<version>11</version>
<vendor>adopt</vendor>
</jdk>
</toolchains>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
</profile> </profile>