Resolve "Maven Central pom.xml is dependency-reduced"

This commit is contained in:
Philip Helger 2026-01-27 15:58:10 +01:00
parent 9f25e20108
commit c29dd78b48
3 changed files with 19 additions and 9 deletions

6
.gitignore vendored
View file

@ -36,6 +36,7 @@ src/generated
.factorypath .factorypath
.idea/ .idea/
.settings/ .settings/
.externalToolBuilders/
.vscode .vscode
*.code-workspace *.code-workspace
*.xpr *.xpr
@ -46,3 +47,8 @@ xrechnung
.DS_Store .DS_Store
andre*-simple.xml andre*-simple.xml
somePrefix*.xml somePrefix*.xml
# 2.0 stuff
api/
cli/
core/

View file

@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
## 1.6.1 - work in progress
### Changed
- (BUILD) [#176] The Maven Central deployed pom.xml properly includes runtime dependencies
## 1.6.0 - 2025-11-07 ## 1.6.0 - 2025-11-07

17
pom.xml
View file

@ -80,17 +80,16 @@
<version>${version.lombok}</version> <version>${version.lombok}</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>${version.saxon-he}</version>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
<version>${version.slf4j}</version> <version>${version.slf4j}</version>
</dependency> </dependency>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<version>${version.saxon-he}</version>
</dependency>
<dependency> <dependency>
<groupId>info.picocli</groupId> <groupId>info.picocli</groupId>
<artifactId>picocli</artifactId> <artifactId>picocli</artifactId>
@ -180,7 +179,7 @@
<plugin> <plugin>
<groupId>org.sonatype.central</groupId> <groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId> <artifactId>central-publishing-maven-plugin</artifactId>
<version>0.8.0</version> <version>0.10.0</version>
<extensions>true</extensions> <extensions>true</extensions>
<configuration> <configuration>
<publishingServerId>central</publishingServerId> <publishingServerId>central</publishingServerId>
@ -275,15 +274,15 @@
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>3.6.0</version> <version>3.6.1</version>
<executions> <executions>
<execution> <execution>
<id>jdk11+</id>
<phase>package</phase> <phase>package</phase>
<goals> <goals>
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
<configuration> <configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<shadedArtifactAttached>true</shadedArtifactAttached> <shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>standalone</shadedClassifierName> <shadedClassifierName>standalone</shadedClassifierName>
<transformers> <transformers>