pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. <groupId>pl.dmcs</groupId>
  5. <artifactId>app</artifactId>
  6. <version>1.0</version>
  7. <packaging>jar</packaging>
  8. <properties>
  9. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  10. <maven.compiler.source>21</maven.compiler.source>
  11. <maven.compiler.target>21</maven.compiler.target>
  12. <junit.version>5.10.2</junit.version>
  13. <mockito.version>4.0.0</mockito.version>
  14. <logback.version>1.2.11</logback.version>
  15. <slf4j.version>1.7.36</slf4j.version>
  16. </properties>
  17. <name>My sample project</name>
  18. <description>This is my sample project.</description>
  19. <url>https://weeia.p.lodz.pl</url>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.junit.jupiter</groupId>
  23. <artifactId>junit-jupiter-api</artifactId>
  24. <version>${junit.version}</version>
  25. <scope>test</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.junit.jupiter</groupId>
  29. <artifactId>junit-jupiter-engine</artifactId>
  30. <version>${junit.version}</version>
  31. <scope>test</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.testng</groupId>
  35. <artifactId>testng</artifactId>
  36. <version>7.4.0</version>
  37. <scope>test</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.mockito</groupId>
  41. <artifactId>mockito-core</artifactId>
  42. <version>${mockito.version}</version>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>ch.qos.logback</groupId>
  47. <artifactId>logback-classic</artifactId>
  48. <version>${logback.version}</version>
  49. <scope>test</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.slf4j</groupId>
  53. <artifactId>slf4j-api</artifactId>
  54. <version>${slf4j.version}</version>
  55. </dependency>
  56. </dependencies>
  57. <build>
  58. <pluginManagement>
  59. <plugins>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-resources-plugin</artifactId>
  63. <version>3.3.1</version>
  64. <configuration>
  65. <includeEmptyDirs>true</includeEmptyDirs>
  66. </configuration>
  67. </plugin>
  68. <plugin>
  69. <artifactId>maven-clean-plugin</artifactId>
  70. <version>3.3.2</version>
  71. </plugin>
  72. <plugin>
  73. <artifactId>maven-compiler-plugin</artifactId>
  74. <version>3.12.1</version>
  75. <configuration>
  76. <source>21</source>
  77. <target>21</target>
  78. </configuration>
  79. </plugin>
  80. <plugin>
  81. <artifactId>maven-surefire-plugin</artifactId>
  82. <version>3.2.5</version>
  83. <configuration>
  84. <includes>
  85. <include>**/*Test.java</include>
  86. </includes>
  87. </configuration>
  88. </plugin>
  89. <plugin>
  90. <artifactId>maven-jar-plugin</artifactId>
  91. <version>3.3.0</version>
  92. </plugin>
  93. <plugin>
  94. <artifactId>maven-install-plugin</artifactId>
  95. <version>3.1.1</version>
  96. </plugin>
  97. <plugin>
  98. <artifactId>maven-deploy-plugin</artifactId>
  99. <version>3.1.1</version>
  100. </plugin>
  101. <plugin>
  102. <artifactId>maven-site-plugin</artifactId>
  103. <version>4.0.0-M13</version>
  104. </plugin>
  105. <plugin>
  106. <artifactId>maven-project-info-reports-plugin</artifactId>
  107. <version>3.5.0</version>
  108. </plugin>
  109. </plugins>
  110. </pluginManagement>
  111. <testResources>
  112. <testResource>
  113. <directory>src/test/resources</directory>
  114. <excludes>
  115. <exclude>**/.gitkeep</exclude>
  116. </excludes>
  117. </testResource>
  118. </testResources>
  119. </build>
  120. </project>