pom.xml 2.11 KB
Newer Older
Jamie Tanna's avatar
Jamie Tanna committed
1 2 3 4 5 6 7 8
<?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/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>me.jvt.hacking</groupId>
    <artifactId>fat-cucumber.jar</artifactId>
Jamie Tanna's avatar
Main  
Jamie Tanna committed
9
    <version>0.2</version>
Jamie Tanna's avatar
Jamie Tanna committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

    <dependencies>
        <dependency>
            <groupId>io.cucumber</groupId>
            <artifactId>cucumber-junit</artifactId>
            <version>3.0.2</version>
        </dependency>
        <dependency>
            <groupId>io.cucumber</groupId>
            <artifactId>cucumber-java</artifactId>
            <version>3.0.2</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
Jamie Tanna's avatar
Main  
Jamie Tanna committed
26
            <scope>compile</scope>
Jamie Tanna's avatar
Jamie Tanna committed
27 28 29 30 31 32 33 34 35 36 37 38
        </dependency>
        <dependency>
            <groupId>org.assertj</groupId>
            <artifactId>assertj-core</artifactId>
            <version>3.10.0</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
Jamie Tanna's avatar
Main  
Jamie Tanna committed
39 40
                <artifactId>maven-shade-plugin</artifactId>
                <version>3.1.1</version>
Jamie Tanna's avatar
Jamie Tanna committed
41 42
                <executions>
                    <execution>
Jamie Tanna's avatar
Main  
Jamie Tanna committed
43
                        <phase>package</phase>
Jamie Tanna's avatar
Jamie Tanna committed
44
                        <goals>
Jamie Tanna's avatar
Main  
Jamie Tanna committed
45
                            <goal>shade</goal>
Jamie Tanna's avatar
Jamie Tanna committed
46
                        </goals>
Jamie Tanna's avatar
Main  
Jamie Tanna committed
47 48 49 50 51 52 53
                        <configuration>
                            <transformers>
                                <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
                                    <mainClass>me.jvt.hacking.RunCukes</mainClass>
                                </transformer>
                            </transformers>
                        </configuration>
Jamie Tanna's avatar
Jamie Tanna committed
54 55 56 57 58 59
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>