pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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.2.5</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.fasterxml.jackson.module</groupId>
  51. <artifactId>jackson-module-afterburner</artifactId>
  52. <version>2.9.7</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>javax.xml.bind</groupId>
  56. <artifactId>jaxb-api</artifactId>
  57. <version>2.2.12</version>
  58. </dependency>
  59. </dependencies>
  60. <build>
  61. <pluginManagement>
  62. <plugins>
  63. <!-- We specify the Maven compiler plugin as we need to set it to Java 1.8 -->
  64. <plugin>
  65. <artifactId>maven-compiler-plugin</artifactId>
  66. <version>3.1</version>
  67. <configuration>
  68. <source>1.8</source>
  69. <target>1.8</target>
  70. </configuration>
  71. </plugin>
  72. </plugins>
  73. </pluginManagement>
  74. <!--
  75. You only need the part below if you want to build your application into a fat executable jar.
  76. This is a jar that contains all the dependencies required to run it, so you can just run it with
  77. java -jar
  78. -->
  79. <plugins>
  80. <plugin>
  81. <groupId>org.apache.maven.plugins</groupId>
  82. <artifactId>maven-shade-plugin</artifactId>
  83. <version>2.3</version>
  84. <executions>
  85. <execution>
  86. <phase>package</phase>
  87. <goals>
  88. <goal>shade</goal>
  89. </goals>
  90. <configuration>
  91. <transformers>
  92. <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  93. <manifestEntries>
  94. <Main-Class>io.vertx.core.Launcher</Main-Class>
  95. <Main-Verticle>${main.verticle}</Main-Verticle>
  96. </manifestEntries>
  97. </transformer>
  98. <transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  99. <resource>META-INF/services/io.vertx.core.spi.VerticleFactory</resource>
  100. </transformer>
  101. </transformers>
  102. <artifactSet>
  103. </artifactSet>
  104. <outputFile>${project.build.directory}/${project.artifactId}-${project.version}-fat.jar</outputFile>
  105. </configuration>
  106. </execution>
  107. </executions>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </project>