pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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>io.vertx</groupId>
  7. <artifactId>vertx-web-benchmark</artifactId>
  8. <version>3.9.2</version>
  9. <properties>
  10. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  11. <maven.compiler.source>8</maven.compiler.source>
  12. <maven.compiler.target>8</maven.compiler.target>
  13. <!-- the main class -->
  14. <main.verticle>io.vertx.benchmark.App</main.verticle>
  15. </properties>
  16. <dependencyManagement>
  17. <dependencies>
  18. <dependency>
  19. <groupId>io.vertx</groupId>
  20. <artifactId>vertx-stack-depchain</artifactId>
  21. <version>${project.version}</version>
  22. <type>pom</type>
  23. <scope>import</scope>
  24. </dependency>
  25. </dependencies>
  26. </dependencyManagement>
  27. <dependencies>
  28. <dependency>
  29. <groupId>io.vertx</groupId>
  30. <artifactId>vertx-core</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>io.vertx</groupId>
  34. <artifactId>vertx-web</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>io.vertx</groupId>
  38. <artifactId>vertx-mongo-client</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>io.vertx</groupId>
  42. <artifactId>vertx-pg-client</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>io.vertx</groupId>
  46. <artifactId>vertx-web-templ-rocker</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>io.netty</groupId>
  50. <artifactId>netty-transport-native-epoll</artifactId>
  51. <classifier>linux-x86_64</classifier>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.github.susom</groupId>
  55. <artifactId>database</artifactId>
  56. <version>3.0</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.postgresql</groupId>
  60. <artifactId>postgresql</artifactId>
  61. <version>42.2.5</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>javax.xml.bind</groupId>
  65. <artifactId>jaxb-api</artifactId>
  66. <version>2.2.12</version>
  67. </dependency>
  68. </dependencies>
  69. <build>
  70. <plugins>
  71. <plugin>
  72. <groupId>com.fizzed</groupId>
  73. <artifactId>rocker-maven-plugin</artifactId>
  74. <version>0.24.0</version>
  75. <executions>
  76. <execution>
  77. <id>generate-rocker-templates</id>
  78. <phase>generate-sources</phase>
  79. <goals>
  80. <goal>generate</goal>
  81. </goals>
  82. <configuration>
  83. <templateDirectory>${project.basedir}/src/main/resources</templateDirectory>
  84. <optimize>true</optimize>
  85. <javaVersion>1.8</javaVersion>
  86. </configuration>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. <!--
  91. You only need the part below if you want to build your application into a fat executable jar.
  92. This is a jar that contains all the dependencies required to run it, so you can just run it with
  93. java -jar
  94. -->
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-shade-plugin</artifactId>
  98. <version>2.3</version>
  99. <executions>
  100. <execution>
  101. <phase>package</phase>
  102. <goals>
  103. <goal>shade</goal>
  104. </goals>
  105. <configuration>
  106. <transformers>
  107. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  108. <manifestEntries>
  109. <Main-Class>io.vertx.core.Launcher</Main-Class>
  110. <Main-Verticle>${main.verticle}</Main-Verticle>
  111. </manifestEntries>
  112. </transformer>
  113. <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  114. <resource>META-INF/services/io.vertx.core.spi.VerticleFactory</resource>
  115. </transformer>
  116. </transformers>
  117. <artifactSet>
  118. </artifactSet>
  119. <outputFile>${project.build.directory}/${project.artifactId}-${project.version}-fat.jar</outputFile>
  120. </configuration>
  121. </execution>
  122. </executions>
  123. </plugin>
  124. </plugins>
  125. </build>
  126. </project>