surefire-shared-utils
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-shared-utils</artifactId> <version>3.5.3</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>surefire</artifactId> <groupId>org.apache.maven.surefire</groupId> <version>3.5.3</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>surefire-shared-utils</artifactId> <name>Surefire Shared Utils</name> <description>Relocated Java packages of maven-shared-utils and several Apache Commons utilities in Surefire.</description> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <build> <plugins> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <goals> <goal>shade</goal> </goals> <configuration> <artifactSet> <excludes> <exclude>${project.groupId}:${project.artifactId}</exclude> </excludes> </artifactSet> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>**/module-info.class</exclude> <exclude>META-INF/MANIFEST.MF</exclude> </excludes> </filter> </filters> <relocations> <relocation> <pattern>org.apache.maven.shared.utils</pattern> <shadedPattern>org.apache.maven.surefire.shared.utils</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons.codec</pattern> <shadedPattern>org.apache.maven.surefire.shared.codec</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons.io</pattern> <shadedPattern>org.apache.maven.surefire.shared.io</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons.lang3</pattern> <shadedPattern>org.apache.maven.surefire.shared.lang3</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons.compress</pattern> <shadedPattern>org.apache.maven.surefire.shared.compress</shadedPattern> </relocation> </relocations> <transformers> <transformer /> <transformer /> <transformer> <resource>META-INF/DEPENDENCIES</resource> </transformer> </transformers> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>ide-development</id> <build> <plugins> <plugin> <artifactId>maven-install-plugin</artifactId> <executions> <execution> <id>install-devel-jar</id> <phase>install</phase> <goals> <goal>install-file</goal> </goals> <configuration> <artifactId>surefire-shared-utils</artifactId> <version>3-SNAPSHOT</version> <file>target/${project.build.finalName}.jar</file> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>