pom.xml 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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.4.3.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.5.9.RELEASE</version>
  11. <relativePath />
  12. </parent>
  13. <properties>
  14. <dev>/dev</dev>
  15. <java.version>1.8</java.version>
  16. <assertj.version>3.8.0</assertj.version>
  17. <hibernate.version>5.2.12.Final</hibernate.version>
  18. </properties>
  19. <profiles>
  20. <profile>
  21. <id>release</id>
  22. <properties>
  23. <dev />
  24. </properties>
  25. </profile>
  26. </profiles>
  27. <dependencies>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-data-jpa</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.querydsl</groupId>
  34. <artifactId>querydsl-jpa</artifactId>
  35. <optional>true</optional>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-web</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-mail</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-security</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.thymeleaf.extras</groupId>
  55. <artifactId>thymeleaf-extras-springsecurity4</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.thymeleaf.extras</groupId>
  59. <artifactId>thymeleaf-extras-java8time</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.boot</groupId>
  63. <artifactId>spring-boot-starter-test</artifactId>
  64. </dependency>
  65. <dependency>
  66. <groupId>com.h2database</groupId>
  67. <artifactId>h2</artifactId>
  68. <scope>test</scope>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.javamoney</groupId>
  72. <artifactId>moneta</artifactId>
  73. <version>1.1</version>
  74. </dependency>
  75. <!-- For changelog creation -->
  76. <dependency>
  77. <groupId>com.jayway.jsonpath</groupId>
  78. <artifactId>json-path</artifactId>
  79. <scope>test</scope>
  80. </dependency>
  81. <dependency>
  82. <groupId>org.apache.httpcomponents</groupId>
  83. <artifactId>httpclient</artifactId>
  84. <scope>test</scope>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.projectlombok</groupId>
  88. <artifactId>lombok</artifactId>
  89. <scope>provided</scope>
  90. </dependency>
  91. </dependencies>
  92. <build>
  93. <extensions>
  94. <extension>
  95. <groupId>org.apache.maven.wagon</groupId>
  96. <artifactId>wagon-ssh</artifactId>
  97. <version>3.0.0</version>
  98. </extension>
  99. </extensions>
  100. <plugins>
  101. <plugin>
  102. <groupId>org.apache.maven.plugins</groupId>
  103. <artifactId>maven-compiler-plugin</artifactId>
  104. <configuration>
  105. <source>${java.version}</source>
  106. <target>${java.version}</target>
  107. <compilerArgument>-parameters</compilerArgument>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>com.mysema.maven</groupId>
  112. <artifactId>apt-maven-plugin</artifactId>
  113. <version>1.1.3</version>
  114. <executions>
  115. <execution>
  116. <phase>generate-sources</phase>
  117. <goals>
  118. <goal>process</goal>
  119. </goals>
  120. <configuration>
  121. <outputDirectory>target/generated-sources/queries</outputDirectory>
  122. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  123. </configuration>
  124. </execution>
  125. </executions>
  126. <dependencies>
  127. <dependency>
  128. <groupId>com.querydsl</groupId>
  129. <artifactId>querydsl-apt</artifactId>
  130. <version>${querydsl.version}</version>
  131. </dependency>
  132. </dependencies>
  133. </plugin>
  134. <!-- Delombok sources to make sure generated methods can be picked up by JavaDoc -->
  135. <plugin>
  136. <groupId>org.projectlombok</groupId>
  137. <artifactId>lombok-maven-plugin</artifactId>
  138. <version>${lombok.version}.0</version>
  139. <configuration>
  140. <addOutputDirectory>false</addOutputDirectory>
  141. <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
  142. </configuration>
  143. <executions>
  144. <execution>
  145. <phase>generate-sources</phase>
  146. <goals>
  147. <goal>delombok</goal>
  148. </goals>
  149. </execution>
  150. </executions>
  151. </plugin>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-javadoc-plugin</artifactId>
  155. <executions>
  156. <execution>
  157. <id>package-javadoc</id>
  158. <goals>
  159. <goal>jar</goal>
  160. </goals>
  161. <phase>package</phase>
  162. </execution>
  163. </executions>
  164. <configuration>
  165. <additionalparam>-Xdoclint:none</additionalparam>
  166. <excludePackageNames>org.thymeleaf.*</excludePackageNames>
  167. <outputDirectory>${project.build.directory}/site${dev}/api</outputDirectory>
  168. <show>package</show>
  169. <sourcepath>target/generated-sources/delombok</sourcepath>
  170. </configuration>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.asciidoctor</groupId>
  174. <artifactId>asciidoctor-maven-plugin</artifactId>
  175. <version>1.5.6</version>
  176. <dependencies>
  177. <dependency>
  178. <groupId>org.asciidoctor</groupId>
  179. <artifactId>asciidoctorj-pdf</artifactId>
  180. <version>1.5.0-alpha.16</version>
  181. </dependency>
  182. </dependencies>
  183. <executions>
  184. <execution>
  185. <id>website</id>
  186. <phase>generate-resources</phase>
  187. <goals>
  188. <goal>process-asciidoc</goal>
  189. </goals>
  190. <configuration>
  191. <sourceDirectory>src/main/asciidoc/site</sourceDirectory>
  192. <outputDirectory>${project.build.directory}/site</outputDirectory>
  193. </configuration>
  194. </execution>
  195. <execution>
  196. <id>reference</id>
  197. <phase>generate-resources</phase>
  198. <goals>
  199. <goal>process-asciidoc</goal>
  200. </goals>
  201. <configuration>
  202. <sourceDocumentName>salespoint-reference.adoc</sourceDocumentName>
  203. <outputDirectory>${project.build.directory}/site${dev}</outputDirectory>
  204. </configuration>
  205. </execution>
  206. </executions>
  207. <configuration>
  208. <doctype>book</doctype>
  209. <backend>html5</backend>
  210. <sourceHighlighter>prettify</sourceHighlighter>
  211. <outputDirectory>${project.build.directory}/site</outputDirectory>
  212. <attributes>
  213. <version>${project.version}</version>
  214. <majorversion>6</majorversion>
  215. <linkcss>true</linkcss>
  216. <numbered>true</numbered>
  217. <icons>font</icons>
  218. <sectanchors>true</sectanchors>
  219. <dev>${dev}</dev>
  220. </attributes>
  221. </configuration>
  222. </plugin>
  223. <plugin>
  224. <groupId>org.apache.maven.plugins</groupId>
  225. <artifactId>maven-release-plugin</artifactId>
  226. <version>2.5.3</version>
  227. <configuration>
  228. <pushChanges>false</pushChanges>
  229. <scmCommentPrefix />
  230. <tagNameFormat>${project.version}</tagNameFormat>
  231. <releaseProfiles>release</releaseProfiles>
  232. </configuration>
  233. </plugin>
  234. </plugins>
  235. </build>
  236. <scm>
  237. <url>https://github.com/st-tu-dresden/salespoint</url>
  238. <connection>scm:git:https://github.com/st-tu-dresden/salespoint</connection>
  239. <tag>HEAD</tag>
  240. </scm>
  241. <distributionManagement>
  242. <repository>
  243. <id>salespoint</id>
  244. <url>sftp://st.inf.tu-dresden.de:44/home/salespnt/salespoint/repository</url>
  245. </repository>
  246. <site>
  247. <id>salespoint</id>
  248. <url>sftp://st.inf.tu-dresden.de:44/home/salespnt/salespoint</url>
  249. </site>
  250. </distributionManagement>
  251. </project>