pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. <filters>
  54. <filter>
  55. <artifact>*:*</artifact>
  56. <excludes>
  57. <exclude>META-INF/*.SF</exclude>
  58. <exclude>META-INF/*.DSA</exclude>
  59. <exclude>META-INF/*.RSA</exclude>
  60. </excludes>
  61. </filter>
  62. </filters>
  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>at.acdp.urweb.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. <dependency>
  89. <groupId>com.sparkjava</groupId>
  90. <artifactId>spark-core</artifactId>
  91. <version>2.8.0</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>org.slf4j</groupId>
  95. <artifactId>slf4j-api</artifactId>
  96. <version>1.7.26</version>
  97. </dependency>
  98. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
  99. <dependency>
  100. <groupId>org.junit.jupiter</groupId>
  101. <artifactId>junit-jupiter-api</artifactId>
  102. <version>5.3.1</version>
  103. <scope>test</scope>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.squareup.okhttp3</groupId>
  107. <artifactId>okhttp</artifactId>
  108. <version>3.14.0</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.squareup.okhttp3</groupId>
  112. <artifactId>okhttp-tls</artifactId>
  113. <version>3.14.0</version>
  114. </dependency>
  115. <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
  116. <dependency>
  117. <groupId>ch.qos.logback</groupId>
  118. <artifactId>logback-classic</artifactId>
  119. <version>1.2.3</version>
  120. </dependency>
  121. </dependencies>
  122. </project>