pom.xml 9.5 KB

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