Advertisement
Guest User

Untitled

a guest
May 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.19 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  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>com.chronos.admin</groupId>
  8. <artifactId>administracao</artifactId>
  9. <version>1.0.1-SNAPSHOT</version>
  10. <packaging>jar</packaging>
  11.  
  12. <name>administracao</name>
  13. <description>Sistema para controle Administrativo</description>
  14.  
  15. <parent>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-parent</artifactId>
  18. <version>2.0.0.RELEASE</version>
  19. <relativePath/> <!-- lookup parent from repository -->
  20. </parent>
  21.  
  22. <properties>
  23. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  24. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  25. <java.version>1.8</java.version>
  26.  
  27.  
  28. <!-- Thymeleaf -->
  29. <thymeleaf.version>3.0.9.RELEASE</thymeleaf.version>
  30. <thymeleaf-layout-dialect.version>2.2.2</thymeleaf-layout-dialect.version>
  31. <thymeleaf-extras-data-attribute.version>2.0.1</thymeleaf-extras-data-attribute.version>
  32. <thymeleaf-extras-springsecurity4.version>3.0.2.RELEASE</thymeleaf-extras-springsecurity4.version>
  33.  
  34.  
  35. <!-- thumbnailator - Gerar Thumbnail -->
  36. <!-- https://github.com/coobird/thumbnailator -->
  37. <thumbnailator.version>0.4.8</thumbnailator.version>
  38.  
  39.  
  40. <!-- JasperReports -->
  41. <jasperreports.version>6.3.0</jasperreports.version>
  42. <!-- JasperReports Fonts -->
  43. <jasperreports-fonts.version>6.0.0</jasperreports-fonts.version>
  44.  
  45. </properties>
  46.  
  47.  
  48. <dependencies>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-web</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-starter-data-jpa</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.flywaydb</groupId>
  59. <artifactId>flyway-core</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-security</artifactId>
  64. </dependency>
  65.  
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  69. </dependency>
  70.  
  71. <!-- Thymeleaf - Layout Dialect -->
  72. <dependency>
  73. <groupId>nz.net.ultraq.thymeleaf</groupId>
  74. <artifactId>thymeleaf-layout-dialect</artifactId>
  75. </dependency>
  76.  
  77. <dependency>
  78. <groupId>com.github.mxab.thymeleaf.extras</groupId>
  79. <artifactId>thymeleaf-extras-data-attribute</artifactId>
  80. </dependency>
  81.  
  82. <dependency>
  83. <groupId>org.thymeleaf.extras</groupId>
  84. <artifactId>thymeleaf-extras-springsecurity4</artifactId>
  85. </dependency>
  86.  
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-devtools</artifactId>
  90. <scope>runtime</scope>
  91. </dependency>
  92. <dependency>
  93. <groupId>org.postgresql</groupId>
  94. <artifactId>postgresql</artifactId>
  95. <scope>runtime</scope>
  96. </dependency>
  97. <dependency>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-starter-test</artifactId>
  100. <scope>test</scope>
  101. </dependency>
  102. <dependency>
  103. <groupId>org.springframework.security</groupId>
  104. <artifactId>spring-security-test</artifactId>
  105. <scope>test</scope>
  106. </dependency>
  107.  
  108.  
  109. <dependency>
  110. <groupId>org.springframework.boot</groupId>
  111. <artifactId>spring-boot-configuration-processor</artifactId>
  112. <optional>true</optional>
  113. </dependency>
  114.  
  115. <dependency>
  116. <groupId>com.h2database</groupId>
  117. <artifactId>h2</artifactId>
  118. <version>1.4.194</version>
  119. <scope>test</scope>
  120. </dependency>
  121.  
  122.  
  123. <!-- mysql -->
  124. <dependency>
  125. <groupId>mysql</groupId>
  126. <artifactId>mysql-connector-java</artifactId>
  127. <scope>runtime</scope>
  128. </dependency>
  129.  
  130. <!-- Metamodel -->
  131. <dependency>
  132. <groupId>org.hibernate</groupId>
  133. <artifactId>hibernate-jpamodelgen</artifactId>
  134. <version>5.2.6.Final</version>
  135. <scope>compile</scope>
  136. </dependency>
  137.  
  138. <!-- JasperReports -->
  139. <dependency>
  140. <groupId>net.sf.jasperreports</groupId>
  141. <artifactId>jasperreports</artifactId>
  142. <version>${jasperreports.version}</version>
  143. <scope>compile</scope>
  144. </dependency>
  145. <dependency>
  146. <groupId>net.sf.jasperreports</groupId>
  147. <artifactId>jasperreports-fonts</artifactId>
  148. <version>${jasperreports-fonts.version}</version>
  149. <scope>compile</scope>
  150. </dependency>
  151.  
  152. <!-- EhCache -->
  153. <dependency>
  154. <groupId>org.ehcache</groupId>
  155. <artifactId>ehcache</artifactId>
  156. </dependency>
  157.  
  158. <!-- JCache -->
  159. <dependency>
  160. <groupId>javax.cache</groupId>
  161. <artifactId>cache-api</artifactId>
  162. </dependency>
  163.  
  164. </dependencies>
  165.  
  166. <profiles>
  167. <profile>
  168. <id>dev</id>
  169. <properties>
  170. <activatedProperties>dev</activatedProperties>
  171. <build.profile.id>dev</build.profile.id>
  172. </properties>
  173. <activation>
  174. <activeByDefault>true</activeByDefault>
  175. </activation>
  176. </profile>
  177. <profile>
  178. <id>prod</id>
  179. <properties>
  180. <activatedProperties>prod</activatedProperties>
  181. <build.profile.id>prod</build.profile.id>
  182. </properties>
  183. </profile>
  184. </profiles>
  185.  
  186. <build>
  187. <finalName>${project.artifactId}</finalName>
  188. <filters>
  189. <filter>src/main/resources/application-${build.profile.id}.properties</filter>
  190. <filter>src/main/resources/application.properties</filter>
  191. </filters>
  192. <resources>
  193. <resource>
  194. <directory>src/main/resources</directory>
  195. <filtering>true</filtering>
  196. </resource>
  197. </resources>
  198. <plugins>
  199. <plugin>
  200. <groupId>org.springframework.boot</groupId>
  201. <artifactId>spring-boot-maven-plugin</artifactId>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.apache.maven.plugins</groupId>
  205. <artifactId>maven-compiler-plugin</artifactId>
  206. <version>3.6.1</version>
  207. <configuration>
  208. <annotationProcessorPaths>
  209. <annotationProcessorPath>
  210. <groupId>org.hibernate</groupId>
  211. <artifactId>hibernate-jpamodelgen</artifactId>
  212. <version>5.2.6.Final</version>
  213. <!--<outputDirectory>target/metamodel</outputDirectory>-->
  214. </annotationProcessorPath>
  215. </annotationProcessorPaths>
  216. <compilerArgument>-proc:none</compilerArgument>
  217. </configuration>
  218. </plugin>
  219. <plugin>
  220. <groupId>org.bsc.maven</groupId>
  221. <artifactId>maven-processor-plugin</artifactId>
  222. <version>2.2.4</version>
  223. <executions>
  224. <execution>
  225. <id>process</id>
  226. <goals>
  227. <goal>process</goal>
  228. </goals>
  229. <phase>generate-sources</phase>
  230. <configuration>
  231. <outputDirectory>target/metamodel</outputDirectory>
  232. </configuration>
  233. </execution>
  234. </executions>
  235. </plugin>
  236. <plugin>
  237. <groupId>org.codehaus.mojo</groupId>
  238. <artifactId>build-helper-maven-plugin</artifactId>
  239. <executions>
  240. <execution>
  241. <id>add-source</id>
  242. <phase>generate-sources</phase>
  243. <goals>
  244. <goal>add-source</goal>
  245. </goals>
  246. <configuration>
  247. <sources>
  248. <source>target/metamodel</source>
  249. </sources>
  250. </configuration>
  251. </execution>
  252. </executions>
  253. </plugin>
  254. </plugins>
  255. </build>
  256.  
  257.  
  258. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement