pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>com.techempower</groupId>
  5. <artifactId>vertx.benchmark</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <properties>
  8. <maven.compiler.source>11</maven.compiler.source>
  9. <maven.compiler.target>11</maven.compiler.target>
  10. <!-- the main class -->
  11. <main.class>vertx.App</main.class>
  12. <stack.version>4.1.4</stack.version>
  13. <jackson.version>2.11.4</jackson.version>
  14. <netty.version>4.1.67.Final</netty.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>io.vertx</groupId>
  19. <artifactId>vertx-core</artifactId>
  20. <version>${stack.version}</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>io.vertx</groupId>
  24. <artifactId>vertx-pg-client</artifactId>
  25. <version>${stack.version}</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>com.fasterxml.jackson.core</groupId>
  29. <artifactId>jackson-databind</artifactId>
  30. <version>${jackson.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>io.netty</groupId>
  34. <artifactId>netty-transport-native-kqueue</artifactId>
  35. <version>${netty.version}</version>
  36. <classifier>osx-x86_64</classifier>
  37. </dependency>
  38. <dependency>
  39. <groupId>io.netty</groupId>
  40. <artifactId>netty-transport-native-epoll</artifactId>
  41. <version>${netty.version}</version>
  42. <classifier>linux-x86_64</classifier>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.fizzed</groupId>
  46. <artifactId>rocker-compiler</artifactId>
  47. <version>1.2.1</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>javax.xml.bind</groupId>
  51. <artifactId>jaxb-api</artifactId>
  52. <version>2.2.12</version>
  53. </dependency>
  54. </dependencies>
  55. <build>
  56. <plugins>
  57. <plugin>
  58. <groupId>org.apache.maven.plugins</groupId>
  59. <artifactId>maven-compiler-plugin</artifactId>
  60. <version>3.8.0</version>
  61. <configuration>
  62. <debug>false</debug>
  63. </configuration>
  64. </plugin>
  65. <plugin>
  66. <groupId>com.fizzed</groupId>
  67. <artifactId>rocker-maven-plugin</artifactId>
  68. <version>1.2.1</version>
  69. <executions>
  70. <execution>
  71. <id>generate-rocker-templates</id>
  72. <phase>generate-sources</phase>
  73. <goals>
  74. <goal>generate</goal>
  75. </goals>
  76. <configuration>
  77. <javaVersion>11</javaVersion>
  78. <templateDirectory>${basedir}/src/main/templates</templateDirectory>
  79. <outputDirectory>${basedir}/target/generated-sources/rocker</outputDirectory>
  80. <discardLogicWhitespace>false</discardLogicWhitespace>
  81. <addAsSources>true</addAsSources>
  82. <optimize>true</optimize>
  83. <failOnError>true</failOnError>
  84. </configuration>
  85. </execution>
  86. </executions>
  87. </plugin>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-shade-plugin</artifactId>
  91. <version>2.3</version>
  92. <executions>
  93. <execution>
  94. <phase>package</phase>
  95. <goals>
  96. <goal>shade</goal>
  97. </goals>
  98. <configuration>
  99. <transformers>
  100. <transformer
  101. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  102. <manifestEntries>
  103. <Main-Class>${main.class}</Main-Class>
  104. </manifestEntries>
  105. </transformer>
  106. <transformer
  107. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  108. <resource>META-INF/services/io.vertx.core.spi.VerticleFactory</resource>
  109. </transformer>
  110. </transformers>
  111. <artifactSet>
  112. </artifactSet>
  113. <outputFile>${project.build.directory}/${project.artifactId}-${project.version}-fat.jar</outputFile>
  114. </configuration>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </project>