112 lines
3.8 KiB
XML
112 lines
3.8 KiB
XML
<?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>com.techprimers.testing</groupId>
|
|
<artifactId>jenkins-example</artifactId>
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<java.version>1.8</java.version>
|
|
</properties>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<source>${java.version}</source>
|
|
<target>${java.version}</target>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.19</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>integration-test</phase>
|
|
<goals>
|
|
<goal>java</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<executableDependency>
|
|
<groupId>info.cukes</groupId>
|
|
<artifactId>cucumber-core</artifactId>
|
|
</executableDependency>
|
|
<mainClass>cucumber.api.cli.Main</mainClass>
|
|
<arguments>
|
|
<argument>--plugin</argument>
|
|
<argument>junit:target/cucumber-junit-report/allcukes.xml</argument>
|
|
<argument>--plugin</argument>
|
|
<argument>pretty</argument>
|
|
<argument>--plugin</argument>
|
|
<argument>html:target/cucumber-html-report</argument>
|
|
</arguments>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>info.cukes</groupId>
|
|
<artifactId>cucumber-core</artifactId>
|
|
<version>1.2.5</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>info.cukes</groupId>
|
|
<artifactId>cucumber-java</artifactId>
|
|
<version>1.2.5</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>info.cukes</groupId>
|
|
<artifactId>cucumber-junit</artifactId>
|
|
<version>1.2.5</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.12</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<repositories>
|
|
<repository>
|
|
<id>myMavenRepo.read</id>
|
|
<url>https://mymavenrepo.com/repo/FN8PIshHk5uALNhkXbhs/</url>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>myMavenRepo.write</id>
|
|
<url>https://mymavenrepo.com/repo/9Q8JoRpymi4UGK8HzbVq/</url>
|
|
</repository>
|
|
</distributionManagement>
|
|
|
|
</project> |