pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.jooby</groupId>
  7. <artifactId>jooby-project</artifactId>
  8. <version>1.4.0</version>
  9. </parent>
  10. <artifactId>jooby</artifactId>
  11. <groupId>com.techempower</groupId>
  12. <version>1.0</version>
  13. <name>jooby</name>
  14. <properties>
  15. <jooby.version>1.4.0</jooby.version>
  16. <postgresql.version>42.2.5</postgresql.version>
  17. <rocker.touchFile>/dev/null</rocker.touchFile>
  18. <!-- Startup class -->
  19. <application.class>com.techempower.App</application.class>
  20. </properties>
  21. <dependencies>
  22. <!-- jackson -->
  23. <dependency>
  24. <groupId>org.jooby</groupId>
  25. <artifactId>jooby-jackson</artifactId>
  26. </dependency>
  27. <!-- jdbc -->
  28. <dependency>
  29. <groupId>org.jooby</groupId>
  30. <artifactId>jooby-jdbc</artifactId>
  31. </dependency>
  32. <!-- mySQL -->
  33. <dependency>
  34. <groupId>mysql</groupId>
  35. <artifactId>mysql-connector-java</artifactId>
  36. </dependency>
  37. <!-- postgresql -->
  38. <dependency>
  39. <groupId>org.postgresql</groupId>
  40. <artifactId>postgresql</artifactId>
  41. <version>${postgresql.version}</version>
  42. </dependency>
  43. <!-- rocker -->
  44. <dependency>
  45. <groupId>org.jooby</groupId>
  46. <artifactId>jooby-rocker</artifactId>
  47. </dependency>
  48. <!-- Server -->
  49. <dependency>
  50. <groupId>org.jooby</groupId>
  51. <artifactId>jooby-netty</artifactId>
  52. </dependency>
  53. <!-- logging -->
  54. <dependency>
  55. <groupId>ch.qos.logback</groupId>
  56. <artifactId>logback-classic</artifactId>
  57. </dependency>
  58. <!-- Tests -->
  59. <dependency>
  60. <groupId>junit</groupId>
  61. <artifactId>junit</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.jooby</groupId>
  66. <artifactId>jooby</artifactId>
  67. <scope>test</scope>
  68. <classifier>tests</classifier>
  69. </dependency>
  70. <!-- Fluent HC -->
  71. <dependency>
  72. <groupId>org.apache.httpcomponents</groupId>
  73. <artifactId>fluent-hc</artifactId>
  74. <scope>test</scope>
  75. </dependency>
  76. <dependency>
  77. <groupId>org.apache.httpcomponents</groupId>
  78. <artifactId>httpmime</artifactId>
  79. <scope>test</scope>
  80. </dependency>
  81. </dependencies>
  82. <build>
  83. <plugins>
  84. <!-- Build fat jar -->
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-shade-plugin</artifactId>
  88. </plugin>
  89. </plugins>
  90. <!-- rocker m2e -->
  91. <pluginManagement>
  92. <plugins>
  93. <plugin>
  94. <groupId>org.eclipse.m2e</groupId>
  95. <artifactId>lifecycle-mapping</artifactId>
  96. <version>1.0.0</version>
  97. <configuration>
  98. <lifecycleMappingMetadata>
  99. <pluginExecutions>
  100. <pluginExecution>
  101. <pluginExecutionFilter>
  102. <groupId>com.fizzed</groupId>
  103. <artifactId>rocker-maven-plugin</artifactId>
  104. <versionRange>[${rocker.version},)</versionRange>
  105. <goals>
  106. <goal>generate</goal>
  107. </goals>
  108. </pluginExecutionFilter>
  109. <action>
  110. <execute>
  111. <runOnIncremental>true</runOnIncremental>
  112. </execute>
  113. </action>
  114. </pluginExecution>
  115. </pluginExecutions>
  116. </lifecycleMappingMetadata>
  117. </configuration>
  118. </plugin>
  119. </plugins>
  120. </pluginManagement>
  121. </build>
  122. </project>