znai-shaded
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.testingisdocumenting.znai</groupId>
<artifactId>znai-shaded</artifactId>
<version>1.91</version>
</dependency><?xml version="1.0" encoding="UTF-8"?>
<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/maven-v4_0_0.xsd">
<parent>
<artifactId>znai-parent</artifactId>
<groupId>org.testingisdocumenting.znai</groupId>
<version>1.91</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>znai-shaded</artifactId>
<name>Znai Shaded</name>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.2</version>
<executions>
<execution>
<id>shade-deps</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<excludes>
<exclude>org.codehaus.groovy:*</exclude>
</excludes>
</artifactSet>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>shaded</shadedClassifierName>
<relocations>
<relocation>
<pattern>org.</pattern>
<shadedPattern>znaishaded.org.</shadedPattern>
<excludes>
<exclude>org.testingisdocumenting.**</exclude>
<exclude>org.codehaus.**</exclude>
<exclude>org.xml.**</exclude>
<exclude>org.w3c.**</exclude>
</excludes>
</relocation>
<relocation>
<pattern>com.</pattern>
<shadedPattern>znaishaded.com.</shadedPattern>
<excludes>
<exclude>com.sun.**</exclude>
</excludes>
</relocation>
<relocation>
<pattern>io.</pattern>
<shadedPattern>znaishaded.io.</shadedPattern>
</relocation>
<relocation>
<pattern>net.</pattern>
<shadedPattern>znaishaded.net.</shadedPattern>
</relocation>
<relocation>
<pattern>freemarker.</pattern>
<shadedPattern>znaishaded.freemarker.</shadedPattern>
</relocation>
<relocation>
<pattern>javax.xml.bind.</pattern>
<shadedPattern>znaishaded.javax.xml.bind.</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer />
</transformers>
<filters>
<filter>
<artifact>*:*:*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
<configuration>
<forceCreation>true</forceCreation>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>empty-javadoc-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>javadoc</classifier>
<classesDirectory>${project.build.directory}/javadoc</classesDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>