2
0

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