dependency-reduced-pom.xml 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>pl.dmcs</groupId>
  5. <artifactId>Task4</artifactId>
  6. <version>1.0-SNAPSHOT</version>
  7. <build>
  8. <plugins>
  9. <plugin>
  10. <artifactId>maven-shade-plugin</artifactId>
  11. <version>3.5.2</version>
  12. <executions>
  13. <execution>
  14. <phase>package</phase>
  15. <goals>
  16. <goal>shade</goal>
  17. </goals>
  18. </execution>
  19. </executions>
  20. <configuration>
  21. <shadedArtifactAttached>true</shadedArtifactAttached>
  22. </configuration>
  23. </plugin>
  24. <plugin>
  25. <artifactId>maven-compiler-plugin</artifactId>
  26. <version>3.12.1</version>
  27. <configuration>
  28. <source>11</source>
  29. <target>11</target>
  30. </configuration>
  31. </plugin>
  32. <plugin>
  33. <artifactId>maven-jar-plugin</artifactId>
  34. <version>3.3.0</version>
  35. <configuration>
  36. <archive>
  37. <manifest>
  38. <addClasspath>true</addClasspath>
  39. <mainClass>pl.dmcs.MainApp</mainClass>
  40. </manifest>
  41. </archive>
  42. </configuration>
  43. </plugin>
  44. </plugins>
  45. </build>
  46. <dependencies>
  47. <dependency>
  48. <groupId>org.junit.jupiter</groupId>
  49. <artifactId>junit-jupiter-api</artifactId>
  50. <version>5.10.2</version>
  51. <scope>test</scope>
  52. <exclusions>
  53. <exclusion>
  54. <artifactId>opentest4j</artifactId>
  55. <groupId>org.opentest4j</groupId>
  56. </exclusion>
  57. <exclusion>
  58. <artifactId>junit-platform-commons</artifactId>
  59. <groupId>org.junit.platform</groupId>
  60. </exclusion>
  61. <exclusion>
  62. <artifactId>apiguardian-api</artifactId>
  63. <groupId>org.apiguardian</groupId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.junit.jupiter</groupId>
  69. <artifactId>junit-jupiter-engine</artifactId>
  70. <version>5.10.2</version>
  71. <scope>test</scope>
  72. <exclusions>
  73. <exclusion>
  74. <artifactId>junit-platform-engine</artifactId>
  75. <groupId>org.junit.platform</groupId>
  76. </exclusion>
  77. <exclusion>
  78. <artifactId>apiguardian-api</artifactId>
  79. <groupId>org.apiguardian</groupId>
  80. </exclusion>
  81. </exclusions>
  82. </dependency>
  83. </dependencies>
  84. <properties>
  85. <maven.compiler.target>11</maven.compiler.target>
  86. <maven.compiler.source>11</maven.compiler.source>
  87. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  88. </properties>
  89. </project>