pom.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <project
  2. xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>pl.konrad</groupId>
  6. <artifactId>add-numbers-tester</artifactId>
  7. <version>1.0</version>
  8. <packaging>jar</packaging>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <java.version>11</java.version>
  12. <junit.jupiter.version>5.9.1</junit.jupiter.version>
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.junit.jupiter</groupId>
  17. <artifactId>junit-jupiter-engine</artifactId>
  18. <version>${junit.jupiter.version}</version>
  19. <scope>test</scope>
  20. </dependency>
  21. <dependency>
  22. <groupId>pl.konrad</groupId>
  23. <artifactId>add-numbers</artifactId>
  24. <version>1.0</version>
  25. </dependency>
  26. </dependencies>
  27. <build>
  28. <plugins>
  29. <plugin>
  30. <groupId>org.apache.maven.plugins</groupId>
  31. <artifactId>maven-compiler-plugin</artifactId>
  32. <version>3.10.1</version>
  33. <configuration>
  34. <source>${java.version}</source>
  35. <target>${java.version}</target>
  36. </configuration>
  37. </plugin>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-surefire-plugin</artifactId>
  41. <version>3.0.0-M7</version>
  42. </plugin>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-site-plugin</artifactId>
  46. <version>4.0.0-M3</version>
  47. </plugin>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-shade-plugin</artifactId>
  51. <version>3.4.0</version>
  52. <configuration>
  53. <shadedArtifactAttached>true</shadedArtifactAttached>
  54. </configuration>
  55. <executions>
  56. <execution>
  57. <phase>package</phase>
  58. <goals>
  59. <goal>shade</goal>
  60. </goals>
  61. </execution>
  62. </executions>
  63. </plugin>
  64. </plugins>
  65. </build>
  66. <reporting>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-project-info-reports-plugin</artifactId>
  71. <version>3.4.1</version>
  72. </plugin>
  73. </plugins>
  74. </reporting>
  75. </project>