pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. <createSourcesJar>false</createSourcesJar>
  53. <shadedClassifierName>shaded</shadedClassifierName>
  54. <shadedArtifactAttached>true</shadedArtifactAttached>
  55. <minimizeJar>false</minimizeJar>
  56. </configuration>
  57. </execution>
  58. </executions>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-jar-plugin</artifactId>
  63. <version>3.1.0</version>
  64. <configuration>
  65. <archive>
  66. <manifest>
  67. <addClasspath>true</addClasspath>
  68. <mainClass>com.acdp.transceivr.Main</mainClass>
  69. </manifest>
  70. </archive>
  71. </configuration>
  72. </plugin>
  73. </plugins>
  74. </build>
  75. <dependencies>
  76. <dependency>
  77. <groupId>com.eclipsesource.minimal-json</groupId>
  78. <artifactId>minimal-json</artifactId>
  79. <version>0.9.5</version>
  80. </dependency>
  81. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  82. <dependency>
  83. <groupId>com.squareup.okhttp3</groupId>
  84. <artifactId>okhttp</artifactId>
  85. <version>3.14.0</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.undertow</groupId>
  89. <artifactId>undertow-core</artifactId>
  90. <version>${undertow.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.slf4j</groupId>
  94. <artifactId>slf4j-api</artifactId>
  95. <version>1.7.25</version>
  96. </dependency>
  97. <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
  98. <dependency>
  99. <groupId>ch.qos.logback</groupId>
  100. <artifactId>logback-classic</artifactId>
  101. <version>1.2.3</version>
  102. </dependency>
  103. </dependencies>
  104. </project>