pom.xml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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>benchmark</groupId>
  7. <artifactId>javalin</artifactId>
  8. <version>1.0</version>
  9. <properties>
  10. <maven.compiler.source>11</maven.compiler.source>
  11. <maven.compiler.target>11</maven.compiler.target>
  12. <javalin.version>5.2.0</javalin.version>
  13. <slf4j.version>2.0.3</slf4j.version>
  14. <jackson.version>2.13.4</jackson.version>
  15. <hikaricp.version>5.0.1</hikaricp.version>
  16. <postgresql.version>42.5.1</postgresql.version>
  17. <mongodb.version>4.7.2</mongodb.version>
  18. <jte.version>2.2.3</jte.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>io.javalin</groupId>
  23. <artifactId>javalin</artifactId>
  24. <version>${javalin.version}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>io.javalin</groupId>
  28. <artifactId>javalin-rendering</artifactId>
  29. <version>${javalin.version}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.slf4j</groupId>
  33. <artifactId>slf4j-api</artifactId>
  34. <version>${slf4j.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.slf4j</groupId>
  38. <artifactId>slf4j-simple</artifactId>
  39. <version>${slf4j.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.dslplatform</groupId>
  43. <artifactId>dsl-json-java8</artifactId>
  44. <version>1.9.9</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.zaxxer</groupId>
  48. <artifactId>HikariCP</artifactId>
  49. <version>${hikaricp.version}</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.postgresql</groupId>
  53. <artifactId>postgresql</artifactId>
  54. <version>${postgresql.version}</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.mongodb</groupId>
  58. <artifactId>mongodb-driver-sync</artifactId>
  59. <version>${mongodb.version}</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>gg.jte</groupId>
  63. <artifactId>jte</artifactId>
  64. <version>${jte.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>gg.jte</groupId>
  68. <artifactId>jte-kotlin</artifactId>
  69. <version>${jte.version}</version>
  70. </dependency>
  71. </dependencies>
  72. <build>
  73. <plugins>
  74. <plugin>
  75. <groupId>org.apache.maven.plugins</groupId>
  76. <artifactId>maven-compiler-plugin</artifactId>
  77. <version>3.8.1</version>
  78. <configuration>
  79. <source>${maven.compiler.source}</source>
  80. <target>${maven.compiler.target}</target>
  81. </configuration>
  82. </plugin>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-shade-plugin</artifactId>
  86. <version>3.2.4</version>
  87. <executions>
  88. <!-- Run shade goal on package phase -->
  89. <execution>
  90. <phase>package</phase>
  91. <goals>
  92. <goal>shade</goal>
  93. </goals>
  94. <configuration>
  95. <shadedArtifactAttached>true</shadedArtifactAttached>
  96. <transformers>
  97. <!-- add Main-Class to manifest file -->
  98. <transformer
  99. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  100. <mainClass>benchmark.Main</mainClass>
  101. </transformer>
  102. </transformers>
  103. </configuration>
  104. </execution>
  105. </executions>
  106. </plugin>
  107. <plugin>
  108. <groupId>gg.jte</groupId>
  109. <artifactId>jte-maven-plugin</artifactId>
  110. <version>${jte.version}</version>
  111. <configuration>
  112. <sourceDirectory>${basedir}/src/main/jte</sourceDirectory>
  113. <contentType>Html</contentType>
  114. </configuration>
  115. <executions>
  116. <execution>
  117. <phase>generate-sources</phase>
  118. <goals>
  119. <goal>generate</goal>
  120. </goals>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. </project>