Advertisement
Guest User

Untitled

a guest
Aug 29th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.71 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. < 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/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5.  
  6. <groupId>com.example</groupId>
  7. <artifactId>demo</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <packaging>jar</packaging>
  10.  
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>1.5.6.RELEASE</version>
  15. </parent>
  16.  
  17. <properties>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. <java.version>1.8</java.version>
  20. <junit.jupiter.version>5.0.0-M3</junit.jupiter.version>
  21. <junit.vintage.version>${junit.version}.0-M3</junit.vintage.version>
  22. <junit.platform.version>1.0.0-M3</junit.platform.version>
  23. <cucumber.version>1.2.5</cucumber.version>
  24. <mysql.connector.version>6.0.5</mysql.connector.version>
  25. <jooq.verson>3.9.1</jooq.verson>
  26. </properties>
  27.  
  28. <plugin>
  29. <plugins>
  30. <plugin>
  31. <artifactId>maven-compiler-plugin</artifactId>
  32. <version>3.1</version>
  33. <configuration>
  34. <source>${java.version}</source>
  35. <target>${java.version}</target>
  36. </configuration>
  37. </plugin>
  38. </plugins>
  39.  
  40. <artifactId>maven-surefire-plugin</artifactId>
  41. <version>2.19.1</version>
  42. <configuration>
  43. <include>
  44. <include>**/Test*.java</include>
  45. <include>**/*Test.java</include>
  46. <include>**/*Tests.java</include>
  47. <include>**/*TestCase.java</include>
  48. <include>**/*Runner.java</include>
  49. </include>
  50. </configuration>
  51.  
  52. <dependencies>
  53. <dependency>
  54. <groupId>org.junit.platform</groupId>
  55. <artifactId>junit-platform-surefire-provider</artifactId>
  56. <version>LATEST</version>
  57. </dependency>
  58.  
  59. <dependency>
  60. <groupId>org.junit.jupiter</groupId>
  61. <artifactId>junit-jupiter-engine</artifactId>
  62. <version>LATEST</version>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.junit.vintage</groupId>
  66. <artifactId>junit-vintage-engine</artifactId>
  67. <version>${junit.jupiter.version}</version>
  68. </dependency>
  69. </dependencies>
  70. </plugin>
  71.  
  72. <plugin>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-maven-plugin</artifactId>
  75. </plugin>
  76.  
  77. <plugin>
  78. <groupId>org.liquidbase</groupId>
  79. <artifactId>liduidbase</artifactId>
  80. <version>3.0.5</version>
  81. </plugin>
  82.  
  83. <configuration>
  84.  
  85. <driver>com.mysql.cj.jdbc.Driver</driver>
  86. <url>jdbc:mysql://127.0.0.1:33306/monster_app?nullNamePatternMatchesAll=true</url>
  87. <username>monster_user</username>
  88. <password>monster_password</password>
  89. <changeLogFile>src/main/java/com/example/changelog-master.xml</changeLogFile>
  90. <promptOnNonLocalDatabase>false</promptOnNonLocalDatabase>
  91. </configuration>
  92. <executions>
  93. <execution>
  94. <phase>process-resources</phase>
  95. <goals>
  96. <goal>update</goal>
  97. </goals>
  98. </execution>
  99. </executions>
  100. </plugin>
  101. <groupId>org.jooq</groupId>
  102. <artifactId>jooq-codegen-maven</artifactId>
  103. <configuration>
  104. <jdbc>
  105. <driver>com.mysqk.cj.jdbc.Driver</driver>
  106. <url>jdbc:mysql://127.0.0.1:33306/monster_app?nullNamePatternMatchesAll=true</url>
  107. <username>monster_user</username>
  108. <password>monster_password</password>
  109. </jdbc>
  110. <generator>
  111. <name>org.jooq.util.JavaGenerator</name>
  112. <database>
  113. <name>org.jooq.util.mysql.MySQLDatabase</name>
  114. <inputSchema>monster_app</inputSchema>
  115. <includes>.*</includes>
  116. </database>
  117.  
  118. <target>
  119.  
  120. <packageName>com.example.Generated</packageName>
  121. <directory>src/main/java</directory>
  122. </target>
  123. </generator>
  124. </configuration>
  125.  
  126. <dependencies>
  127. <dependency>
  128. <groupId>org.junit.jupiter</groupId>
  129. <version>${junit.jupiter.version}</version>
  130. <scope>test</scope>
  131.  
  132. </dependency>
  133.  
  134. <dependency>
  135. <groupId>junit</groupId>
  136. <artifactId>junit</artifactId>
  137. <version>${junit.version}</version>
  138. <scope>test</scope>
  139. </dependency>
  140.  
  141. </dependencies>
  142.  
  143. <repositories>
  144. <repository>
  145. <id>sonatype-snapshots</id>
  146. <url>https://oss.sonatype.org/content/repositories/snapshots</url>
  147. <snapshots>
  148. <enabled>true</enabled>
  149. </snapshots>
  150. </repository>
  151. </repositories>
  152.  
  153. <dependencies>
  154.  
  155. <dependency>
  156. <groupId>info.cukes</groupId>
  157. <artifactId>cucumber-junit</artifactId>
  158. <version>${cucumber.version}</version>
  159. <scope>test</scope>
  160. </dependency>
  161.  
  162. <dependency>
  163. <groupId>info.cukes</groupId>
  164. <artifactId>cucumber-java8</artifactId>
  165. <version>${cucumber.version</version>
  166. <scope>test</scope>
  167. </dependency>
  168.  
  169. <dependency>
  170. <groupId>info.cukes</groupId>
  171. <artifactId>cucumber-jvm</artifactId>
  172. <version>1.0.11</version>
  173. <type>pom</type>
  174. </dependency>
  175.  
  176. <dependency>
  177. <groupId>org.springframework.boot</groupId>
  178. <artifactId>spring-boot-starter-web</artifactId>
  179. </dependency>
  180.  
  181.  
  182. <dependency>
  183. <groupId>info.cukes</groupId>
  184. <artifactId>cucumber-spring</artifactId>
  185. <version>1.2.5</version>
  186. <scope>test</scope>
  187. </dependency>
  188.  
  189. <dependency>
  190. <groupId>com.h2database</groupId>
  191. <artifactId>h2</artifactId>
  192. <scope>runtime</scope>
  193. </dependency>
  194.  
  195. <dependency>
  196. <groupId>mysql</groupId>
  197. <artifactId>mysql-connector-java</artifactId>
  198. <version>${mysql.connector.version}</version>
  199. </dependency>
  200.  
  201.  
  202. <dependency>
  203. <groupId>org.springframework.boot</groupId>
  204. <artifactId>spring-boot-starter-test</artifactId>
  205. <scope>test</scope>
  206. </dependency>
  207.  
  208. <dependency>
  209. <groupId>org.jooq</groupId>
  210. <artifactId>jooq</artifactId>
  211. <version>${jooq.version}</version>
  212. </dependency>
  213.  
  214. <dependency>
  215. <groupId>org.jooq</groupId>
  216. <artifactId>jooq-meta</artifactId>
  217. <version>${jooq.version}</version>
  218. </dependency>
  219. <dependency>
  220. <artifactId>org.jooq</artifactId>
  221. <groupId>jooq-codegen</groupId>
  222. <version>${jooq.version}</version>
  223. </dependency>
  224.  
  225. <dependency>
  226. <groupId>org.codehaus.jackson</groupId>
  227. <artifactId>jackson-mapper-asl</artifactId>
  228. <version>1.9.13</version>
  229. </dependency>
  230.  
  231. <dependency>
  232. <groupId>org.springframework.boot</groupId>
  233. <artifactId>spring-boot-starter-jdbc</artifactId>
  234. </dependency>
  235. <dependency>
  236. <groupId>org.springframework</groupId>
  237. <artifactId>spring-test</artifactId>
  238. <version>4.3.10.RELEASE</version>
  239. <scope>test</scope>
  240. </dependency>
  241.  
  242. <dependency>
  243. <groupId>org.springframework.boot</groupId>
  244. <artifactId>spring-boot-test</artifactId>
  245. <version>1.5.6.RELEASE</version>
  246. <scope>test</scope>
  247. </dependency>
  248.  
  249.  
  250. <dependency>
  251. <groupId>junit</groupId>
  252. <artifactId>junit</artifactId>
  253. <version>4.12</version>
  254. </dependency>
  255.  
  256. </dependencies>
  257. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement