pom.xml 9.6 KB

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