pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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.5.0</version>
  9. <properties>
  10. <!-- the main class -->
  11. <main.verticle>io.vertx.benchmark.App</main.verticle>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>io.vertx</groupId>
  16. <artifactId>vertx-core</artifactId>
  17. <version>${project.version}</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>io.vertx</groupId>
  21. <artifactId>vertx-web</artifactId>
  22. <version>${project.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>io.vertx</groupId>
  26. <artifactId>vertx-mongo-client</artifactId>
  27. <version>${project.version}</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.julienviet</groupId>
  31. <artifactId>vertx-pg-client</artifactId>
  32. <version>0.3.0</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>io.vertx</groupId>
  36. <artifactId>vertx-web-templ-handlebars</artifactId>
  37. <version>${project.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.github.susom</groupId>
  41. <artifactId>database</artifactId>
  42. <version>2.1</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.postgresql</groupId>
  46. <artifactId>postgresql</artifactId>
  47. <version>42.1.4</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.fasterxml.jackson.module</groupId>
  51. <artifactId>jackson-module-afterburner</artifactId>
  52. <version>2.7.4</version>
  53. </dependency>
  54. </dependencies>
  55. <build>
  56. <pluginManagement>
  57. <plugins>
  58. <!-- We specify the Maven compiler plugin as we need to set it to Java 1.8 -->
  59. <plugin>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <version>3.1</version>
  62. <configuration>
  63. <source>1.8</source>
  64. <target>1.8</target>
  65. </configuration>
  66. </plugin>
  67. </plugins>
  68. </pluginManagement>
  69. <!--
  70. You only need the part below if you want to build your application into a fat executable jar.
  71. This is a jar that contains all the dependencies required to run it, so you can just run it with
  72. java -jar
  73. -->
  74. <plugins>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-shade-plugin</artifactId>
  78. <version>2.3</version>
  79. <executions>
  80. <execution>
  81. <phase>package</phase>
  82. <goals>
  83. <goal>shade</goal>
  84. </goals>
  85. <configuration>
  86. <transformers>
  87. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  88. <manifestEntries>
  89. <Main-Class>io.vertx.core.Launcher</Main-Class>
  90. <Main-Verticle>${main.verticle}</Main-Verticle>
  91. </manifestEntries>
  92. </transformer>
  93. <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  94. <resource>META-INF/services/io.vertx.core.spi.VerticleFactory</resource>
  95. </transformer>
  96. </transformers>
  97. <artifactSet>
  98. </artifactSet>
  99. <outputFile>${project.build.directory}/${project.artifactId}-${project.version}-fat.jar</outputFile>
  100. </configuration>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. </project>