pom.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <artifactId>consoleApp</artifactId>
  7. <groupId>me.79246</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10. <name>consoleApp</name>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <kotlin.code.style>official</kotlin.code.style>
  14. <kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
  15. </properties>
  16. <repositories>
  17. <repository>
  18. <id>mavenCentral</id>
  19. <url>https://repo1.maven.org/maven2/</url>
  20. </repository>
  21. </repositories>
  22. <build>
  23. <sourceDirectory>src/main/kotlin</sourceDirectory>
  24. <testSourceDirectory>src/test/kotlin</testSourceDirectory>
  25. <plugins>
  26. <plugin>
  27. <groupId>org.jetbrains.kotlin</groupId>
  28. <artifactId>kotlin-maven-plugin</artifactId>
  29. <version>1.8.10</version>
  30. <executions>
  31. <execution>
  32. <id>compile</id>
  33. <phase>compile</phase>
  34. <goals>
  35. <goal>compile</goal>
  36. </goals>
  37. </execution>
  38. <execution>
  39. <id>test-compile</id>
  40. <phase>test-compile</phase>
  41. <goals>
  42. <goal>test-compile</goal>
  43. </goals>
  44. </execution>
  45. </executions>
  46. </plugin>
  47. <plugin>
  48. <artifactId>maven-surefire-plugin</artifactId>
  49. <version>2.22.2</version>
  50. </plugin>
  51. <plugin>
  52. <artifactId>maven-failsafe-plugin</artifactId>
  53. <version>2.22.2</version>
  54. </plugin>
  55. <plugin>
  56. <groupId>org.codehaus.mojo</groupId>
  57. <artifactId>exec-maven-plugin</artifactId>
  58. <version>1.6.0</version>
  59. <configuration>
  60. <mainClass>MainKt</mainClass>
  61. </configuration>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. <dependencies>
  66. <dependency>
  67. <groupId>org.jetbrains.kotlin</groupId>
  68. <artifactId>kotlin-test-junit5</artifactId>
  69. <version>1.8.10</version>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.junit.jupiter</groupId>
  74. <artifactId>junit-jupiter-engine</artifactId>
  75. <version>5.9.0</version>
  76. <scope>test</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>org.jetbrains.kotlin</groupId>
  80. <artifactId>kotlin-stdlib-jdk8</artifactId>
  81. <version>1.8.10</version>
  82. </dependency>
  83. </dependencies>
  84. </project>