Advertisement
Guest User

Untitled

a guest
Apr 5th, 2018
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.00 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.     <name>KotlinTest maven sample</name>
  5.  
  6.     <groupId>io.kotlintest</groupId>
  7.     <artifactId>kotlintest-samples-maven</artifactId>
  8.     <version>1.0-SNAPSHOT</version>
  9.     <packaging>jar</packaging>
  10.  
  11.     <properties>
  12.         <kotlin.version>1.2.31</kotlin.version>
  13.         <kotlintest.version>3.0.2</kotlintest.version>
  14.     </properties>
  15.  
  16.     <dependencies>
  17.         <dependency>
  18.             <groupId>org.jetbrains.kotlin</groupId>
  19.             <artifactId>kotlin-stdlib</artifactId>
  20.             <version>${kotlin.version}</version>
  21.         </dependency>
  22.         <dependency>
  23.             <groupId>io.kotlintest</groupId>
  24.             <artifactId>kotlintest-runner-junit5</artifactId>
  25.             <version>${kotlintest.version}</version>
  26.             <scope>test</scope>
  27.         </dependency>
  28.         <dependency>
  29.             <groupId>org.junit.jupiter</groupId>
  30.             <artifactId>junit-jupiter-api</artifactId>
  31.             <version>5.0.3</version>
  32.             <scope>test</scope>
  33.         </dependency>
  34.     </dependencies>
  35.  
  36.     <build>
  37.         <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
  38.         <testSourceDirectory>src/test/kotlin</testSourceDirectory>
  39.         <plugins>
  40.             <plugin>
  41.                 <artifactId>kotlin-maven-plugin</artifactId>
  42.                 <groupId>org.jetbrains.kotlin</groupId>
  43.                 <version>${kotlin.version}</version>
  44.                 <executions>
  45.                     <execution>
  46.                         <id>compile</id>
  47.                         <goals>
  48.                             <goal>compile</goal>
  49.                         </goals>
  50.                     </execution>
  51.                     <execution>
  52.                         <id>test-compile</id>
  53.                         <goals>
  54.                             <goal>test-compile</goal>
  55.                         </goals>
  56.                     </execution>
  57.                 </executions>
  58.             </plugin>
  59.             <plugin>
  60.                 <groupId>org.apache.maven.plugins</groupId>
  61.                 <artifactId>maven-surefire-plugin</artifactId>
  62.                 <version>2.19.1</version>
  63.                 <dependencies>
  64.                     <dependency>
  65.                         <groupId>org.junit.platform</groupId>
  66.                         <artifactId>junit-platform-surefire-provider</artifactId>
  67.                         <version>1.1.0</version>
  68.                     </dependency>
  69.                     <dependency>
  70.                         <groupId>org.junit.jupiter</groupId>
  71.                         <artifactId>junit-jupiter-engine</artifactId>
  72.                         <version>5.0.3</version>
  73.                     </dependency>
  74.                 </dependencies>
  75.             </plugin>
  76.         </plugins>
  77.     </build>
  78.  
  79. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement