pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>at.acdp</groupId>
  7. <artifactId>transceivr</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>transceivr</name>
  10. <packaging>jar</packaging>
  11. <properties>
  12. <undertow.version>2.0.19.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. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  79. <dependency>
  80. <groupId>com.squareup.okhttp3</groupId>
  81. <artifactId>okhttp</artifactId>
  82. <version>3.14.0</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>io.undertow</groupId>
  86. <artifactId>undertow-core</artifactId>
  87. <version>${undertow.version}</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.slf4j</groupId>
  91. <artifactId>slf4j-api</artifactId>
  92. <version>1.7.25</version>
  93. </dependency>
  94. <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
  95. <dependency>
  96. <groupId>ch.qos.logback</groupId>
  97. <artifactId>logback-classic</artifactId>
  98. <version>1.2.3</version>
  99. </dependency>
  100. </dependencies>
  101. </project>