gcube-jackson-relocator/pom.repackage.template.xml

67 lines
1.9 KiB
XML

<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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.gcube.common</groupId>
<artifactId>repackaged-JACKSON_ARTIFACT_ID</artifactId>
<version>JACKSON_VERSION</version>
<description>JACKSON_ARTIFACT_ID repackaged artifact</description>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>JACKSON_GROUP_ID</groupId>
<artifactId>JACKSON_ARTIFACT_ID</artifactId>
<version>JACKSON_VERSION</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.3</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
<configuration>
<shadeSourcesContent>true</shadeSourcesContent>
<shadedArtifactAttached>false</shadedArtifactAttached>
<artifactSet>
<includes>
<include>JACKSON_GROUP_ID:JACKSON_ARTIFACT_ID</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>JACKSON_ORIGINAL_PACKAGE</pattern>
<shadedPattern>GCUBE_PREFIX.JACKSON_ORIGINAL_PACKAGE</shadedPattern>
</relocation>
</relocations>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/license/**</exclude>
<exclude>META-INF/*</exclude>
<exclude>META-INF/maven/**</exclude>
<exclude>LICENSE</exclude>
<exclude>NOTICE</exclude>
<exclude>/*.txt</exclude>
<exclude>build.properties</exclude>
</excludes>
</filter>
</filters>
</configuration>
</plugin>
</plugins>
</build>
</project>