pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0"?>
  2. <project
  3. xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>at.acdp.urweb</groupId>
  7. <artifactId>urweb</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>urweb</name>
  10. <packaging>jar</packaging>
  11. <properties>
  12. <undertow.version>2.0.15.Final</undertow.version>
  13. </properties>
  14. <build>
  15. <plugins>
  16. <plugin>
  17. <groupId>com.github.spotbugs</groupId>
  18. <artifactId>spotbugs-maven-plugin</artifactId>
  19. <version>3.1.8</version>
  20. <dependencies>
  21. <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
  22. <dependency>
  23. <groupId>com.github.spotbugs</groupId>
  24. <artifactId>spotbugs</artifactId>
  25. <version>3.1.8</version>
  26. </dependency>
  27. </dependencies>
  28. </plugin>
  29. <plugin>
  30. <groupId>org.apache.maven.plugins</groupId>
  31. <artifactId>maven-compiler-plugin</artifactId>
  32. <version>3.8.0</version>
  33. <configuration>
  34. <source>11</source>
  35. <target>11</target>
  36. <excludes>
  37. <exclude>module-info.java</exclude>
  38. </excludes>
  39. </configuration>
  40. </plugin>
  41. <plugin>
  42. <groupId>org.apache.maven.plugins</groupId>
  43. <artifactId>maven-shade-plugin</artifactId>
  44. <version>3.2.1</version>
  45. <executions>
  46. <execution>
  47. <phase>package</phase>
  48. <goals>
  49. <goal>shade</goal>
  50. </goals>
  51. <configuration>
  52. <minimizeJar>true</minimizeJar>
  53. </configuration>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-jar-plugin</artifactId>
  60. <version>3.1.0</version>
  61. <configuration>
  62. <archive>
  63. <manifest>
  64. <addClasspath>true</addClasspath>
  65. <mainClass>at.acdp.urweb.Main</mainClass>
  66. </manifest>
  67. </archive>
  68. </configuration>
  69. </plugin>
  70. </plugins>
  71. </build>
  72. <dependencies>
  73. <dependency>
  74. <groupId>com.eclipsesource.minimal-json</groupId>
  75. <artifactId>minimal-json</artifactId>
  76. <version>0.9.5</version>
  77. </dependency>
  78. <dependency>
  79. <groupId>io.undertow</groupId>
  80. <artifactId>undertow-core</artifactId>
  81. <version>${undertow.version}</version>
  82. </dependency>
  83. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
  84. <dependency>
  85. <groupId>org.junit.jupiter</groupId>
  86. <artifactId>junit-jupiter-api</artifactId>
  87. <version>5.3.1</version>
  88. <scope>test</scope>
  89. </dependency>
  90. <dependency>
  91. <groupId>org.slf4j</groupId>
  92. <artifactId>slf4j-api</artifactId>
  93. <version>1.7.25</version>
  94. </dependency>
  95. <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
  96. <dependency>
  97. <groupId>ch.qos.logback</groupId>
  98. <artifactId>logback-classic</artifactId>
  99. <version>1.2.3</version>
  100. </dependency>
  101. </dependencies>
  102. </project>