pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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.ur</groupId>
  7. <artifactId>uraxisdaemon</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <name>uraxisdaemon</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.12</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.12</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.1</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.sparkjava</groupId>
  85. <artifactId>spark-core</artifactId>
  86. <version>2.9.0</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>org.slf4j</groupId>
  90. <artifactId>slf4j-api</artifactId>
  91. <version>1.7.26</version>
  92. </dependency>
  93. <!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
  94. <dependency>
  95. <groupId>org.junit.jupiter</groupId>
  96. <artifactId>junit-jupiter-api</artifactId>
  97. <version>5.3.1</version>
  98. <scope>test</scope>
  99. </dependency>
  100. <!-- https://mvnrepository.com/artifact/ch.qos.logback/logback-classic -->
  101. <dependency>
  102. <groupId>ch.qos.logback</groupId>
  103. <artifactId>logback-classic</artifactId>
  104. <version>1.2.3</version>
  105. </dependency>
  106. </dependencies>
  107. </project>