Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.33 KB | None | 0 0
  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.  
  7. <groupId>Galaktyka</groupId>
  8. <artifactId>Galaktyka2</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10.  
  11. <parent>
  12. <groupId>org.springframework.boot</groupId>
  13. <artifactId>spring-boot-starter-parent</artifactId>
  14. <version>1.5.10.RELEASE</version>
  15. </parent>
  16.  
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-web</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-test</artifactId>
  25. <scope>test</scope>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-jdbc</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.jayway.jsonpath</groupId>
  33. <artifactId>json-path</artifactId>
  34. <scope>test</scope>
  35. </dependency>
  36. <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
  37. <dependency>
  38. <groupId>org.projectlombok</groupId>
  39. <artifactId>lombok</artifactId>
  40. <version>1.16.16</version>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>junit</groupId>
  45. <artifactId>junit</artifactId>
  46. <version>4.12</version>
  47. <scope>test</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.glassfish.hk2.external</groupId>
  51. <artifactId>javax.inject</artifactId>
  52. <version>2.5.0-b05</version>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.jooq</groupId>
  56. <artifactId>jooq</artifactId>
  57. <version>${jooq.version}</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.postgresql</groupId>
  61. <artifactId>postgresql</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.testng</groupId>
  65. <artifactId>testng</artifactId>
  66. <version>RELEASE</version>
  67. </dependency>
  68.  
  69. </dependencies>
  70.  
  71.  
  72. <properties>
  73. <java.version>1.8</java.version>
  74. </properties>
  75.  
  76.  
  77. <build>
  78. <plugins>
  79. <plugin>
  80. <groupId>org.springframework.boot</groupId>
  81. <artifactId>spring-boot-maven-plugin</artifactId>
  82. <executions>
  83. <execution>
  84. <goals>
  85. <goal>repackage</goal>
  86. </goals>
  87. </execution>
  88. </executions>
  89. </plugin>
  90. <plugin>
  91. <artifactId>maven-compiler-plugin</artifactId>
  92. <version>3.1</version>
  93. <configuration>
  94. <source>1.8</source>
  95. <target>1.8</target>
  96. </configuration>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.codehaus.mojo</groupId>
  100. <artifactId>properties-maven-plugin</artifactId>
  101. <version>1.0-alpha-2</version>
  102. <executions>
  103. <execution>
  104. <phase>initialize</phase>
  105. <goals>
  106. <goal>read-project-properties</goal>
  107. </goals>
  108. <configuration>
  109. <files>
  110. <file>src/main/resources/application.properties</file>
  111. </files>
  112. </configuration>
  113. </execution>
  114. </executions>
  115. </plugin>
  116.  
  117. <!-- The jOOQ code generator plugin -->
  118. <plugin>
  119. <groupId>org.jooq</groupId>
  120. <artifactId>jooq-codegen-maven</artifactId>
  121. <version>${jooq.version}</version>
  122. <executions>
  123. <execution>
  124. <phase>generate-sources</phase>
  125. <goals>
  126. <goal>generate</goal>
  127. </goals>
  128. <configuration>
  129. <jdbc>
  130. <driver>${spring.datasource.driverClassName}</driver>
  131. <url>${spring.datasource.url}</url>
  132. <user>${spring.datasource.username}</user>
  133. <password>${spring.datasource.password}</password>
  134. </jdbc>
  135. <generator>
  136. <name>org.jooq.util.DefaultGenerator</name>
  137. <database>
  138. <name>org.jooq.util.postgres.PostgresDatabase</name>
  139. <includes>.*</includes>
  140. <schemata>
  141. <schema>
  142. <inputSchema>public</inputSchema>
  143. </schema>
  144. </schemata>
  145. </database>
  146. <generate>
  147. <relations>true</relations>
  148. <records>true</records>
  149. <pojos>true</pojos>
  150. <daos>true</daos>
  151. <interfaces>true</interfaces>
  152. <globalObjectReferences>true</globalObjectReferences>
  153. <validationAnnotations>true</validationAnnotations>
  154. <fluentSetters>true</fluentSetters>
  155. </generate>
  156. <target>
  157. <packageName>Galaktyka2</packageName>
  158. <directory>generated-sources</directory>
  159. </target>
  160. </generator>
  161. </configuration>
  162. </execution>
  163. </executions>
  164. <dependencies>
  165. <dependency>
  166. <groupId>org.postgresql</groupId>
  167. <artifactId>postgresql</artifactId>
  168. <version>${postgresql.version}</version>
  169. </dependency>
  170. </dependencies>
  171. </plugin>
  172. </plugins>
  173. </build>
  174. <repositories>
  175. <repository>
  176. <id>spring-releases</id>
  177. <url>https://repo.spring.io/libs-release</url>
  178. </repository>
  179. </repositories>
  180. <pluginRepositories>
  181. <pluginRepository>
  182. <id>spring-releases</id>
  183. <url>https://repo.spring.io/libs-release</url>
  184. </pluginRepository>
  185. </pluginRepositories>
  186.  
  187.  
  188. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement