pom.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. <?xml version="1.0"?>
  2. <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">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.scytl.products.ov.sdm</groupId>
  6. <artifactId>ov-secure-data-manager-backend</artifactId>
  7. <version>2.1.6</version>
  8. </parent>
  9. <groupId>com.scytl.products.ov.sdm.services</groupId>
  10. <artifactId>secure-data-manager-services</artifactId>
  11. <packaging>jar</packaging>
  12. <name>Secure Data Manager - Backend - Services</name>
  13. <properties>
  14. <junit.version>4.12</junit.version>
  15. <mockito.version>1.10.19</mockito.version>
  16. <spring-boot-jersey.version>1.0.0.M1</spring-boot-jersey.version>
  17. <jmockit.version>1.17</jmockit.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.scytl.products.ov</groupId>
  22. <artifactId>mixnet-webapp</artifactId>
  23. <version>${project.version}</version>
  24. <classifier>classes</classifier>
  25. <exclusions>
  26. <exclusion>
  27. <groupId>org.mockito</groupId>
  28. <artifactId>mockito-all</artifactId>
  29. </exclusion>
  30. </exclusions>
  31. </dependency>
  32. <!-- Configuration engine - commons module -->
  33. <dependency>
  34. <groupId>com.scytl.products.ov</groupId>
  35. <artifactId>config-commons</artifactId>
  36. <exclusions>
  37. <exclusion>
  38. <groupId>commons-logging</groupId>
  39. <artifactId>commons-logging</artifactId>
  40. </exclusion>
  41. <exclusion>
  42. <artifactId>log4j-slf4j-impl</artifactId>
  43. <groupId>org.apache.logging.log4j</groupId>
  44. </exclusion>
  45. <exclusion>
  46. <groupId>org.slf4j</groupId>
  47. <artifactId>slf4j-log4j12</artifactId>
  48. </exclusion>
  49. <exclusion>
  50. <groupId>org.springframework.batch</groupId>
  51. <artifactId>spring-batch-core</artifactId>
  52. </exclusion>
  53. </exclusions>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.squareup.retrofit2</groupId>
  57. <artifactId>retrofit</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.squareup.retrofit2</groupId>
  61. <artifactId>converter-jackson</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>com.squareup.okhttp3</groupId>
  65. <artifactId>okhttp</artifactId>
  66. <version>${okhttp.version}</version>
  67. </dependency>
  68. <dependency>
  69. <groupId>com.scytl.products.ov.sdm.services</groupId>
  70. <artifactId>secure-data-manager-integration</artifactId>
  71. <version>${project.version}</version>
  72. </dependency>
  73. <!-- Configuration engine - Shares Module -->
  74. <dependency>
  75. <groupId>com.scytl.products.ov</groupId>
  76. <artifactId>config-shares</artifactId>
  77. <exclusions>
  78. <exclusion>
  79. <groupId>org.apache.logging.log4j</groupId>
  80. <artifactId>log4j-slf4j-impl</artifactId>
  81. </exclusion>
  82. <exclusion>
  83. <groupId>org.apache.logging.log4j</groupId>
  84. <artifactId>log4j-core</artifactId>
  85. </exclusion>
  86. <exclusion>
  87. <groupId>org.slf4j</groupId>
  88. <artifactId>slf4j-api</artifactId>
  89. </exclusion>
  90. <exclusion>
  91. <groupId>org.slf4j</groupId>
  92. <artifactId>slf4j-log4j12</artifactId>
  93. </exclusion>
  94. </exclusions>
  95. </dependency>
  96. <!-- Jersey REST client + Jackson support -->
  97. <dependency>
  98. <groupId>org.glassfish.jersey.core</groupId>
  99. <artifactId>jersey-client</artifactId>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.glassfish.jersey.media</groupId>
  103. <artifactId>jersey-media-json-jackson</artifactId>
  104. </dependency>
  105. <dependency>
  106. <groupId>com.fasterxml.jackson.core</groupId>
  107. <artifactId>jackson-annotations</artifactId>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.fasterxml.jackson.jaxrs</groupId>
  111. <artifactId>jackson-jaxrs-json-provider</artifactId>
  112. </dependency>
  113. <!-- Canonizer to avoid sanitizer filter issues -->
  114. <dependency>
  115. <groupId>org.owasp.esapi</groupId>
  116. <artifactId>esapi</artifactId>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.beanshell</groupId>
  120. <artifactId>bsh-core</artifactId>
  121. </dependency>
  122. <dependency>
  123. <groupId>org.apache.httpcomponents</groupId>
  124. <artifactId>httpclient</artifactId>
  125. </dependency>
  126. <!-- Orient DB -->
  127. <dependency>
  128. <groupId>com.orientechnologies</groupId>
  129. <artifactId>orientdb-graphdb</artifactId>
  130. <exclusions>
  131. <exclusion>
  132. <groupId>org.codehaus.groovy</groupId>
  133. <artifactId>groovy</artifactId>
  134. </exclusion>
  135. </exclusions>
  136. </dependency>
  137. <!-- Bouncy Castle -->
  138. <dependency>
  139. <groupId>org.bouncycastle</groupId>
  140. <artifactId>bcprov-jdk15on</artifactId>
  141. <scope>provided</scope>
  142. </dependency>
  143. <dependency>
  144. <groupId>org.bouncycastle</groupId>
  145. <artifactId>bcpkix-jdk15on</artifactId>
  146. </dependency>
  147. <!-- Testing -->
  148. <dependency>
  149. <groupId>org.springframework</groupId>
  150. <artifactId>spring-test</artifactId>
  151. <scope>test</scope>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.jmockit</groupId>
  155. <artifactId>jmockit</artifactId>
  156. <scope>test</scope>
  157. </dependency>
  158. <dependency>
  159. <groupId>junit</groupId>
  160. <artifactId>junit</artifactId>
  161. <scope>test</scope>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.mockito</groupId>
  165. <artifactId>mockito-core</artifactId>
  166. <exclusions>
  167. <exclusion>
  168. <groupId>org.hamcrest</groupId>
  169. <artifactId>hamcrest-core</artifactId>
  170. </exclusion>
  171. </exclusions>
  172. <scope>test</scope>
  173. </dependency>
  174. <!-- ov-commons -->
  175. <dependency>
  176. <groupId>com.scytl.products.ov.channel.commons.lib</groupId>
  177. <artifactId>ov-commons-lib</artifactId>
  178. </dependency>
  179. <dependency>
  180. <groupId>com.scytl.products.ov.channel.commons.lib</groupId>
  181. <artifactId>ov-commons-lib-persistence</artifactId>
  182. </dependency>
  183. <dependency>
  184. <groupId>com.scytl.products.ov.channel.commons</groupId>
  185. <artifactId>ov-commons-sign</artifactId>
  186. </dependency>
  187. <dependency>
  188. <groupId>com.scytl.products.ov.channel.commons</groupId>
  189. <artifactId>ov-commons-beans</artifactId>
  190. </dependency>
  191. <dependency>
  192. <groupId>com.scytl.products.ov.channel.commons</groupId>
  193. <artifactId>ov-commons-infrastructure</artifactId>
  194. </dependency>
  195. <dependency>
  196. <groupId>com.scytl.products.ov.channel.commons</groupId>
  197. <artifactId>ov-commons-dto</artifactId>
  198. </dependency>
  199. <dependency>
  200. <groupId>com.scytl.products.ov.sdm</groupId>
  201. <artifactId>ov-secure-data-manager-commons</artifactId>
  202. </dependency>
  203. </dependencies>
  204. <build>
  205. <plugins>
  206. <plugin>
  207. <groupId>org.codehaus.mojo</groupId>
  208. <artifactId>properties-maven-plugin</artifactId>
  209. <version>1.0-alpha-2</version>
  210. <executions>
  211. <execution>
  212. <phase>generate-resources</phase>
  213. <goals>
  214. <goal>write-active-profile-properties</goal>
  215. </goals>
  216. <configuration>
  217. <outputFile>${project.build.outputDirectory}/config/services/smartcard.properties</outputFile>
  218. </configuration>
  219. </execution>
  220. </executions>
  221. </plugin>
  222. </plugins>
  223. </build>
  224. <profiles>
  225. <profile>
  226. <id>e2e</id>
  227. <activation>
  228. <activeByDefault>false</activeByDefault>
  229. </activation>
  230. <properties>
  231. <smartcards.profile>e2e</smartcards.profile>
  232. </properties>
  233. </profile>
  234. <profile>
  235. <id>default</id>
  236. <activation>
  237. <activeByDefault>true</activeByDefault>
  238. </activation>
  239. <properties>
  240. <smartcards.profile>default</smartcards.profile>
  241. </properties>
  242. </profile>
  243. </profiles>
  244. </project>