pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>de.tudresden.inf.st</groupId>
  5. <artifactId>salespoint-framework</artifactId>
  6. <version>6.0.0-SNAPSHOT</version>
  7. <name>Salespoint</name>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>1.1.7.RELEASE</version>
  12. </parent>
  13. <properties>
  14. <dev>/dev</dev>
  15. </properties>
  16. <profiles>
  17. <profile>
  18. <id>release</id>
  19. <properties>
  20. <dev></dev>
  21. </properties>
  22. </profile>
  23. </profiles>
  24. <dependencies>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-data-jpa</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-security</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-test</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.hsqldb</groupId>
  43. <artifactId>hsqldb</artifactId>
  44. <scope>test</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.hibernate</groupId>
  48. <artifactId>hibernate-jpamodelgen</artifactId>
  49. <version>1.3.0.Final</version>
  50. <scope>provided</scope>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.joda</groupId>
  54. <artifactId>joda-money</artifactId>
  55. <version>0.9.1</version>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.jadira.usertype</groupId>
  59. <artifactId>usertype.extended</artifactId>
  60. <version>3.2.0.GA</version>
  61. </dependency>
  62. </dependencies>
  63. <build>
  64. <extensions>
  65. <extension>
  66. <groupId>org.apache.maven.wagon</groupId>
  67. <artifactId>wagon-ssh</artifactId>
  68. <version>2.6</version>
  69. </extension>
  70. </extensions>
  71. <plugins>
  72. <plugin>
  73. <groupId>org.apache.maven.plugins</groupId>
  74. <artifactId>maven-compiler-plugin</artifactId>
  75. <configuration>
  76. <source>1.8</source>
  77. <target>1.8</target>
  78. <compilerArgument>-proc:none</compilerArgument>
  79. </configuration>
  80. </plugin>
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-javadoc-plugin</artifactId>
  84. <executions>
  85. <execution>
  86. <id>package-javadoc</id>
  87. <goals>
  88. <goal>jar</goal>
  89. </goals>
  90. <phase>package</phase>
  91. </execution>
  92. </executions>
  93. <configuration>
  94. <additionalparam>-Xdoclint:none</additionalparam>
  95. <outputDirectory>${project.build.directory}/site${dev}/api</outputDirectory>
  96. </configuration>
  97. </plugin>
  98. <plugin>
  99. <groupId>com.mysema.maven</groupId>
  100. <artifactId>apt-maven-plugin</artifactId>
  101. <version>1.1.2</version>
  102. <configuration>
  103. <processor>org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor</processor>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <id>sources</id>
  108. <phase>generate-sources</phase>
  109. <goals>
  110. <goal>process</goal>
  111. </goals>
  112. <configuration>
  113. <outputDirectory>target/generated-sources/main</outputDirectory>
  114. </configuration>
  115. </execution>
  116. </executions>
  117. </plugin>
  118. <plugin>
  119. <groupId>org.asciidoctor</groupId>
  120. <artifactId>asciidoctor-maven-plugin</artifactId>
  121. <version>1.5.0</version>
  122. <executions>
  123. <execution>
  124. <id>website</id>
  125. <phase>generate-resources</phase>
  126. <goals>
  127. <goal>process-asciidoc</goal>
  128. </goals>
  129. <configuration>
  130. <sourceDocumentName>index.adoc</sourceDocumentName>
  131. <outputDirectory>${project.build.directory}/site</outputDirectory>
  132. </configuration>
  133. </execution>
  134. <execution>
  135. <id>reference</id>
  136. <phase>generate-resources</phase>
  137. <goals>
  138. <goal>process-asciidoc</goal>
  139. </goals>
  140. <configuration>
  141. <sourceDocumentName>salespoint-reference.adoc</sourceDocumentName>
  142. <outputDirectory>${project.build.directory}/site${dev}</outputDirectory>
  143. </configuration>
  144. </execution>
  145. </executions>
  146. <configuration>
  147. <doctype>book</doctype>
  148. <backend>html5</backend>
  149. <sourceHighlighter>prettify</sourceHighlighter>
  150. <outputDirectory>${project.build.directory}/site</outputDirectory>
  151. <attributes>
  152. <version>${project.version}</version>
  153. <linkcss>true</linkcss>
  154. <numbered>true</numbered>
  155. <icons>font</icons>
  156. <sectanchors>true</sectanchors>
  157. </attributes>
  158. </configuration>
  159. </plugin>
  160. </plugins>
  161. </build>
  162. <distributionManagement>
  163. <repository>
  164. <id>salespoint</id>
  165. <url>sftp://st.inf.tu-dresden.de:44/home/salespnt/salespoint/repository</url>
  166. </repository>
  167. <site>
  168. <id>salespoint</id>
  169. <url>sftp://st.inf.tu-dresden.de:44/home/salespnt/salespoint</url>
  170. </site>
  171. </distributionManagement>
  172. </project>