pom.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>pl.dmcs</groupId>
  4. <artifactId>app</artifactId>
  5. <version>1.0</version>
  6. <packaging>jar</packaging>
  7. <properties>
  8. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  9. <maven.compiler.source>11</maven.compiler.source>
  10. <maven.compiler.target>11</maven.compiler.target>
  11. </properties>
  12. <!-- useful for documentation generation -->
  13. <name>My sample project</name>
  14. <description>This is my sample project.</description>
  15. <url>https://weeia.p.lodz.pl</url>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.junit.jupiter</groupId>
  19. <artifactId>junit-jupiter-api</artifactId>
  20. <version>5.8.2</version>
  21. <scope>test</scope>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.junit.jupiter</groupId>
  25. <artifactId>junit-jupiter-engine</artifactId>
  26. <version>5.8.2</version>
  27. <scope>test</scope>
  28. </dependency>
  29. </dependencies>
  30. <build>
  31. <pluginManagement>
  32. <!--
  33. lock down plugins versions to avoid using Maven defaults
  34. -->
  35. <plugins>
  36. <!-- clean lifecycle -->
  37. <plugin>
  38. <artifactId>maven-clean-plugin</artifactId>
  39. <version>3.3.2</version>
  40. </plugin>
  41. <!-- default lifecycle -->
  42. <plugin>
  43. <artifactId>maven-resources-plugin</artifactId>
  44. <version>3.3.1</version>
  45. </plugin>
  46. <plugin>
  47. <artifactId>maven-compiler-plugin</artifactId>
  48. <version>3.12.1</version>
  49. </plugin>
  50. <plugin>
  51. <artifactId>maven-surefire-plugin</artifactId>
  52. <version>3.2.5</version>
  53. </plugin>
  54. <plugin>
  55. <artifactId>maven-jar-plugin</artifactId>
  56. <version>3.3.0</version>
  57. <configuration>
  58. <archive>
  59. <manifest>
  60. <addClasspath>true</addClasspath>
  61. <mainClass>pl.dmcs.HelloWorld</mainClass>
  62. </manifest>
  63. </archive>
  64. </configuration>
  65. </plugin>
  66. <plugin>
  67. <artifactId>maven-install-plugin</artifactId>
  68. <version>3.1.1</version>
  69. </plugin>
  70. <plugin>
  71. <artifactId>maven-deploy-plugin</artifactId>
  72. <version>3.1.1</version>
  73. </plugin>
  74. <!-- site lifecycle -->
  75. <plugin>
  76. <artifactId>maven-site-plugin</artifactId>
  77. <version>4.0.0-M13</version>
  78. </plugin>
  79. <plugin>
  80. <artifactId>maven-project-info-reports-plugin</artifactId>
  81. <version>3.5.0</version>
  82. </plugin>
  83. </plugins>
  84. </pluginManagement>
  85. </build>
  86. </project>