solves #227: create both non-shaded and shaded jar for library, while not breaking CLI

This commit is contained in:
Ulrich Zielhofer
2021-12-17 08:48:04 +01:00
parent 2ba9607d0d
commit 1ec64c6110
6 changed files with 261 additions and 2 deletions

View File

@@ -122,6 +122,7 @@
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-assertj</artifactId>
<version>2.6.3</version>
<scope>test</scope>
</dependency>
<!-- API -->
<dependency>
@@ -153,7 +154,7 @@
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
<shadedArtifactAttached>true</shadedArtifactAttached>
<minimizeJar>false</minimizeJar><!-- no longer java 11 compatible if set to true because it removes e.g. javax/xml/bind/annotation/XmlSchema-->
<filters>