pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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. <!-- the main class -->
  9. <main.class>vertx.App</main.class>
  10. <stack.version>3.5.0.Beta1</stack.version>
  11. </properties>
  12. <dependencies>
  13. <dependency>
  14. <groupId>io.vertx</groupId>
  15. <artifactId>vertx-core</artifactId>
  16. <version>${stack.version}</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.julienviet</groupId>
  20. <artifactId>reactive-pg-client</artifactId>
  21. <version>0.3.1</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>com.fizzed</groupId>
  25. <artifactId>rocker-compiler</artifactId>
  26. <version>0.22.0</version>
  27. </dependency>
  28. </dependencies>
  29. <build>
  30. <plugins>
  31. <plugin>
  32. <groupId>org.apache.maven.plugins</groupId>
  33. <artifactId>maven-compiler-plugin</artifactId>
  34. <configuration>
  35. <source>1.8</source>
  36. <target>1.8</target>
  37. </configuration>
  38. </plugin>
  39. <plugin>
  40. <groupId>com.fizzed</groupId>
  41. <artifactId>rocker-maven-plugin</artifactId>
  42. <version>0.22.0</version>
  43. <executions>
  44. <execution>
  45. <id>generate-rocker-templates</id>
  46. <phase>generate-sources</phase>
  47. <goals>
  48. <goal>generate</goal>
  49. </goals>
  50. <configuration>
  51. <javaVersion>1.8</javaVersion>
  52. <templateDirectory>${basedir}/src/main/templates</templateDirectory>
  53. <outputDirectory>${basedir}/target/generated-sources/rocker</outputDirectory>
  54. <discardLogicWhitespace>false</discardLogicWhitespace>
  55. <addAsSources>true</addAsSources>
  56. <optimize>true</optimize>
  57. <failOnError>true</failOnError>
  58. </configuration>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. <plugin>
  63. <groupId>org.apache.maven.plugins</groupId>
  64. <artifactId>maven-shade-plugin</artifactId>
  65. <version>2.3</version>
  66. <executions>
  67. <execution>
  68. <phase>package</phase>
  69. <goals>
  70. <goal>shade</goal>
  71. </goals>
  72. <configuration>
  73. <transformers>
  74. <transformer
  75. implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
  76. <manifestEntries>
  77. <Main-Class>${main.class}</Main-Class>
  78. </manifestEntries>
  79. </transformer>
  80. <transformer
  81. implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
  82. <resource>META-INF/services/io.vertx.core.spi.VerticleFactory</resource>
  83. </transformer>
  84. </transformers>
  85. <artifactSet>
  86. </artifactSet>
  87. <outputFile>${project.build.directory}/${project.artifactId}-${project.version}-fat.jar</outputFile>
  88. </configuration>
  89. </execution>
  90. </executions>
  91. </plugin>
  92. </plugins>
  93. </build>
  94. </project>