pom.xml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379
  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>7.1.1.BUILD-SNAPSHOT</version>
  6. <name>Salespoint</name>
  7. <parent>
  8. <groupId>org.springframework.boot</groupId>
  9. <artifactId>spring-boot-starter-parent</artifactId>
  10. <version>2.1.1.RELEASE</version>
  11. <relativePath />
  12. </parent>
  13. <properties>
  14. <dev>/dev</dev>
  15. <moduliths.version>1.0.0.M3</moduliths.version>
  16. <spring-data-releasetrain.version>Moore-M1</spring-data-releasetrain.version>
  17. <junit-jupiter.version>5.4.0-M1</junit-jupiter.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. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-web</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-mail</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-security</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-configuration-processor</artifactId>
  55. <optional>true</optional>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.thymeleaf.extras</groupId>
  59. <artifactId>thymeleaf-extras-springsecurity5</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.thymeleaf.extras</groupId>
  63. <artifactId>thymeleaf-extras-java8time</artifactId>
  64. </dependency>
  65. <!-- Test -->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-test</artifactId>
  69. <scope>test</scope>
  70. <exclusions>
  71. <exclusion>
  72. <groupId>junit</groupId>
  73. <artifactId>junit</artifactId>
  74. </exclusion>
  75. </exclusions>
  76. </dependency>
  77. <dependency>
  78. <groupId>org.junit.jupiter</groupId>
  79. <artifactId>junit-jupiter</artifactId>
  80. <scope>test</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.hamcrest</groupId>
  84. <artifactId>hamcrest-junit</artifactId>
  85. <version>2.0.0.0</version>
  86. <scope>test</scope>
  87. <exclusions>
  88. <exclusion>
  89. <groupId>junit</groupId>
  90. <artifactId>junit</artifactId>
  91. </exclusion>
  92. </exclusions>
  93. </dependency>
  94. <dependency>
  95. <groupId>org.mockito</groupId>
  96. <artifactId>mockito-junit-jupiter</artifactId>
  97. <scope>test</scope>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.h2database</groupId>
  101. <artifactId>h2</artifactId>
  102. <scope>test</scope>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.javamoney</groupId>
  106. <artifactId>moneta</artifactId>
  107. <version>1.1</version>
  108. </dependency>
  109. <!-- For changelog creation -->
  110. <dependency>
  111. <groupId>com.jayway.jsonpath</groupId>
  112. <artifactId>json-path</artifactId>
  113. <scope>test</scope>
  114. </dependency>
  115. <dependency>
  116. <groupId>org.apache.httpcomponents</groupId>
  117. <artifactId>httpclient</artifactId>
  118. <scope>test</scope>
  119. </dependency>
  120. <dependency>
  121. <groupId>org.projectlombok</groupId>
  122. <artifactId>lombok</artifactId>
  123. <scope>provided</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>de.olivergierke.moduliths</groupId>
  127. <artifactId>moduliths-core</artifactId>
  128. <version>${moduliths.version}</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>de.olivergierke.moduliths</groupId>
  132. <artifactId>moduliths-test</artifactId>
  133. <version>${moduliths.version}</version>
  134. <scope>test</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>de.olivergierke.moduliths</groupId>
  138. <artifactId>moduliths-docs</artifactId>
  139. <version>${moduliths.version}</version>
  140. <scope>test</scope>
  141. </dependency>
  142. </dependencies>
  143. <build>
  144. <extensions>
  145. <extension>
  146. <groupId>org.apache.maven.wagon</groupId>
  147. <artifactId>wagon-ssh</artifactId>
  148. <version>3.3.1</version>
  149. </extension>
  150. </extensions>
  151. <plugins>
  152. <plugin>
  153. <groupId>org.apache.maven.plugins</groupId>
  154. <artifactId>maven-compiler-plugin</artifactId>
  155. <configuration>
  156. <source>${java.version}</source>
  157. <target>${java.version}</target>
  158. <compilerArgument>-parameters</compilerArgument>
  159. </configuration>
  160. </plugin>
  161. <plugin>
  162. <groupId>com.mysema.maven</groupId>
  163. <artifactId>apt-maven-plugin</artifactId>
  164. <version>1.1.3</version>
  165. <executions>
  166. <execution>
  167. <phase>generate-sources</phase>
  168. <goals>
  169. <goal>process</goal>
  170. </goals>
  171. <configuration>
  172. <outputDirectory>target/generated-sources/queries</outputDirectory>
  173. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  174. </configuration>
  175. </execution>
  176. </executions>
  177. <dependencies>
  178. <dependency>
  179. <groupId>com.querydsl</groupId>
  180. <artifactId>querydsl-apt</artifactId>
  181. <version>${querydsl.version}</version>
  182. </dependency>
  183. </dependencies>
  184. </plugin>
  185. <!-- Delombok sources to make sure generated methods can be picked up by JavaDoc -->
  186. <plugin>
  187. <groupId>org.projectlombok</groupId>
  188. <artifactId>lombok-maven-plugin</artifactId>
  189. <version>1.18.4.0</version>
  190. <configuration>
  191. <addOutputDirectory>false</addOutputDirectory>
  192. <sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
  193. </configuration>
  194. <executions>
  195. <execution>
  196. <phase>generate-sources</phase>
  197. <goals>
  198. <goal>delombok</goal>
  199. </goals>
  200. </execution>
  201. </executions>
  202. </plugin>
  203. <plugin>
  204. <groupId>org.apache.maven.plugins</groupId>
  205. <artifactId>maven-javadoc-plugin</artifactId>
  206. <executions>
  207. <execution>
  208. <id>package-javadoc</id>
  209. <goals>
  210. <goal>jar</goal>
  211. </goals>
  212. <phase>package</phase>
  213. </execution>
  214. </executions>
  215. <configuration>
  216. <doclint>none</doclint>
  217. <excludePackageNames>org.thymeleaf.*</excludePackageNames>
  218. <outputDirectory>${project.build.directory}/site${dev}/api</outputDirectory>
  219. <sourcepath>target/generated-sources/delombok</sourcepath>
  220. </configuration>
  221. </plugin>
  222. <plugin>
  223. <groupId>org.asciidoctor</groupId>
  224. <artifactId>asciidoctor-maven-plugin</artifactId>
  225. <version>1.5.7.1</version>
  226. <dependencies>
  227. <dependency>
  228. <groupId>org.asciidoctor</groupId>
  229. <artifactId>asciidoctorj</artifactId>
  230. <version>1.5.8.1</version>
  231. </dependency>
  232. <dependency>
  233. <groupId>org.asciidoctor</groupId>
  234. <artifactId>asciidoctorj-diagram</artifactId>
  235. <version>1.5.10</version>
  236. </dependency>
  237. </dependencies>
  238. <executions>
  239. <execution>
  240. <id>website</id>
  241. <phase>package</phase>
  242. <goals>
  243. <goal>process-asciidoc</goal>
  244. </goals>
  245. <configuration>
  246. <sourceDirectory>src/main/asciidoc/site</sourceDirectory>
  247. <outputDirectory>${project.build.directory}/site</outputDirectory>
  248. </configuration>
  249. </execution>
  250. <execution>
  251. <id>reference</id>
  252. <phase>package</phase>
  253. <goals>
  254. <goal>process-asciidoc</goal>
  255. </goals>
  256. <configuration>
  257. <sourceDocumentName>salespoint-reference.adoc</sourceDocumentName>
  258. <outputDirectory>${project.build.directory}/site${dev}</outputDirectory>
  259. <requires>
  260. <require>asciidoctor-diagram</require>
  261. </requires>
  262. </configuration>
  263. </execution>
  264. </executions>
  265. <configuration>
  266. <doctype>book</doctype>
  267. <backend>html5</backend>
  268. <sourceHighlighter>prettify</sourceHighlighter>
  269. <outputDirectory>${project.build.directory}/site</outputDirectory>
  270. <attributes>
  271. <version>${project.version}</version>
  272. <majorversion>6</majorversion>
  273. <linkcss>true</linkcss>
  274. <numbered>true</numbered>
  275. <icons>font</icons>
  276. <sectanchors>true</sectanchors>
  277. <dev>${dev}</dev>
  278. </attributes>
  279. </configuration>
  280. </plugin>
  281. <plugin>
  282. <groupId>org.apache.maven.plugins</groupId>
  283. <artifactId>maven-release-plugin</artifactId>
  284. <version>2.5.3</version>
  285. <configuration>
  286. <pushChanges>false</pushChanges>
  287. <scmCommentPrefix />
  288. <tagNameFormat>${project.version}</tagNameFormat>
  289. <releaseProfiles>release</releaseProfiles>
  290. </configuration>
  291. </plugin>
  292. <plugin>
  293. <groupId>org.apache.maven.plugins</groupId>
  294. <artifactId>maven-source-plugin</artifactId>
  295. <executions>
  296. <execution>
  297. <id>attach-sources</id>
  298. <goals>
  299. <goal>jar</goal>
  300. </goals>
  301. </execution>
  302. </executions>
  303. </plugin>
  304. </plugins>
  305. </build>
  306. <scm>
  307. <url>https://github.com/st-tu-dresden/salespoint</url>
  308. <connection>scm:git:https://github.com/st-tu-dresden/salespoint</connection>
  309. <tag>7.1.x</tag>
  310. </scm>
  311. <distributionManagement>
  312. <repository>
  313. <id>salespoint</id>
  314. <url>sftp://st.inf.tu-dresden.de:44/home/salespnt/salespoint/repository</url>
  315. </repository>
  316. <site>
  317. <id>salespoint</id>
  318. <url>sftp://st.inf.tu-dresden.de:44/home/salespnt/salespoint</url>
  319. </site>
  320. </distributionManagement>
  321. <repositories>
  322. <repository>
  323. <id>spring-libs-milestone</id>
  324. <url>https://repo.spring.io/libs-milestone</url>
  325. </repository>
  326. </repositories>
  327. <pluginRepositories>
  328. <pluginRepository>
  329. <id>spring-libs-milestone</id>
  330. <url>https://repo.spring.io/libs-milestone</url>
  331. </pluginRepository>
  332. </pluginRepositories>
  333. </project>