You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
2.6 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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. <groupId>org.example</groupId>
  7. <artifactId>CliArcadeService</artifactId>
  8. <version>0.2.0-SNAPSHOT</version>
  9. <properties>
  10. <maven.compiler.source>15</maven.compiler.source>
  11. <maven.compiler.target>15</maven.compiler.target>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <junit.version>5.8.2</junit.version>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.junit.jupiter</groupId>
  18. <artifactId>junit-jupiter-api</artifactId>
  19. <version>${junit.version}</version>
  20. <scope>test</scope>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.junit.jupiter</groupId>
  24. <artifactId>junit-jupiter-engine</artifactId>
  25. <version>${junit.version}</version>
  26. <scope>test</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.mockito</groupId>
  30. <artifactId>mockito-core</artifactId>
  31. <version>2.21.0</version>
  32. <scope>test</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.mockito</groupId>
  36. <artifactId>mockito-junit-jupiter</artifactId>
  37. <version>2.23.0</version>
  38. <scope>test</scope>
  39. </dependency>
  40. </dependencies>
  41. <build>
  42. <pluginManagement>
  43. <plugins>
  44. <plugin>
  45. <groupId>org.apache.maven.plugins</groupId>
  46. <artifactId>maven-surefire-plugin</artifactId>
  47. <!-- JUnit 5 requires Surefire version 2.22.0 or higher -->
  48. <version>2.22.2</version>
  49. </plugin>
  50. <plugin>
  51. <!-- Building an executable jar -->
  52. <groupId>org.apache.maven.plugins</groupId>
  53. <artifactId>maven-jar-plugin</artifactId>
  54. <version>3.1.0</version>
  55. <configuration>
  56. <archive>
  57. <manifest>
  58. <!-- give full qualified name of your main class-->
  59. <mainClass>Main</mainClass>
  60. </manifest>
  61. </archive>
  62. </configuration>
  63. </plugin>
  64. </plugins>
  65. </pluginManagement>
  66. </build>
  67. </project>