pom.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
  4. >
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>cz.hsrs.maplog</groupId>
  7. <artifactId>DBService</artifactId>
  8. <packaging>jar</packaging>
  9. <version>1.3.5-SNAPSHOT</version>
  10. <name>dbservice Maven Webapp</name>
  11. <build>
  12. <finalName>${project.artifactId}-${project.version}</finalName>
  13. <sourceDirectory>./src/main/java</sourceDirectory>
  14. <testSourceDirectory>./src/test/java</testSourceDirectory>
  15. <resources>
  16. <resource>
  17. <directory>./src/main/resources</directory>
  18. <filtering>true</filtering>
  19. </resource>
  20. </resources>
  21. <testResources>
  22. <testResource>
  23. <directory>./src/test/resources</directory>
  24. </testResource>
  25. </testResources>
  26. <plugins>
  27. <plugin>
  28. <groupId>org.apache.maven.plugins</groupId>
  29. <artifactId>maven-assembly-plugin</artifactId>
  30. <version>3.3.0</version>
  31. <configuration>
  32. <descriptorRefs>
  33. <descriptorRef>jar-with-dependencies</descriptorRef>
  34. </descriptorRefs>
  35. </configuration>
  36. <executions>
  37. <execution>
  38. <id>assemble-all</id>
  39. <phase>package</phase>
  40. <goals>
  41. <goal>single</goal>
  42. </goals>
  43. </execution>
  44. </executions>
  45. </plugin>
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-jar-plugin</artifactId>
  49. <configuration>
  50. <archive>
  51. <manifest>
  52. <addClasspath>true</addClasspath>
  53. <mainClass>io.senslog.app.Main</mainClass>
  54. </manifest>
  55. </archive>
  56. </configuration>
  57. </plugin>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-war-plugin</artifactId>
  61. <version>2.0.2</version>
  62. <configuration>
  63. <archive>
  64. <manifest>
  65. <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
  66. </manifest>
  67. <manifestEntries>
  68. <Implementation-Build>${buildNumber}</Implementation-Build>
  69. </manifestEntries>
  70. </archive>
  71. <warSourceExcludes>wwwlibs/**</warSourceExcludes>
  72. </configuration>
  73. </plugin>
  74. </plugins>
  75. <pluginManagement>
  76. <plugins>
  77. <!-- ======================================================= -->
  78. <!-- Compilation. -->
  79. <!-- ======================================================= -->
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-compiler-plugin</artifactId>
  83. <version>2.0.2</version>
  84. <configuration>
  85. <source>1.8</source> <!-- The -source argument for the Java compiler. -->
  86. <target>1.8</target> <!-- The -target argument for the Java compiler. -->
  87. <debug>true</debug> <!-- Whether to include debugging information. -->
  88. <encoding>UTF-8</encoding> <!-- The -encoding argument for the Java compiler. -->
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. </pluginManagement>
  93. </build>
  94. <dependencies>
  95. <!-- NEW DEPENDENCIES -->
  96. <dependency>
  97. <groupId>com.zaxxer</groupId>
  98. <artifactId>HikariCP</artifactId>
  99. <version>5.0.0</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.jdbi</groupId>
  103. <artifactId>jdbi3-postgres</artifactId>
  104. <version>3.21.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>org.jdbi</groupId>
  108. <artifactId>jdbi3-jodatime2</artifactId>
  109. <version>3.21.0</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>org.apache.commons</groupId>
  113. <artifactId>commons-lang3</artifactId>
  114. <version>3.12.0</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.beust</groupId>
  118. <artifactId>jcommander</artifactId>
  119. <version>1.81</version>
  120. </dependency>
  121. <dependency>
  122. <groupId>com.fasterxml.jackson.core</groupId>
  123. <artifactId>jackson-databind</artifactId>
  124. <version>2.11.0</version>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.auth0</groupId>
  128. <artifactId>java-jwt</artifactId>
  129. <version>3.18.1</version>
  130. </dependency>
  131. <dependency>
  132. <groupId>org.apache.logging.log4j</groupId>
  133. <artifactId>log4j-core</artifactId>
  134. <version>2.14.1</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.logging.log4j</groupId>
  138. <artifactId>log4j-api</artifactId>
  139. <version>2.14.1</version>
  140. </dependency>
  141. <!-- Tests -->
  142. <dependency>
  143. <groupId>junit</groupId>
  144. <artifactId>junit</artifactId>
  145. <version>4.5</version>
  146. <scope>test</scope>
  147. </dependency>
  148. <!-- JETTY -->
  149. <dependency>
  150. <groupId>org.eclipse.jetty</groupId>
  151. <artifactId>jetty-server</artifactId>
  152. <version>10.0.2</version>
  153. </dependency>
  154. <dependency>
  155. <groupId>org.eclipse.jetty</groupId>
  156. <artifactId>jetty-servlet</artifactId>
  157. <version>10.0.2</version>
  158. </dependency>
  159. <dependency>
  160. <groupId>org.eclipse.jetty</groupId>
  161. <artifactId>jetty-webapp</artifactId>
  162. <version>10.0.2</version>
  163. </dependency>
  164. <dependency>
  165. <groupId>org.mortbay.jetty</groupId>
  166. <artifactId>jetty-util</artifactId>
  167. <version>6.1.26</version>
  168. </dependency>
  169. <dependency>
  170. <groupId>javax.servlet</groupId>
  171. <artifactId>javax.servlet-api</artifactId>
  172. <version>4.0.1</version>
  173. </dependency>
  174. <dependency>
  175. <groupId>javax.xml.bind</groupId>
  176. <artifactId>jaxb-api</artifactId>
  177. <version>2.4.0-b180830.0359</version>
  178. </dependency>
  179. <dependency>
  180. <groupId>org.slf4j</groupId>
  181. <artifactId>slf4j-api</artifactId>
  182. <version>2.0.0-alpha1</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.slf4j</groupId>
  186. <artifactId>slf4j-jdk14</artifactId>
  187. <version>2.0.0-alpha1</version>
  188. <scope>runtime</scope>
  189. </dependency>
  190. <!-- Provided dependencies -->
  191. <dependency>
  192. <groupId>net.sf.jasperreports</groupId>
  193. <artifactId>jasperreports</artifactId>
  194. <version>4.5.0</version>
  195. <scope>provided</scope>
  196. </dependency>
  197. <dependency>
  198. <groupId>javax</groupId>
  199. <artifactId>javaee-api</artifactId>
  200. <version>7.0</version>
  201. <scope>provided</scope>
  202. </dependency>
  203. <dependency>
  204. <groupId>com.fasterxml.jackson.core</groupId>
  205. <artifactId>jackson-core</artifactId>
  206. <version>2.9.7</version>
  207. <!-- <version>2.11.1</version> -->
  208. </dependency>
  209. <dependency>
  210. <groupId>com.fasterxml.jackson.core</groupId>
  211. <artifactId>jackson-annotations</artifactId>
  212. <version>2.9.7</version>
  213. </dependency>
  214. <!-- JERSEY -->
  215. <dependency>
  216. <groupId>org.glassfish.jersey.containers</groupId>
  217. <artifactId>jersey-container-servlet</artifactId>
  218. <version>2.23</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>org.glassfish.jersey.core</groupId>
  222. <artifactId>jersey-client</artifactId>
  223. <version>2.23</version>
  224. </dependency>
  225. <dependency>
  226. <groupId>org.glassfish.jersey.media</groupId>
  227. <artifactId>jersey-media-json-jackson</artifactId>
  228. <version>2.23</version>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.glassfish.jersey.media</groupId>
  232. <artifactId>jersey-media-multipart</artifactId>
  233. <version>2.23</version>
  234. </dependency>
  235. <!-- JERSEY -->
  236. <dependency>
  237. <groupId>org.jvnet.mimepull</groupId>
  238. <artifactId>mimepull</artifactId>
  239. <version>1.9.3</version>
  240. </dependency>
  241. <dependency>
  242. <groupId>commons-io</groupId>
  243. <artifactId>commons-io</artifactId>
  244. <version>2.7</version>
  245. </dependency>
  246. <dependency>
  247. <groupId>net.sf.json-lib</groupId>
  248. <artifactId>json-lib</artifactId>
  249. <version>2.4</version>
  250. <classifier>jdk15</classifier>
  251. </dependency>
  252. <dependency>
  253. <groupId>commons-collections</groupId>
  254. <artifactId>commons-collections</artifactId>
  255. <version>3.2.2</version>
  256. </dependency>
  257. <dependency>
  258. <groupId>org.jfree</groupId>
  259. <artifactId>jfreechart</artifactId>
  260. <version>1.5.0</version>
  261. </dependency>
  262. <dependency>
  263. <groupId>org.postgresql</groupId>
  264. <artifactId>postgresql</artifactId>
  265. <version>42.2.14</version>
  266. </dependency>
  267. </dependencies>
  268. <properties>
  269. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  270. <project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
  271. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  272. <timestamp>${maven.build.timestamp}</timestamp>
  273. <maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
  274. </properties>
  275. </project>