pom.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>de.tudresden.inf.st</groupId>
  5. <artifactId>salespoint-framework</artifactId>
  6. <version>6.2.2.BUILD-SNAPSHOT</version>
  7. <name>Salespoint</name>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>1.3.1.RELEASE</version>
  12. </parent>
  13. <properties>
  14. <dev>/dev</dev>
  15. <java.version>1.8</java.version>
  16. </properties>
  17. <profiles>
  18. <profile>
  19. <id>release</id>
  20. <properties>
  21. <dev></dev>
  22. </properties>
  23. </profile>
  24. </profiles>
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.springframework.boot</groupId>
  28. <artifactId>spring-boot-starter-data-jpa</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-web</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-mail</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-security</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.thymeleaf.extras</groupId>
  48. <artifactId>thymeleaf-extras-springsecurity4</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.thymeleaf.extras</groupId>
  52. <artifactId>thymeleaf-extras-java8time</artifactId>
  53. <version>2.1.0.RELEASE</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-test</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.hsqldb</groupId>
  61. <artifactId>hsqldb</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.javamoney</groupId>
  66. <artifactId>moneta</artifactId>
  67. <version>1.0</version>
  68. </dependency>
  69. <!-- For changelog creation -->
  70. <dependency>
  71. <groupId>com.jayway.jsonpath</groupId>
  72. <artifactId>json-path</artifactId>
  73. <scope>test</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.httpcomponents</groupId>
  77. <artifactId>httpclient</artifactId>
  78. <scope>test</scope>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.projectlombok</groupId>
  82. <artifactId>lombok</artifactId>
  83. <version>1.16.6</version>
  84. <scope>provided</scope>
  85. </dependency>
  86. </dependencies>
  87. <build>
  88. <extensions>
  89. <extension>
  90. <groupId>org.apache.maven.wagon</groupId>
  91. <artifactId>wagon-ssh</artifactId>
  92. <version>2.6</version>
  93. </extension>
  94. </extensions>
  95. <plugins>
  96. <!-- Delombok sources to make sure generated methods can be picked up by JavaDoc -->
  97. <plugin>
  98. <groupId>org.projectlombok</groupId>
  99. <artifactId>lombok-maven-plugin</artifactId>
  100. <version>1.16.6.1</version>
  101. <configuration>
  102. <addOutputDirectory>false</addOutputDirectory>
  103. <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <phase>generate-sources</phase>
  108. <goals>
  109. <goal>delombok</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.apache.maven.plugins</groupId>
  116. <artifactId>maven-javadoc-plugin</artifactId>
  117. <executions>
  118. <execution>
  119. <id>package-javadoc</id>
  120. <goals>
  121. <goal>jar</goal>
  122. </goals>
  123. <phase>package</phase>
  124. </execution>
  125. </executions>
  126. <configuration>
  127. <additionalparam>-Xdoclint:none</additionalparam>
  128. <excludePackageNames>org.thymeleaf.*</excludePackageNames>
  129. <outputDirectory>${project.build.directory}/site${dev}/api</outputDirectory>
  130. <show>package</show>
  131. <sourcepath>target/generated-sources/delombok</sourcepath>
  132. </configuration>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.asciidoctor</groupId>
  136. <artifactId>asciidoctor-maven-plugin</artifactId>
  137. <version>1.5.3</version>
  138. <executions>
  139. <execution>
  140. <id>website</id>
  141. <phase>generate-resources</phase>
  142. <goals>
  143. <goal>process-asciidoc</goal>
  144. </goals>
  145. <configuration>
  146. <sourceDirectory>src/main/asciidoc/site</sourceDirectory>
  147. <outputDirectory>${project.build.directory}/site</outputDirectory>
  148. </configuration>
  149. </execution>
  150. <execution>
  151. <id>reference</id>
  152. <phase>generate-resources</phase>
  153. <goals>
  154. <goal>process-asciidoc</goal>
  155. </goals>
  156. <configuration>
  157. <sourceDocumentName>salespoint-reference.adoc</sourceDocumentName>
  158. <outputDirectory>${project.build.directory}/site${dev}</outputDirectory>
  159. </configuration>
  160. </execution>
  161. </executions>
  162. <configuration>
  163. <doctype>book</doctype>
  164. <backend>html5</backend>
  165. <sourceHighlighter>prettify</sourceHighlighter>
  166. <outputDirectory>${project.build.directory}/site</outputDirectory>
  167. <attributes>
  168. <version>${project.version}</version>
  169. <majorversion>6</majorversion>
  170. <linkcss>true</linkcss>
  171. <numbered>true</numbered>
  172. <icons>font</icons>
  173. <sectanchors>true</sectanchors>
  174. <dev>${dev}</dev>
  175. </attributes>
  176. </configuration>
  177. </plugin>
  178. </plugins>
  179. </build>
  180. <distributionManagement>
  181. <repository>
  182. <id>salespoint</id>
  183. <url>sftp://st.inf.tu-dresden.de:44/home/salespnt/salespoint/repository</url>
  184. </repository>
  185. <site>
  186. <id>salespoint</id>
  187. <url>sftp://st.inf.tu-dresden.de:44/home/salespnt/salespoint</url>
  188. </site>
  189. </distributionManagement>
  190. </project>