Advertisement
Guest User

Untitled

a guest
Jul 19th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.44 KB | None | 0 0
  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/maven-v4_0_0.xsd">
  3.  
  4. <modelVersion>4.0.0</modelVersion>
  5.  
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>1.5.10.RELEASE</version>
  10. </parent>
  11.  
  12. <groupId>com.capgemini.promocaixa</groupId>
  13. <artifactId>catalogo-productos</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <packaging>war</packaging>
  16. <name>PromoCaixa - Catalogo Productos</name>
  17.  
  18. <properties>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. <java.version>1.7</java.version>
  21. <mapstruct.version>1.2.0.Final</mapstruct.version>
  22. <maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
  23. <guava.version>20.0</guava.version>
  24. <snakeyaml.version>1.19</snakeyaml.version>
  25. <jjwt.version>0.9.0</jjwt.version>
  26. <commons-lang3.version>3.0</commons-lang3.version>
  27. <debug.port>5007</debug.port>
  28. <!-- Eclipse and m2e-apt plugin integration: automatically run annotation
  29. processors within the incremental compilation -->
  30. <m2e.apt.activation>jdt_apt</m2e.apt.activation>
  31. </properties>
  32.  
  33. <dependencies>
  34.  
  35. <dependency>
  36. <groupId>ch.qos.logback</groupId>
  37. <artifactId>logback-classic</artifactId>
  38. </dependency>
  39.  
  40. <dependency>
  41. <groupId>org.mapstruct</groupId>
  42. <artifactId>mapstruct</artifactId>
  43. <version>${mapstruct.version}</version>
  44. </dependency>
  45.  
  46. <dependency>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  49. </dependency>
  50.  
  51. <!-- Required for legacy HTML5 parsing in thymeleaf -->
  52. <dependency>
  53. <groupId>net.sourceforge.nekohtml</groupId>
  54. <artifactId>nekohtml</artifactId>
  55. </dependency>
  56.  
  57. <dependency>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-starter-security</artifactId>
  60. </dependency>
  61.  
  62. <dependency>
  63. <groupId>org.springframework.security</groupId>
  64. <artifactId>spring-security-taglibs</artifactId>
  65. </dependency>
  66.  
  67. <dependency>
  68. <groupId>org.apache.httpcomponents</groupId>
  69. <artifactId>httpclient</artifactId>
  70. </dependency>
  71.  
  72. <dependency>
  73. <groupId>com.google.guava</groupId>
  74. <artifactId>guava</artifactId>
  75. <version>${guava.version}</version>
  76. </dependency>
  77.  
  78. <dependency>
  79. <groupId>io.jsonwebtoken</groupId>
  80. <artifactId>jjwt</artifactId>
  81. <version>${jjwt.version}</version>
  82. </dependency>
  83.  
  84. <dependency>
  85. <groupId>org.yaml</groupId>
  86. <artifactId>snakeyaml</artifactId>
  87. <version>${snakeyaml.version}</version>
  88. </dependency>
  89.  
  90. <dependency>
  91. <groupId>com.jayway.jsonpath</groupId>
  92. <artifactId>json-path</artifactId>
  93. <scope>test</scope>
  94. </dependency>
  95.  
  96. </dependencies>
  97.  
  98. <profiles>
  99.  
  100. <profile>
  101.  
  102. <id>LOCAL</id>
  103.  
  104. <activation>
  105. <activeByDefault>true</activeByDefault>
  106. </activation>
  107.  
  108. <properties>
  109. <active-profile>development</active-profile>
  110. <!-- Optional URL to server. Default value is http://localhost:9000 -->
  111. <sonar.host.url>http://10.126.133.31:9000</sonar.host.url>
  112. <sonar.scm.disabled>true</sonar.scm.disabled>
  113. </properties>
  114.  
  115. <dependencies>
  116.  
  117. <dependency>
  118. <groupId>org.springframework.boot</groupId>
  119. <artifactId>spring-boot-starter-web</artifactId>
  120. <exclusions>
  121. <exclusion>
  122. <groupId>org.yaml</groupId>
  123. <artifactId>snakeyaml</artifactId>
  124. </exclusion>
  125. </exclusions>
  126. </dependency>
  127.  
  128. <!-- hot swapping, disable cache for template, enable live reload -->
  129. <dependency>
  130. <groupId>org.springframework.boot</groupId>
  131. <artifactId>spring-boot-devtools</artifactId>
  132. <optional>true</optional>
  133. </dependency>
  134.  
  135. </dependencies>
  136.  
  137. <build>
  138.  
  139. <plugins>
  140.  
  141. <plugin>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-maven-plugin</artifactId>
  144. <configuration>
  145. <addResources>false</addResources>
  146. <jvmArguments>
  147. -Xdebug
  148. -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${debug.port},suspend=n
  149. </jvmArguments>
  150. </configuration>
  151. </plugin>
  152.  
  153. <plugin>
  154. <groupId>org.apache.maven.plugins</groupId>
  155. <artifactId>maven-eclipse-plugin</artifactId>
  156. </plugin>
  157.  
  158. </plugins>
  159.  
  160. </build>
  161.  
  162. </profile>
  163.  
  164. <profile>
  165.  
  166. <id>IC</id>
  167.  
  168. <activation>
  169. <activeByDefault>false</activeByDefault>
  170. </activation>
  171.  
  172. <properties>
  173. <active-profile>ic-capgemini</active-profile>
  174. <!-- Optional URL to server. Default value is http://localhost:9000 -->
  175. <sonar.host.url>http://10.126.133.31:9000</sonar.host.url>
  176. <sonar.scm.disabled>true</sonar.scm.disabled>
  177. </properties>
  178.  
  179. <dependencies>
  180.  
  181. <dependency>
  182. <groupId>org.springframework.boot</groupId>
  183. <artifactId>spring-boot-starter-web</artifactId>
  184. <exclusions>
  185. <exclusion>
  186. <groupId>org.apache.tomcat.embed</groupId>
  187. <artifactId>tomcat-embed-el</artifactId>
  188. </exclusion>
  189. <exclusion>
  190. <groupId>org.yaml</groupId>
  191. <artifactId>snakeyaml</artifactId>
  192. </exclusion>
  193. </exclusions>
  194. </dependency>
  195.  
  196. <dependency>
  197. <groupId>org.springframework.boot</groupId>
  198. <artifactId>spring-boot-starter-tomcat</artifactId>
  199. <scope>provided</scope>
  200. </dependency>
  201.  
  202. </dependencies>
  203.  
  204. <build>
  205.  
  206. <plugins>
  207.  
  208. <plugin>
  209. <artifactId>maven-assembly-plugin</artifactId>
  210. <configuration>
  211. <descriptors>
  212. <descriptor>assembly.xml</descriptor>
  213. </descriptors>
  214. </configuration>
  215. </plugin>
  216.  
  217. </plugins>
  218.  
  219. </build>
  220.  
  221. </profile>
  222.  
  223. <profile>
  224.  
  225. <id>PRO</id>
  226.  
  227. <activation>
  228. <activeByDefault>false</activeByDefault>
  229. </activation>
  230.  
  231. <properties>
  232. <active-profile>production</active-profile>
  233. </properties>
  234.  
  235. <dependencies>
  236.  
  237. <dependency>
  238. <groupId>org.springframework.boot</groupId>
  239. <artifactId>spring-boot-starter-web</artifactId>
  240. <exclusions>
  241. <exclusion>
  242. <groupId>org.apache.tomcat.embed</groupId>
  243. <artifactId>tomcat-embed-el</artifactId>
  244. </exclusion>
  245. <exclusion>
  246. <groupId>org.yaml</groupId>
  247. <artifactId>snakeyaml</artifactId>
  248. </exclusion>
  249. </exclusions>
  250. </dependency>
  251.  
  252. <dependency>
  253. <groupId>org.springframework.boot</groupId>
  254. <artifactId>spring-boot-starter-tomcat</artifactId>
  255. <scope>provided</scope>
  256. </dependency>
  257.  
  258. </dependencies>
  259.  
  260. <build>
  261.  
  262. <plugins>
  263.  
  264. <plugin>
  265. <artifactId>maven-assembly-plugin</artifactId>
  266. <configuration>
  267. <descriptors>
  268. <descriptor>assembly.xml</descriptor>
  269. </descriptors>
  270. </configuration>
  271. </plugin>
  272.  
  273. </plugins>
  274.  
  275. </build>
  276.  
  277. </profile>
  278.  
  279. </profiles>
  280.  
  281. <build>
  282.  
  283. <resources>
  284. <resource>
  285. <directory>src/main/resources</directory>
  286. <includes>
  287. <include>**/*.*</include>
  288. </includes>
  289. <filtering>true</filtering>
  290. <excludes>
  291. <exclude>public/content/**</exclude>
  292. </excludes>
  293. </resource>
  294.  
  295.  
  296. <resource>
  297. <directory>src/main/resources</directory>
  298. <filtering>false</filtering>
  299. <includes>
  300. <include>public/content/**</include>
  301. </includes>
  302. </resource>
  303. </resources>
  304.  
  305. <plugins>
  306.  
  307. <plugin>
  308. <groupId>org.apache.maven.plugins</groupId>
  309. <artifactId>maven-compiler-plugin</artifactId>
  310. <version>${maven-compiler-plugin.version}</version>
  311. <configuration>
  312. <source>${java.version}</source>
  313. <target>${java.version}</target>
  314. <encoding>${project.build.sourceEncoding}</encoding>
  315. <annotationProcessorPaths>
  316. <path>
  317. <groupId>org.mapstruct</groupId>
  318. <artifactId>mapstruct-processor</artifactId>
  319. <version>${mapstruct.version}</version>
  320. </path>
  321. </annotationProcessorPaths>
  322. </configuration>
  323. </plugin>
  324.  
  325. <plugin>
  326. <groupId>org.apache.maven.plugins</groupId>
  327. <artifactId>maven-resources-plugin</artifactId>
  328. <configuration>
  329. <nonFilteredFileExtensions>
  330. <nonFilteredFileExtension>ttf</nonFilteredFileExtension>
  331. <nonFilteredFileExtension>woff</nonFilteredFileExtension>
  332. <nonFilteredFileExtension>woff2</nonFilteredFileExtension>
  333. </nonFilteredFileExtensions>
  334. </configuration>
  335. </plugin>
  336.  
  337. </plugins>
  338.  
  339. </build>
  340.  
  341. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement