pom.xml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. <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/xsd/maven-4.0.0.xsd">
  2. <modelVersion>4.0.0</modelVersion>
  3. <groupId>de.tudresden.inf.st</groupId>
  4. <artifactId>salespoint-framework</artifactId>
  5. <version>6.3.2.BUILD-SNAPSHOT</version>
  6. <name>Salespoint</name>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>1.4.1.RELEASE</version>
  11. <relativePath />
  12. </parent>
  13. <properties>
  14. <dev>/dev</dev>
  15. <java.version>1.8</java.version>
  16. <assertj.version>3.5.1</assertj.version>
  17. </properties>
  18. <profiles>
  19. <profile>
  20. <id>release</id>
  21. <properties>
  22. <dev />
  23. </properties>
  24. </profile>
  25. </profiles>
  26. <dependencies>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-data-jpa</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-mail</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-starter-security</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.thymeleaf.extras</groupId>
  49. <artifactId>thymeleaf-extras-springsecurity4</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.thymeleaf.extras</groupId>
  53. <artifactId>thymeleaf-extras-java8time</artifactId>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-test</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.h2database</groupId>
  61. <artifactId>h2</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. <scope>provided</scope>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <extensions>
  88. <extension>
  89. <groupId>org.apache.maven.wagon</groupId>
  90. <artifactId>wagon-ssh</artifactId>
  91. <version>2.6</version>
  92. </extension>
  93. </extensions>
  94. <plugins>
  95. <plugin>
  96. <groupId>org.apache.maven.plugins</groupId>
  97. <artifactId>maven-compiler-plugin</artifactId>
  98. <configuration>
  99. <source>${java.version}</source>
  100. <target>${java.version}</target>
  101. <compilerArgument>-parameters</compilerArgument>
  102. </configuration>
  103. </plugin>
  104. <!-- Delombok sources to make sure generated methods can be picked up by JavaDoc -->
  105. <plugin>
  106. <groupId>org.projectlombok</groupId>
  107. <artifactId>lombok-maven-plugin</artifactId>
  108. <version>1.16.10.0</version>
  109. <configuration>
  110. <addOutputDirectory>false</addOutputDirectory>
  111. <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
  112. </configuration>
  113. <executions>
  114. <execution>
  115. <phase>generate-sources</phase>
  116. <goals>
  117. <goal>delombok</goal>
  118. </goals>
  119. </execution>
  120. </executions>
  121. </plugin>
  122. <plugin>
  123. <groupId>org.apache.maven.plugins</groupId>
  124. <artifactId>maven-javadoc-plugin</artifactId>
  125. <executions>
  126. <execution>
  127. <id>package-javadoc</id>
  128. <goals>
  129. <goal>jar</goal>
  130. </goals>
  131. <phase>package</phase>
  132. </execution>
  133. </executions>
  134. <configuration>
  135. <additionalparam>-Xdoclint:none</additionalparam>
  136. <excludePackageNames>org.thymeleaf.*</excludePackageNames>
  137. <outputDirectory>${project.build.directory}/site${dev}/api</outputDirectory>
  138. <show>package</show>
  139. <sourcepath>target/generated-sources/delombok</sourcepath>
  140. </configuration>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.asciidoctor</groupId>
  144. <artifactId>asciidoctor-maven-plugin</artifactId>
  145. <version>1.5.3</version>
  146. <dependencies>
  147. <dependency>
  148. <groupId>org.asciidoctor</groupId>
  149. <artifactId>asciidoctorj-pdf</artifactId>
  150. <version>1.5.0-alpha.11</version>
  151. </dependency>
  152. </dependencies>
  153. <executions>
  154. <execution>
  155. <id>website</id>
  156. <phase>generate-resources</phase>
  157. <goals>
  158. <goal>process-asciidoc</goal>
  159. </goals>
  160. <configuration>
  161. <sourceDirectory>src/main/asciidoc/site</sourceDirectory>
  162. <outputDirectory>${project.build.directory}/site</outputDirectory>
  163. </configuration>
  164. </execution>
  165. <execution>
  166. <id>reference</id>
  167. <phase>generate-resources</phase>
  168. <goals>
  169. <goal>process-asciidoc</goal>
  170. </goals>
  171. <configuration>
  172. <sourceDocumentName>salespoint-reference.adoc</sourceDocumentName>
  173. <outputDirectory>${project.build.directory}/site${dev}</outputDirectory>
  174. </configuration>
  175. </execution>
  176. </executions>
  177. <configuration>
  178. <doctype>book</doctype>
  179. <backend>html5</backend>
  180. <sourceHighlighter>prettify</sourceHighlighter>
  181. <outputDirectory>${project.build.directory}/site</outputDirectory>
  182. <attributes>
  183. <version>${project.version}</version>
  184. <majorversion>6</majorversion>
  185. <linkcss>true</linkcss>
  186. <numbered>true</numbered>
  187. <icons>font</icons>
  188. <sectanchors>true</sectanchors>
  189. <dev>${dev}</dev>
  190. </attributes>
  191. </configuration>
  192. </plugin>
  193. <plugin>
  194. <groupId>org.apache.maven.plugins</groupId>
  195. <artifactId>maven-release-plugin</artifactId>
  196. <version>2.5.3</version>
  197. <configuration>
  198. <pushChanges>false</pushChanges>
  199. <scmCommentPrefix />
  200. <tagNameFormat>${project.version}</tagNameFormat>
  201. <releaseProfiles>release</releaseProfiles>
  202. </configuration>
  203. </plugin>
  204. </plugins>
  205. </build>
  206. <scm>
  207. <url>https://github.com/st-tu-dresden/salespoint</url>
  208. <connection>scm:git:https://github.com/st-tu-dresden/salespoint</connection>
  209. <tag>6.3.x</tag>
  210. </scm>
  211. <distributionManagement>
  212. <repository>
  213. <id>salespoint</id>
  214. <url>sftp://st.inf.tu-dresden.de:44/home/salespnt/salespoint/repository</url>
  215. </repository>
  216. <site>
  217. <id>salespoint</id>
  218. <url>sftp://st.inf.tu-dresden.de:44/home/salespnt/salespoint</url>
  219. </site>
  220. </distributionManagement>
  221. </project>