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.

95 lines
3.8 KiB

  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.ciip-grp8-password-manager</groupId>
  7. <artifactId>ciip-grp8-password-manager</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <properties>
  10. <maven.compiler.source>11</maven.compiler.source>
  11. <maven.compiler.target>11</maven.compiler.target>
  12. <junit.jupiter.version>5.8.2</junit.jupiter.version>
  13. <junit.platform.version>1.8.1</junit.platform.version>
  14. <mockito.version>4.2.0</mockito.version>
  15. <assertj.version>3.22.0</assertj.version>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.junit.jupiter</groupId>
  20. <artifactId>junit-jupiter-api</artifactId>
  21. <version>${junit.jupiter.version}</version>
  22. <scope>test</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.junit.jupiter</groupId>
  26. <artifactId>junit-jupiter-params</artifactId>
  27. <version>${junit.jupiter.version}</version>
  28. <scope>test</scope>
  29. </dependency>
  30. <!-- assertThat() -->
  31. <dependency>
  32. <groupId>org.assertj</groupId>
  33. <artifactId>assertj-core</artifactId>
  34. <version>${assertj.version}</version>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.mockito</groupId>
  39. <artifactId>mockito-core</artifactId>
  40. <version>${mockito.version}</version>
  41. <scope>test</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.mockito</groupId>
  45. <artifactId>mockito-junit-jupiter</artifactId>
  46. <version>${mockito.version}</version>
  47. <scope>test</scope>
  48. </dependency>
  49. </dependencies>
  50. <build>
  51. <plugins>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-surefire-plugin</artifactId>
  55. <version>2.19.1</version> <!-- Specific due to memory leak in 2.20 -->
  56. <dependencies>
  57. <!--Custom provider and engine for Junit 5 to surefire -->
  58. <dependency>
  59. <groupId>org.junit.platform</groupId>
  60. <artifactId>junit-platform-surefire-provider</artifactId>
  61. <version>1.0.1</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.junit.jupiter</groupId>
  65. <artifactId>junit-jupiter-engine</artifactId>
  66. <version>5.7.0</version>
  67. </dependency>
  68. </dependencies>
  69. </plugin>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-jar-plugin</artifactId>
  73. <version>2.4</version>
  74. <dependencies>
  75. <dependency>
  76. <groupId>org.junit.jupiter</groupId>
  77. <artifactId>junit-jupiter-engine</artifactId>
  78. <version>5.7.0</version>
  79. </dependency>
  80. </dependencies>
  81. <configuration>
  82. <archive>
  83. <manifest>
  84. <addClasspath>true</addClasspath>
  85. <mainClass>PasswordManager</mainClass>
  86. </manifest>
  87. </archive>
  88. </configuration>
  89. </plugin>
  90. </plugins>
  91. </build>
  92. </project>