Compare commits

..
+27 -6
View File
@@ -42,10 +42,10 @@
<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>
<aps.majorVersion>24.4</aps.majorVersion> <aps.majorVersion>25.2</aps.majorVersion>
<aps.version>${aps.majorVersion}.0</aps.version> <aps.version>${aps.majorVersion}.0</aps.version>
<!-- APS v24.4.0 uses CXF v4.0.5 --> <!-- APS v25.2.0 uses CXF v4.1.2 -->
<cxf.version>4.0.5</cxf.version> <cxf.version>4.1.2</cxf.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
@@ -89,13 +89,11 @@
<dependency> <dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId> <groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId> <artifactId>jackson-dataformat-xml</artifactId>
<scope>runtime</scope>
</dependency> </dependency>
<!-- Package JackSON joda-time support --> <!-- Package JackSON joda-time support -->
<dependency> <dependency>
<groupId>com.fasterxml.jackson.datatype</groupId> <groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId> <artifactId>jackson-datatype-joda</artifactId>
<scope>runtime</scope>
</dependency> </dependency>
<!-- Provided by APS --> <!-- Provided by APS -->
@@ -126,6 +124,11 @@
<artifactId>versions-maven-plugin</artifactId> <artifactId>versions-maven-plugin</artifactId>
<version>2.21.0</version> <version>2.21.0</version>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.7.0</version>
</plugin>
<plugin> <plugin>
<artifactId>maven-dependency-plugin</artifactId> <artifactId>maven-dependency-plugin</artifactId>
<version>3.11.0</version> <version>3.11.0</version>
@@ -163,6 +166,21 @@
<property>base.version</property> <property>base.version</property>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<executions>
<execution>
<!-- this is required because we are not creating a new POM when shading -->
<id>flatten-pom</id>
<phase>process-resources</phase>
<goals><goal>flatten</goal></goals>
<configuration>
<flattenMode>ossrh</flattenMode>
</configuration>
</execution>
</executions>
</plugin>
<!-- Several CXF libraries have a bus-extensions.txt file that will overwrite each other during the packaging process --> <!-- Several CXF libraries have a bus-extensions.txt file that will overwrite each other during the packaging process -->
<!-- Only the last one packaged will have its contents in tact --> <!-- Only the last one packaged will have its contents in tact -->
<!-- We need the contents of all of them and that can be done by simply concatenating them --> <!-- We need the contents of all of them and that can be done by simply concatenating them -->
@@ -227,8 +245,11 @@
<phase>package</phase> <phase>package</phase>
<goals><goal>shade</goal></goals> <goals><goal>shade</goal></goals>
<configuration> <configuration>
<!-- without this, the main artifact is shaded -->
<shadedArtifactAttached>true</shadedArtifactAttached> <shadedArtifactAttached>true</shadedArtifactAttached>
<keepDependenciesWithProvidedScope>true</keepDependenciesWithProvidedScope> <!-- this keeps the dependencies in POM, letting downstream projects know what this library provides -->
<!-- this is necessary as we are not renaming/relocating any packages -->
<createDependencyReducedPom>false</createDependencyReducedPom>
<transformers> <transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" /> <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"> <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">