pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. <build>
  12. <plugins>
  13. <plugin>
  14. <groupId>com.github.spotbugs</groupId>
  15. <artifactId>spotbugs-maven-plugin</artifactId>
  16. <version>3.1.8</version>
  17. <dependencies>
  18. <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
  19. <dependency>
  20. <groupId>com.github.spotbugs</groupId>
  21. <artifactId>spotbugs</artifactId>
  22. <version>3.1.8</version>
  23. </dependency>
  24. </dependencies>
  25. </plugin>
  26. <plugin>
  27. <groupId>org.apache.maven.plugins</groupId>
  28. <artifactId>maven-compiler-plugin</artifactId>
  29. <version>3.8.0</version>
  30. <configuration>
  31. <source>11</source>
  32. <target>11</target>
  33. <excludes>
  34. <exclude>module-info.java</exclude>
  35. </excludes>
  36. </configuration>
  37. </plugin>
  38. <plugin>
  39. <groupId>org.apache.maven.plugins</groupId>
  40. <artifactId>maven-shade-plugin</artifactId>
  41. <version>3.2.1</version>
  42. <executions>
  43. <execution>
  44. <phase>package</phase>
  45. <goals>
  46. <goal>shade</goal>
  47. </goals>
  48. <configuration>
  49. <filters>
  50. <filter>
  51. <artifact>*:*</artifact>
  52. <excludes>
  53. <exclude>META-INF/*.SF</exclude>
  54. <exclude>META-INF/*.DSA</exclude>
  55. <exclude>META-INF/*.RSA</exclude>
  56. </excludes>
  57. </filter>
  58. </filters>
  59. <createSourcesJar>false</createSourcesJar>
  60. <shadedClassifierName>shaded</shadedClassifierName>
  61. <shadedArtifactAttached>true</shadedArtifactAttached>
  62. <minimizeJar>true</minimizeJar>
  63. </configuration>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. <plugin>
  68. <groupId>org.apache.maven.plugins</groupId>
  69. <artifactId>maven-jar-plugin</artifactId>
  70. <version>3.1.0</version>
  71. <configuration>
  72. <archive>
  73. <manifest>
  74. <addClasspath>true</addClasspath>
  75. <mainClass>com.acdp.transceivr.Main</mainClass>
  76. </manifest>
  77. </archive>
  78. </configuration>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. <dependencies>
  83. <dependency>
  84. <groupId>com.eclipsesource.minimal-json</groupId>
  85. <artifactId>minimal-json</artifactId>
  86. <version>0.9.5</version>
  87. </dependency>
  88. <!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
  89. <dependency>
  90. <groupId>com.squareup.okhttp3</groupId>
  91. <artifactId>okhttp</artifactId>
  92. <version>3.14.0</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.squareup.okhttp3</groupId>
  96. <artifactId>okhttp-tls</artifactId>
  97. <version>3.14.0</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.sparkjava</groupId>
  101. <artifactId>spark-core</artifactId>
  102. <version>2.8.0</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.slf4j</groupId>
  106. <artifactId>slf4j-api</artifactId>
  107. <version>1.7.26</version>
  108. </dependency>
  109. <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
  110. <dependency>
  111. <groupId>ch.qos.logback</groupId>
  112. <artifactId>logback-classic</artifactId>
  113. <version>1.2.3</version>
  114. </dependency>
  115. <dependency>
  116. <groupId>info.faljse</groupId>
  117. <artifactId>SDNotify</artifactId>
  118. <version>1.3</version>
  119. </dependency>
  120. </dependencies>
  121. </project>