pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. <parent>
  7. <groupId>io.avaje</groupId>
  8. <artifactId>avaje-jex-parent</artifactId>
  9. <version>3.2</version>
  10. </parent>
  11. <groupId>benchmark</groupId>
  12. <artifactId>avaje-jex</artifactId>
  13. <version>1.0</version>
  14. <properties>
  15. <maven.compiler.release>24</maven.compiler.release>
  16. <slf4j.version>2.0.17</slf4j.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>io.avaje</groupId>
  21. <artifactId>avaje-config</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>io.avaje</groupId>
  25. <artifactId>avaje-http-api</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>io.avaje</groupId>
  29. <artifactId>avaje-inject</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>io.avaje</groupId>
  33. <artifactId>avaje-jex</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>io.avaje</groupId>
  37. <artifactId>avaje-jsonb</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.slf4j</groupId>
  41. <artifactId>slf4j-api</artifactId>
  42. <version>${slf4j.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.slf4j</groupId>
  46. <artifactId>slf4j-simple</artifactId>
  47. <version>${slf4j.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.zaxxer</groupId>
  51. <artifactId>HikariCP</artifactId>
  52. <version>6.3.0</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.postgresql</groupId>
  56. <artifactId>postgresql</artifactId>
  57. <version>42.7.7</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>io.jstach</groupId>
  61. <artifactId>jstachio</artifactId>
  62. <version>1.3.7</version>
  63. </dependency>
  64. <!-- Annotation Processors -->
  65. <dependency>
  66. <groupId>io.jstach</groupId>
  67. <artifactId>jstachio-apt</artifactId>
  68. <version>1.3.7</version>
  69. <scope>provided</scope>
  70. </dependency>
  71. <dependency>
  72. <groupId>io.avaje</groupId>
  73. <artifactId>avaje-http-jex-generator</artifactId>
  74. <scope>provided</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>io.avaje</groupId>
  78. <artifactId>avaje-inject-generator</artifactId>
  79. <scope>provided</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>io.avaje</groupId>
  83. <artifactId>avaje-jsonb-generator</artifactId>
  84. <scope>provided</scope>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <plugins>
  89. <plugin>
  90. <groupId>io.avaje</groupId>
  91. <artifactId>avaje-provides-maven-plugin</artifactId>
  92. <version>2.3</version>
  93. </plugin>
  94. <plugin>
  95. <groupId>com.spotify.fmt</groupId>
  96. <artifactId>fmt-maven-plugin</artifactId>
  97. <version>2.25</version>
  98. <executions>
  99. <execution>
  100. <goals>
  101. <goal>format</goal>
  102. </goals>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. <!-- Create Modular Jar and copy dependencies -->
  107. <plugin>
  108. <artifactId>maven-jar-plugin</artifactId>
  109. <configuration>
  110. <outputDirectory>${project.build.directory}/modules</outputDirectory>
  111. <archive>
  112. <manifest>
  113. <mainClass>benchmark.Main</mainClass>
  114. </manifest>
  115. </archive>
  116. </configuration>
  117. </plugin>
  118. <plugin>
  119. <artifactId>maven-dependency-plugin</artifactId>
  120. <executions>
  121. <execution>
  122. <id>copy-modules</id>
  123. <phase>package</phase>
  124. <goals>
  125. <goal>copy-dependencies</goal>
  126. </goals>
  127. <configuration>
  128. <outputDirectory>${project.build.directory}/modules</outputDirectory>
  129. <includeScope>runtime</includeScope>
  130. </configuration>
  131. </execution>
  132. </executions>
  133. </plugin>
  134. </plugins>
  135. </build>
  136. <profiles>
  137. <profile>
  138. <id>robaho</id>
  139. <activation>
  140. <activeByDefault>false</activeByDefault>
  141. </activation>
  142. <dependencies>
  143. <dependency>
  144. <groupId>io.github.robaho</groupId>
  145. <artifactId>httpserver</artifactId>
  146. </dependency>
  147. </dependencies>
  148. </profile>
  149. <profile>
  150. <id>jetty</id>
  151. <activation>
  152. <activeByDefault>false</activeByDefault>
  153. </activation>
  154. <dependencies>
  155. <dependency>
  156. <groupId>org.eclipse.jetty</groupId>
  157. <artifactId>jetty-http-spi</artifactId>
  158. <version>12.0.19</version>
  159. </dependency>
  160. </dependencies>
  161. </profile>
  162. </profiles>
  163. </project>