<?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>2.12.4</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>surefire-api</artifactId> <name>SureFire API</name> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-shadefire</artifactId> <version>${project.version}</version> </dependency> </dependencies> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.3</source> <target>1.3</target> </configuration> </plugin> <plugin> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <minimizeJar>true</minimizeJar> <artifactSet> <includes> <include>org.codehaus.plexus:plexus-utils</include> <include>commons-lang:commons-lang</include> </includes> </artifactSet> <relocations> <relocation> <pattern>org.codehaus.plexus.util</pattern> <shadedPattern>org.apache.maven.surefire.shade.org.codehaus.plexus.util</shadedPattern> </relocation> <relocation> <pattern>org.apache.commons.lang</pattern> <shadedPattern>org.apache.maven.surefire.shade.org.apache.commons.lang</shadedPattern> </relocation> </relocations> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> </project>