pom.xml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. <parent>
  3. <artifactId>mixnet</artifactId>
  4. <groupId>com.scytl.products.ov</groupId>
  5. <version>2.1.6</version>
  6. </parent>
  7. <modelVersion>4.0.0</modelVersion>
  8. <artifactId>mixnet-webapp</artifactId>
  9. <packaging>war</packaging>
  10. <name>Secure Data Manager - Mixnet - Webapp</name>
  11. <properties>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <javax.servlet-api.version>3.1.0</javax.servlet-api.version>
  14. <tomcat7.maven.plugin.version>2.2</tomcat7.maven.plugin.version>
  15. </properties>
  16. <dependencies>
  17. <!-- internal project dependencies-->
  18. <dependency>
  19. <groupId>com.scytl.mixing</groupId>
  20. <artifactId>mixing-spring</artifactId>
  21. <version>${mixing.version}</version>
  22. <exclusions>
  23. <exclusion>
  24. <artifactId>libs-config</artifactId>
  25. <groupId>com.scytl.products.ov.channel.commons</groupId>
  26. </exclusion>
  27. </exclusions>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.scytl.products.ov</groupId>
  31. <artifactId>validation-engine</artifactId>
  32. <version>${project.version}</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.scytl.products.ov.sdm</groupId>
  36. <artifactId>ov-secure-data-manager-libs-config</artifactId>
  37. <version>${project.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.scytl.products.ov.channel.commons.lib</groupId>
  41. <artifactId>ov-commons-lib</artifactId>
  42. <version>${ov-channel.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.scytl.products.ov.channel.commons</groupId>
  46. <artifactId>ov-commons-beans</artifactId>
  47. <version>${ov-channel.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.scytl.products.ov.channel.commons</groupId>
  51. <artifactId>ov-commons-dto</artifactId>
  52. <version>${ov-channel.version}</version>
  53. </dependency>
  54. <!-- This dependency is need for testing purposes due to maven plugin profiles -->
  55. <dependency>
  56. <groupId>com.scytl.mixing</groupId>
  57. <artifactId>mixing-commons</artifactId>
  58. <version>${mixing.version}</version>
  59. <type>test-jar</type>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.scytl.math</groupId>
  64. <artifactId>scytl-math</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <!-- SPRING dependencies-->
  68. <dependency>
  69. <groupId>org.springframework</groupId>
  70. <artifactId>spring-webmvc</artifactId>
  71. <version>${spring.version}</version>
  72. </dependency>
  73. <dependency>
  74. <groupId>org.springframework</groupId>
  75. <artifactId>spring-test</artifactId>
  76. </dependency>
  77. <!-- Other dependencies-->
  78. <dependency>
  79. <groupId>com.fasterxml.jackson.core</groupId>
  80. <artifactId>jackson-core</artifactId>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.fasterxml.jackson.core</groupId>
  84. <artifactId>jackson-databind</artifactId>
  85. </dependency>
  86. <dependency>
  87. <groupId>javax.servlet</groupId>
  88. <artifactId>javax.servlet-api</artifactId>
  89. <version>${javax.servlet-api.version}</version>
  90. <scope>provided</scope>
  91. </dependency>
  92. <!-- Swagger -->
  93. <dependency>
  94. <groupId>io.springfox</groupId>
  95. <artifactId>springfox-swagger2</artifactId>
  96. <version>${swagger.springfox.version}</version>
  97. </dependency>
  98. </dependencies>
  99. <build>
  100. <finalName>mixing</finalName>
  101. <plugins>
  102. <plugin>
  103. <groupId>org.apache.maven.plugins</groupId>
  104. <artifactId>maven-war-plugin</artifactId>
  105. <configuration>
  106. <attachClasses>true</attachClasses>
  107. <failOnMissingWebXml>false</failOnMissingWebXml>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.apache.tomcat.maven</groupId>
  112. <artifactId>tomcat7-maven-plugin</artifactId>
  113. <version>${tomcat7.maven.plugin.version}</version>
  114. <configuration>
  115. <path>/${project.build.finalName}</path>
  116. </configuration>
  117. </plugin>
  118. <plugin>
  119. <groupId>com.github.kongchen</groupId>
  120. <artifactId>swagger-maven-plugin</artifactId>
  121. <version>${swagger.mavenplugin.version}</version>
  122. <configuration>
  123. <apiSources>
  124. <apiSource>
  125. <springmvc>true</springmvc>
  126. <locations>com.scytl.products.ov</locations>
  127. <schemes>http,https</schemes>
  128. <host>host:port</host>
  129. <basePath>/mixing</basePath>
  130. <info>
  131. <title>Mixing</title>
  132. <version>v1</version>
  133. <description>Mixing REST API</description>
  134. <termsOfService>
  135. http://www.scytl.com/terms-of-service
  136. </termsOfService>
  137. <contact>
  138. <email>product.team2@scytl.com</email>
  139. <name>Scytl Product - Product Team 2</name>
  140. <url />
  141. </contact>
  142. <license>
  143. <url>http://www.scytl.com/licenses</url>
  144. <name>Scytl License</name>
  145. </license>
  146. </info>
  147. <swaggerDirectory>${basedir}/target/generated/swagger-ui</swaggerDirectory>
  148. </apiSource>
  149. </apiSources>
  150. </configuration>
  151. <executions>
  152. <execution>
  153. <phase>compile</phase>
  154. <goals>
  155. <goal>generate</goal>
  156. </goals>
  157. </execution>
  158. </executions>
  159. </plugin>
  160. </plugins>
  161. <resources>
  162. <resource>
  163. <directory>src/main/resources</directory>
  164. <filtering>true</filtering>
  165. <includes>
  166. <include>**/version.txt</include>
  167. </includes>
  168. </resource>
  169. <resource>
  170. <directory>src/main/resources</directory>
  171. <filtering>false</filtering>
  172. <excludes>
  173. <exclude>**/version.txt</exclude>
  174. </excludes>
  175. </resource>
  176. </resources>
  177. </build>
  178. </project>