Guest User

POM file for junit 5

a guest
Nov 10th, 2017
549
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.51 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3.   <modelVersion>4.0.0</modelVersion>
  4.  
  5.   <groupId>com.seal</groupId>
  6.   <artifactId>junit-test</artifactId>
  7.   <version>1.0-SNAPSHOT</version>
  8.   <packaging>jar</packaging>
  9.  
  10.   <name>junit-test</name>
  11.   <url>http://maven.apache.org</url>
  12.  
  13.   <properties>
  14.     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15.     <junit.version>5.0.0</junit.version>
  16.   </properties>
  17.  
  18.   <dependencies>
  19.     <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
  20.     <dependency>
  21.       <groupId>org.junit.jupiter</groupId>
  22.       <artifactId>junit-jupiter-engine</artifactId>
  23.       <version>${junit.version}</version>
  24.       <scope>test</scope>
  25.     </dependency>
  26.  
  27.     <dependency>
  28.       <groupId>org.junit.jupiter</groupId>
  29.       <artifactId>junit-jupiter-params</artifactId>
  30.       <version>${junit.version}</version>
  31.       <scope>test</scope>
  32.     </dependency>
  33.  
  34.     <dependency>
  35.       <groupId>org.junit.jupiter</groupId>
  36.       <artifactId>junit-jupiter-api</artifactId>
  37.       <version>${junit.version}</version>
  38.       <scope>test</scope>
  39.     </dependency>
  40.  
  41.     <dependency>
  42.       <groupId>org.junit.platform</groupId>
  43.       <artifactId>junit-platform-runner</artifactId>
  44.       <version>1.0.0-M4</version>
  45.       <scope>test</scope>
  46.     </dependency>
  47.     <!-- https://mvnrepository.com/artifact/org.junit.vintage/junit-vintage-engine -->
  48.     <dependency>
  49.       <groupId>org.junit.vintage</groupId>
  50.       <artifactId>junit-vintage-engine</artifactId>
  51.       <version>4.12.1</version>
  52.       <scope>test</scope>
  53.     </dependency>
  54.  
  55.   </dependencies>
  56.  
  57.   <build>
  58.     <plugins>
  59.  
  60.       <plugin>
  61.         <groupId>org.apache.maven.plugins</groupId>
  62.         <artifactId>maven-compiler-plugin</artifactId>
  63.         <version>3.7.0</version>
  64.         <configuration>
  65.           <source>1.8</source>
  66.           <target>1.8</target>
  67.         </configuration>
  68.       </plugin>
  69.  
  70.       <plugin>
  71.         <artifactId>maven-surefire-plugin</artifactId>
  72.         <version>2.19</version>
  73.         <dependencies>
  74.           <dependency>
  75.             <groupId>org.junit.platform</groupId>
  76.             <artifactId>junit-platform-surefire-provider</artifactId>
  77.             <version>1.0.0-M3</version>
  78.           </dependency>
  79.         </dependencies>
  80.       </plugin>
  81.  
  82.     </plugins>
  83.   </build>
  84. </project>
Advertisement
Add Comment
Please, Sign In to add comment