pom.xml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <artifactId>spring-boot-starter-parent</artifactId>
  6. <groupId>org.springframework.boot</groupId>
  7. <version>1.2.5.RELEASE</version>
  8. <relativePath/>
  9. </parent>
  10. <groupId>org.zsomb.dodomastore</groupId>
  11. <artifactId>dodoma</artifactId>
  12. <version>1.0.5</version>
  13. <packaging>war</packaging>
  14. <name>dodoma</name>
  15. <prerequisites>
  16. <maven>3.0.0</maven>
  17. </prerequisites>
  18. <properties>
  19. <HikariCP.version>2.3.7</HikariCP.version>
  20. <assertj-core.version>3.1.0</assertj-core.version>
  21. <awaitility.version>1.4.0</awaitility.version>
  22. <commons-io.version>2.4</commons-io.version>
  23. <commons-lang.version>2.6</commons-lang.version>
  24. <gatling.version>2.1.5</gatling.version>
  25. <gatling-maven-plugin.version>2.1.5</gatling-maven-plugin.version>
  26. <hibernate.version>4.3.6.Final</hibernate.version>
  27. <java.version>1.8</java.version>
  28. <maven.compiler.source>${java.version}</maven.compiler.source>
  29. <maven.compiler.target>${java.version}</maven.compiler.target>
  30. <javax.inject.version>1</javax.inject.version>
  31. <joda-time-hibernate.version>1.3</joda-time-hibernate.version>
  32. <json-path.version>0.9.1</json-path.version>
  33. <liquibase.version>3.3.2</liquibase.version>
  34. <liquibase-slf4j.version>1.2.1</liquibase-slf4j.version>
  35. <liquibase-hibernate4.version>3.5</liquibase-hibernate4.version>
  36. <maven.build.timestamp.format>yyyyMMddHHmmss</maven.build.timestamp.format>
  37. <maven-enforcer-plugin.version>1.3.1</maven-enforcer-plugin.version>
  38. <maven-sortpom-plugin.version>2.3.0</maven-sortpom-plugin.version>
  39. <metrics-spark-reporter.version>1.2</metrics-spark-reporter.version>
  40. <metrics-spring.version>3.0.4</metrics-spring.version>
  41. <run.addResources>false</run.addResources>
  42. <sonar-maven-plugin.version>2.3</sonar-maven-plugin.version>
  43. <spring-security.version>4.0.1.RELEASE</spring-security.version>
  44. <springfox.version>2.0.3</springfox.version>
  45. <usertype-core.version>3.2.0.GA</usertype-core.version>
  46. <capsule.maven.plugin.version>1.0.3</capsule.maven.plugin.version>
  47. </properties>
  48. <dependencies>
  49. <dependency>
  50. <groupId>io.dropwizard.metrics</groupId>
  51. <artifactId>metrics-core</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>io.dropwizard.metrics</groupId>
  55. <artifactId>metrics-annotation</artifactId>
  56. <version>${dropwizard-metrics.version}</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>io.dropwizard.metrics</groupId>
  60. <artifactId>metrics-ehcache</artifactId>
  61. <version>${dropwizard-metrics.version}</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.dropwizard.metrics</groupId>
  65. <artifactId>metrics-graphite</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>io.dropwizard.metrics</groupId>
  69. <artifactId>metrics-healthchecks</artifactId>
  70. <version>${dropwizard-metrics.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>io.dropwizard.metrics</groupId>
  74. <artifactId>metrics-json</artifactId>
  75. <version>${dropwizard-metrics.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>io.dropwizard.metrics</groupId>
  79. <artifactId>metrics-jvm</artifactId>
  80. <version>${dropwizard-metrics.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>io.dropwizard.metrics</groupId>
  84. <artifactId>metrics-servlet</artifactId>
  85. <version>${dropwizard-metrics.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>io.dropwizard.metrics</groupId>
  89. <artifactId>metrics-servlets</artifactId>
  90. <exclusions>
  91. <exclusion>
  92. <artifactId>metrics-healthchecks</artifactId>
  93. <groupId>io.dropwizard.metrics</groupId>
  94. </exclusion>
  95. </exclusions>
  96. </dependency>
  97. <dependency>
  98. <groupId>com.fasterxml.jackson.datatype</groupId>
  99. <artifactId>jackson-datatype-hibernate4</artifactId>
  100. <version>${jackson.version}</version>
  101. </dependency>
  102. <dependency>
  103. <groupId>com.fasterxml.jackson.datatype</groupId>
  104. <artifactId>jackson-datatype-hppc</artifactId>
  105. <version>${jackson.version}</version>
  106. </dependency>
  107. <dependency>
  108. <groupId>com.fasterxml.jackson.datatype</groupId>
  109. <artifactId>jackson-datatype-joda</artifactId>
  110. </dependency>
  111. <dependency>
  112. <groupId>com.fasterxml.jackson.datatype</groupId>
  113. <artifactId>jackson-datatype-json-org</artifactId>
  114. <version>${jackson.version}</version>
  115. </dependency>
  116. <dependency>
  117. <groupId>com.h2database</groupId>
  118. <artifactId>h2</artifactId>
  119. </dependency>
  120. <dependency>
  121. <groupId>com.jayway.awaitility</groupId>
  122. <artifactId>awaitility</artifactId>
  123. <version>${awaitility.version}</version>
  124. <scope>test</scope>
  125. </dependency>
  126. <dependency>
  127. <groupId>com.jayway.jsonpath</groupId>
  128. <artifactId>json-path</artifactId>
  129. <version>${json-path.version}</version>
  130. <scope>test</scope>
  131. </dependency>
  132. <dependency>
  133. <groupId>io.springfox</groupId>
  134. <artifactId>springfox-swagger-ui</artifactId>
  135. <version>${springfox.version}</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>io.springfox</groupId>
  139. <artifactId>springfox-swagger2</artifactId>
  140. <version>${springfox.version}</version>
  141. <exclusions>
  142. <exclusion>
  143. <groupId>org.mapstruct</groupId>
  144. <artifactId>mapstruct</artifactId>
  145. </exclusion>
  146. </exclusions>
  147. </dependency>
  148. <dependency>
  149. <groupId>com.mattbertolini</groupId>
  150. <artifactId>liquibase-slf4j</artifactId>
  151. <version>${liquibase-slf4j.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>com.ryantenney.metrics</groupId>
  155. <artifactId>metrics-spring</artifactId>
  156. <version>${metrics-spring.version}</version>
  157. <exclusions>
  158. <exclusion>
  159. <groupId>com.codahale.metrics</groupId>
  160. <artifactId>metrics-annotation</artifactId>
  161. </exclusion>
  162. <exclusion>
  163. <groupId>com.codahale.metrics</groupId>
  164. <artifactId>metrics-core</artifactId>
  165. </exclusion>
  166. <exclusion>
  167. <groupId>com.codahale.metrics</groupId>
  168. <artifactId>metrics-healthchecks</artifactId>
  169. </exclusion>
  170. </exclusions>
  171. </dependency>
  172. <dependency>
  173. <groupId>com.zaxxer</groupId>
  174. <artifactId>HikariCP</artifactId>
  175. <version>${HikariCP.version}</version>
  176. <exclusions>
  177. <exclusion>
  178. <artifactId>tools</artifactId>
  179. <groupId>com.sun</groupId>
  180. </exclusion>
  181. </exclusions>
  182. </dependency>
  183. <!-- The HikariCP Java Agent is disabled by default, as it is experimental
  184. <dependency>
  185. <groupId>com.zaxxer</groupId>
  186. <artifactId>HikariCP-agent</artifactId>
  187. <version>${HikariCP.version}</version>
  188. </dependency>
  189. -->
  190. <dependency>
  191. <groupId>commons-io</groupId>
  192. <artifactId>commons-io</artifactId>
  193. <version>${commons-io.version}</version>
  194. </dependency>
  195. <dependency>
  196. <groupId>commons-lang</groupId>
  197. <artifactId>commons-lang</artifactId>
  198. <version>${commons-lang.version}</version>
  199. </dependency>
  200. <dependency>
  201. <groupId>io.gatling.highcharts</groupId>
  202. <artifactId>gatling-charts-highcharts</artifactId>
  203. <version>${gatling.version}</version>
  204. <scope>test</scope>
  205. </dependency>
  206. <dependency>
  207. <groupId>javax.inject</groupId>
  208. <artifactId>javax.inject</artifactId>
  209. <version>${javax.inject.version}</version>
  210. </dependency>
  211. <dependency>
  212. <groupId>joda-time</groupId>
  213. <artifactId>joda-time</artifactId>
  214. </dependency>
  215. <dependency>
  216. <groupId>joda-time</groupId>
  217. <artifactId>joda-time-hibernate</artifactId>
  218. <version>${joda-time-hibernate.version}</version>
  219. </dependency>
  220. <dependency>
  221. <groupId>mysql</groupId>
  222. <artifactId>mysql-connector-java</artifactId>
  223. </dependency>
  224. <dependency>
  225. <groupId>org.assertj</groupId>
  226. <artifactId>assertj-core</artifactId>
  227. <version>${assertj-core.version}</version>
  228. <scope>test</scope>
  229. </dependency>
  230. <dependency>
  231. <groupId>org.hibernate</groupId>
  232. <artifactId>hibernate-ehcache</artifactId>
  233. <version>${hibernate.version}</version>
  234. <exclusions>
  235. <exclusion>
  236. <groupId>net.sf.ehcache</groupId>
  237. <artifactId>ehcache-core</artifactId>
  238. </exclusion>
  239. </exclusions>
  240. </dependency>
  241. <dependency>
  242. <groupId>org.hibernate</groupId>
  243. <artifactId>hibernate-envers</artifactId>
  244. </dependency>
  245. <dependency>
  246. <groupId>org.hibernate</groupId>
  247. <artifactId>hibernate-validator</artifactId>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.jadira.usertype</groupId>
  251. <artifactId>usertype.core</artifactId>
  252. <version>${usertype-core.version}</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>org.liquibase</groupId>
  256. <artifactId>liquibase-core</artifactId>
  257. <version>${liquibase.version}</version>
  258. <exclusions>
  259. <exclusion>
  260. <artifactId>jetty-servlet</artifactId>
  261. <groupId>org.eclipse.jetty</groupId>
  262. </exclusion>
  263. </exclusions>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.springframework</groupId>
  267. <artifactId>spring-context-support</artifactId>
  268. </dependency>
  269. <dependency>
  270. <groupId>org.springframework.boot</groupId>
  271. <artifactId>spring-boot-actuator</artifactId>
  272. </dependency>
  273. <dependency>
  274. <groupId>org.springframework.boot</groupId>
  275. <artifactId>spring-boot-autoconfigure</artifactId>
  276. <version>${spring-boot.version}</version>
  277. </dependency>
  278. <dependency>
  279. <groupId>org.springframework.boot</groupId>
  280. <artifactId>spring-boot-loader-tools</artifactId>
  281. <version>${spring-boot.version}</version>
  282. </dependency>
  283. <dependency>
  284. <groupId>org.springframework.boot</groupId>
  285. <artifactId>spring-boot-starter-aop</artifactId>
  286. </dependency>
  287. <dependency>
  288. <groupId>org.springframework.boot</groupId>
  289. <artifactId>spring-boot-starter-data-jpa</artifactId>
  290. </dependency>
  291. <dependency>
  292. <groupId>org.springframework.boot</groupId>
  293. <artifactId>spring-boot-starter-logging</artifactId>
  294. </dependency>
  295. <dependency>
  296. <groupId>org.springframework.boot</groupId>
  297. <artifactId>spring-boot-starter-mail</artifactId>
  298. </dependency>
  299. <dependency>
  300. <groupId>org.springframework.boot</groupId>
  301. <artifactId>spring-boot-starter-security</artifactId>
  302. </dependency>
  303. <dependency>
  304. <groupId>org.springframework.boot</groupId>
  305. <artifactId>spring-boot-starter-test</artifactId>
  306. <scope>test</scope>
  307. </dependency>
  308. <dependency>
  309. <groupId>org.springframework.boot</groupId>
  310. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  311. </dependency>
  312. <dependency>
  313. <groupId>org.springframework.boot</groupId>
  314. <artifactId>spring-boot-starter-web</artifactId>
  315. <exclusions>
  316. <exclusion>
  317. <groupId>org.springframework.boot</groupId>
  318. <artifactId>spring-boot-starter-tomcat</artifactId>
  319. </exclusion>
  320. </exclusions>
  321. </dependency>
  322. <dependency>
  323. <groupId>org.springframework.boot</groupId>
  324. <artifactId>spring-boot-starter-websocket</artifactId>
  325. </dependency>
  326. <!-- Spring Cloud -->
  327. <dependency>
  328. <groupId>org.springframework.cloud</groupId>
  329. <artifactId>spring-cloud-cloudfoundry-connector</artifactId>
  330. </dependency>
  331. <dependency>
  332. <groupId>org.springframework.cloud</groupId>
  333. <artifactId>spring-cloud-spring-service-connector</artifactId>
  334. </dependency>
  335. <dependency>
  336. <groupId>org.springframework.cloud</groupId>
  337. <artifactId>spring-cloud-localconfig-connector</artifactId>
  338. </dependency>
  339. <!-- security -->
  340. <dependency>
  341. <groupId>org.springframework.security</groupId>
  342. <artifactId>spring-security-data</artifactId>
  343. <version>${spring-security.version}</version>
  344. </dependency>
  345. <dependency>
  346. <groupId>org.springframework.security</groupId>
  347. <artifactId>spring-security-messaging</artifactId>
  348. <version>${spring-security.version}</version>
  349. </dependency>
  350. <!-- reporting -->
  351. <dependency>
  352. <groupId>fr.ippon.spark.metrics</groupId>
  353. <artifactId>metrics-spark-reporter</artifactId>
  354. <version>${metrics-spark-reporter.version}</version>
  355. </dependency>
  356. <dependency>
  357. <groupId>net.sourceforge.javacsv</groupId>
  358. <artifactId>javacsv</artifactId>
  359. <version>2.0</version>
  360. </dependency>
  361. <dependency>
  362. <groupId>org.apache.poi</groupId>
  363. <artifactId>poi-ooxml</artifactId>
  364. <version>3.13</version>
  365. </dependency>
  366. <!-- <dependency>
  367. <groupId>org.vermillionalbatross</groupId>
  368. <artifactId>pdfserver</artifactId>
  369. <version>0.1</version>
  370. </dependency>-->
  371. <dependency>
  372. <groupId>org.apache.odftoolkit</groupId>
  373. <artifactId>simple-odf</artifactId>
  374. <version>0.8.1-incubating</version>
  375. </dependency>
  376. </dependencies>
  377. <build>
  378. <resources>
  379. <resource>
  380. <directory>src/main/resources</directory>
  381. <filtering>true</filtering>
  382. <includes>
  383. <include>**/*.xml</include>
  384. </includes>
  385. </resource>
  386. <resource>
  387. <directory>src/main/resources</directory>
  388. <filtering>false</filtering>
  389. <excludes>
  390. <exclude>**/*.xml</exclude>
  391. </excludes>
  392. </resource>
  393. </resources>
  394. <pluginManagement>
  395. <plugins>
  396. <!--This plugin's configuration is used to store Eclipse m2e settings
  397. only. It has no influence on the Maven build itself.-->
  398. <plugin>
  399. <groupId>org.eclipse.m2e</groupId>
  400. <artifactId>lifecycle-mapping</artifactId>
  401. <version>1.0.0</version>
  402. <configuration>
  403. <lifecycleMappingMetadata>
  404. <pluginExecutions>
  405. <pluginExecution>
  406. <pluginExecutionFilter>
  407. <groupId>org.apache.maven.plugins</groupId>
  408. <artifactId>maven-dependency-plugin</artifactId>
  409. <versionRange>[1.0,)</versionRange>
  410. <goals>
  411. <goal>copy</goal>
  412. </goals>
  413. </pluginExecutionFilter>
  414. <action>
  415. <execute />
  416. </action>
  417. </pluginExecution>
  418. <pluginExecution>
  419. <pluginExecutionFilter>
  420. <groupId>org.apache.maven.plugins</groupId>
  421. <artifactId>maven-enforcer-plugin</artifactId>
  422. <versionRange>[1.0,)</versionRange>
  423. <goals>
  424. <goal>enforce</goal>
  425. </goals>
  426. </pluginExecutionFilter>
  427. <action>
  428. <execute />
  429. </action>
  430. </pluginExecution>
  431. <pluginExecution>
  432. <pluginExecutionFilter>
  433. <groupId>org.codehaus.mojo</groupId>
  434. <artifactId>exec-maven-plugin</artifactId>
  435. <versionRange>[1.2.1,)</versionRange>
  436. <goals>
  437. <goal>java</goal>
  438. <goal>exec</goal>
  439. </goals>
  440. </pluginExecutionFilter>
  441. <action>
  442. <ignore />
  443. </action>
  444. </pluginExecution>
  445. </pluginExecutions>
  446. </lifecycleMappingMetadata>
  447. </configuration>
  448. </plugin>
  449. </plugins>
  450. </pluginManagement>
  451. <plugins>
  452. <plugin>
  453. <groupId>org.apache.maven.plugins</groupId>
  454. <artifactId>maven-eclipse-plugin</artifactId>
  455. <configuration>
  456. <downloadSources>true</downloadSources>
  457. <downloadJavadocs>true</downloadJavadocs>
  458. </configuration>
  459. </plugin>
  460. <plugin>
  461. <groupId>org.apache.maven.plugins</groupId>
  462. <artifactId>maven-enforcer-plugin</artifactId>
  463. <version>${maven-enforcer-plugin.version}</version>
  464. <executions>
  465. <execution>
  466. <id>enforce-versions</id>
  467. <goals>
  468. <goal>enforce</goal>
  469. </goals>
  470. </execution>
  471. </executions>
  472. <configuration>
  473. <rules>
  474. <requireMavenVersion>
  475. <message>You are running an older version of Maven. JHipster requires at least Maven 3.0</message>
  476. <version>[3.0.0,)</version>
  477. </requireMavenVersion>
  478. <requireJavaVersion>
  479. <message>You are running an older version of Java. JHipster requires at least JDK ${java.version}</message>
  480. <version>[${java.version}.0,)</version>
  481. </requireJavaVersion>
  482. </rules>
  483. </configuration>
  484. </plugin>
  485. <plugin>
  486. <groupId>org.apache.maven.plugins</groupId>
  487. <artifactId>maven-surefire-plugin</artifactId>
  488. <configuration>
  489. <argLine>-Xmx256m</argLine>
  490. <!-- Force alphabetical order to have a reproducible build -->
  491. <runOrder>alphabetical</runOrder>
  492. </configuration>
  493. </plugin>
  494. <plugin>
  495. <groupId>org.apache.maven.plugins</groupId>
  496. <artifactId>maven-war-plugin</artifactId>
  497. <configuration>
  498. <packagingExcludes>WEB-INF/lib/tomcat-*.jar</packagingExcludes>
  499. </configuration>
  500. </plugin>
  501. <plugin>
  502. <groupId>org.codehaus.mojo</groupId>
  503. <artifactId>sonar-maven-plugin</artifactId>
  504. <version>${sonar-maven-plugin.version}</version>
  505. </plugin>
  506. <plugin>
  507. <groupId>org.liquibase</groupId>
  508. <artifactId>liquibase-maven-plugin</artifactId>
  509. <version>${liquibase.version}</version>
  510. <configuration>
  511. <changeLogFile>src/main/resources/config/liquibase/master.xml</changeLogFile>
  512. <diffChangeLogFile>src/main/resources/config/liquibase/changelog/${maven.build.timestamp}_changelog.xml</diffChangeLogFile>
  513. <driver></driver>
  514. <url></url>
  515. <defaultSchemaName></defaultSchemaName>
  516. <username></username>
  517. <password></password>
  518. <referenceUrl>hibernate:spring:org.zsomb.dodomastore.domain?dialect=</referenceUrl>
  519. <verbose>true</verbose>
  520. <logging>debug</logging>
  521. </configuration>
  522. <dependencies>
  523. <dependency>
  524. <groupId>org.javassist</groupId>
  525. <artifactId>javassist</artifactId>
  526. <version>3.18.2-GA</version>
  527. </dependency>
  528. <dependency>
  529. <groupId>org.liquibase.ext</groupId>
  530. <artifactId>liquibase-hibernate4</artifactId>
  531. <version>${liquibase-hibernate4.version}</version>
  532. </dependency>
  533. <dependency>
  534. <groupId>org.springframework.boot</groupId>
  535. <artifactId>spring-boot-starter-data-jpa</artifactId>
  536. <version>${project.parent.version}</version>
  537. </dependency>
  538. </dependencies>
  539. </plugin>
  540. <!--<plugin>
  541. <groupId>org.springframework.boot</groupId>
  542. <artifactId>spring-boot-maven-plugin</artifactId>
  543. <configuration>
  544. <jvmArguments>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005</jvmArguments>
  545. <arguments>
  546. <argument>-spring.profiles.active=dev</argument>
  547. </arguments>
  548. </configuration>
  549. </plugin>-->
  550. <plugin>
  551. <groupId>org.bsc.maven</groupId>
  552. <artifactId>maven-processor-plugin</artifactId>
  553. <executions>
  554. <execution>
  555. <id>process</id>
  556. <phase>generate-sources</phase>
  557. <goals>
  558. <goal>process</goal>
  559. </goals>
  560. <configuration>
  561. <!-- source output directory -->
  562. <outputDirectory>target/metamodel</outputDirectory>
  563. </configuration>
  564. </execution>
  565. </executions>
  566. <dependencies>
  567. <dependency>
  568. <groupId>org.hibernate</groupId>
  569. <artifactId>hibernate-jpamodelgen</artifactId>
  570. <version>${hibernate.version}</version>
  571. </dependency>
  572. </dependencies>
  573. </plugin>
  574. <plugin>
  575. <groupId>org.codehaus.mojo</groupId>
  576. <artifactId>build-helper-maven-plugin</artifactId>
  577. <executions>
  578. <execution>
  579. <id>add-source</id>
  580. <phase>generate-sources</phase>
  581. <goals>
  582. <goal>add-source</goal>
  583. </goals>
  584. <configuration>
  585. <sources>
  586. <source>target/metamodel</source>
  587. </sources>
  588. </configuration>
  589. </execution>
  590. </executions>
  591. </plugin>
  592. <!--<plugin>
  593. <groupId>com.github.chrischristo</groupId>
  594. <artifactId>capsule-maven-plugin</artifactId>
  595. <version>${capsule.maven.plugin.version}</version>
  596. <executions>
  597. <execution>
  598. <goals>
  599. <goal>build</goal>
  600. </goals>
  601. <configuration>
  602. <appClass>org.springframework.boot.loader.WarLauncher</appClass>
  603. <types>thin</types>
  604. <manifest>
  605. <entry>
  606. <key>Start-Class</key>
  607. <value>org.zsomb.dodomastore.Application</value>
  608. </entry>
  609. </manifest>
  610. </configuration>
  611. </execution>
  612. </executions>
  613. </plugin>-->
  614. </plugins>
  615. </build>
  616. <repositories>
  617. <repository>
  618. <id>renszarv-cloudbees</id>
  619. <url>http://repository-renszarv.forge.cloudbees.com/release</url>
  620. </repository>
  621. <repository>
  622. <id>central</id>
  623. <url>https://repo.maven.apache.org/maven2</url>
  624. </repository>
  625. </repositories>
  626. <profiles>
  627. <profile>
  628. <id>dev</id>
  629. <activation>
  630. <activeByDefault>true</activeByDefault>
  631. </activation>
  632. <properties>
  633. <!-- log configuration -->
  634. <logback.loglevel>DEBUG</logback.loglevel>
  635. </properties>
  636. <dependencies>
  637. <dependency>
  638. <groupId>org.springframework.boot</groupId>
  639. <artifactId>spring-boot-starter-tomcat</artifactId>
  640. </dependency>
  641. </dependencies>
  642. </profile>
  643. <profile>
  644. <id>fast</id>
  645. <properties>
  646. <!-- log configuration -->
  647. <logback.loglevel>DEBUG</logback.loglevel>
  648. </properties>
  649. <dependencies>
  650. <dependency>
  651. <groupId>org.springframework.boot</groupId>
  652. <artifactId>spring-boot-starter-undertow</artifactId>
  653. </dependency>
  654. </dependencies>
  655. <build>
  656. <plugins>
  657. <plugin>
  658. <groupId>org.springframework.boot</groupId>
  659. <artifactId>spring-boot-maven-plugin</artifactId>
  660. <configuration>
  661. <arguments>
  662. <argument>--spring.profiles.active=dev,fast</argument>
  663. </arguments>
  664. </configuration>
  665. </plugin>
  666. </plugins>
  667. </build>
  668. </profile>
  669. <profile>
  670. <id>prod</id>
  671. <dependencies>
  672. <dependency>
  673. <groupId>org.springframework.boot</groupId>
  674. <artifactId>spring-boot-starter-tomcat</artifactId>
  675. </dependency>
  676. </dependencies>
  677. <build>
  678. <plugins>
  679. <plugin>
  680. <groupId>com.github.trecloux</groupId>
  681. <artifactId>yeoman-maven-plugin</artifactId>
  682. <version>0.4</version>
  683. <executions>
  684. <execution>
  685. <id>run-frontend-build</id>
  686. <phase>generate-resources</phase>
  687. <goals>
  688. <goal>build</goal>
  689. </goals>
  690. <configuration>
  691. <buildTool>grunt</buildTool>
  692. <buildArgs>build --force --no-color</buildArgs>
  693. </configuration>
  694. </execution>
  695. </executions>
  696. <configuration>
  697. <yeomanProjectDirectory>${project.basedir}</yeomanProjectDirectory>
  698. </configuration>
  699. </plugin>
  700. <plugin>
  701. <artifactId>maven-clean-plugin</artifactId>
  702. <version>2.5</version>
  703. <configuration>
  704. <filesets>
  705. <fileset>
  706. <directory>src/main/webapp/dist</directory>
  707. </fileset>
  708. <fileset>
  709. <directory>.tmp</directory>
  710. </fileset>
  711. </filesets>
  712. </configuration>
  713. </plugin>
  714. <plugin>
  715. <groupId>org.springframework.boot</groupId>
  716. <artifactId>spring-boot-maven-plugin</artifactId>
  717. <configuration>
  718. <arguments>
  719. <argument>--spring.profiles.active=prod</argument>
  720. </arguments>
  721. </configuration>
  722. </plugin>
  723. </plugins>
  724. </build>
  725. <properties>
  726. <!-- log configuration -->
  727. <logback.loglevel>DEBUG</logback.loglevel>
  728. </properties>
  729. </profile>
  730. </profiles>
  731. </project>