2
0

pom.xml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. <?xml version="1.0" encoding="UTF-8"?>
  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</artifactId>
  7. <version>2.1.6</version>
  8. </parent>
  9. <artifactId>mixnet</artifactId>
  10. <groupId>com.scytl.products.ov</groupId>
  11. <packaging>pom</packaging>
  12. <name>Secure Data Manager Mixnet</name>
  13. <description>
  14. Bayer and Groth Mix-net
  15. </description>
  16. <properties>
  17. <skip.jacoco>false</skip.jacoco>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. </properties>
  20. <dependencyManagement>
  21. <dependencies>
  22. <!-- OV dependencies -->
  23. <dependency>
  24. <groupId>com.scytl.products.ov</groupId>
  25. <artifactId>mixnet-gmp-adapter</artifactId>
  26. <version>${project.version}</version>
  27. </dependency>
  28. <dependency>
  29. <artifactId>config-commons</artifactId>
  30. <groupId>com.scytl.products.ov</groupId>
  31. <version>${project.version}</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.scytl.products.ov.channel.commons.lib</groupId>
  35. <artifactId>ov-commons-lib</artifactId>
  36. <version>${ov-channel.version}</version>
  37. </dependency>
  38. <!-- Logging -->
  39. <dependency>
  40. <groupId>org.slf4j</groupId>
  41. <artifactId>slf4j-api</artifactId>
  42. <version>${slf4j-api.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.scytl.products.oscore</groupId>
  46. <artifactId>logging-core</artifactId>
  47. <version>${logging.version}</version>
  48. </dependency>
  49. <!-- other dependencies -->
  50. <dependency>
  51. <groupId>org.apache.commons</groupId>
  52. <artifactId>commons-lang3</artifactId>
  53. <version>3.3.2</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>commons-io</groupId>
  57. <artifactId>commons-io</artifactId>
  58. <version>2.4</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>commons-cli</groupId>
  62. <artifactId>commons-cli</artifactId>
  63. <version>1.2</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.openjdk.jmh</groupId>
  67. <artifactId>jmh-core</artifactId>
  68. <version>1.6.2</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.bouncycastle</groupId>
  72. <artifactId>bcprov-jdk15on</artifactId>
  73. <version>${bouncycastle.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.bouncycastle</groupId>
  77. <artifactId>bcpkix-jdk15on</artifactId>
  78. <version>${bouncycastle.version}</version>
  79. <exclusions>
  80. <exclusion>
  81. <groupId>org.bouncycastle</groupId>
  82. <artifactId>bcprov-jdk15on</artifactId>
  83. </exclusion>
  84. </exclusions>
  85. </dependency>
  86. <dependency>
  87. <groupId>com.googlecode.jcsv</groupId>
  88. <artifactId>jcsv</artifactId>
  89. <version>1.4.0</version>
  90. </dependency>
  91. <dependency>
  92. <groupId>com.fasterxml.jackson.core</groupId>
  93. <artifactId>jackson-databind</artifactId>
  94. <version>${jackson.version}</version>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.apache.maven.surefire</groupId>
  98. <artifactId>surefire-junit47</artifactId>
  99. <version>2.18.1</version>
  100. </dependency>
  101. <dependency>
  102. <groupId>commons-configuration</groupId>
  103. <artifactId>commons-configuration</artifactId>
  104. <version>1.10</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.scytl.math</groupId>
  108. <artifactId>scytl-math</artifactId>
  109. <version>${scytl-math.version}</version>
  110. </dependency>
  111. <!-- testing dependencies -->
  112. <dependency>
  113. <groupId>org.jmockit</groupId>
  114. <artifactId>jmockit</artifactId>
  115. <version>1.17</version>
  116. <scope>test</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>junit</groupId>
  120. <artifactId>junit</artifactId>
  121. <version>4.12</version>
  122. <scope>test</scope>
  123. </dependency>
  124. <dependency>
  125. <groupId>org.hamcrest</groupId>
  126. <artifactId>hamcrest-all</artifactId>
  127. <version>1.3</version>
  128. <scope>test</scope>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.openjdk.jmh</groupId>
  132. <artifactId>jmh-generator-annprocess</artifactId>
  133. <version>1.6.2</version>
  134. <scope>provided</scope>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.mockito</groupId>
  138. <artifactId>mockito-core</artifactId>
  139. <version>2.7.5</version>
  140. <scope>test</scope>
  141. </dependency>
  142. <!-- spring dependencies -->
  143. <dependency>
  144. <groupId>org.springframework</groupId>
  145. <artifactId>spring-context</artifactId>
  146. <version>${spring.version}</version>
  147. </dependency>
  148. <dependency>
  149. <groupId>org.springframework</groupId>
  150. <artifactId>spring-tx</artifactId>
  151. <version>${spring.version}</version>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.springframework</groupId>
  155. <artifactId>spring-test</artifactId>
  156. <version>${spring.version}</version>
  157. </dependency>
  158. <dependency>
  159. <groupId>org.springframework</groupId>
  160. <artifactId>spring-aop</artifactId>
  161. <version>${spring.version}</version>
  162. </dependency>
  163. <dependency>
  164. <groupId>org.springframework</groupId>
  165. <artifactId>spring-beans</artifactId>
  166. <version>${spring.version}</version>
  167. </dependency>
  168. <dependency>
  169. <groupId>org.springframework</groupId>
  170. <artifactId>spring-core</artifactId>
  171. <version>${spring.version}</version>
  172. </dependency>
  173. <dependency>
  174. <groupId>org.springframework.batch</groupId>
  175. <artifactId>spring-batch-core</artifactId>
  176. <version>${spring.batch.version}</version>
  177. <exclusions>
  178. <exclusion>
  179. <groupId>org.springframework</groupId>
  180. <artifactId>spring-aop</artifactId>
  181. </exclusion>
  182. <exclusion>
  183. <groupId>org.springframework</groupId>
  184. <artifactId>spring-beans</artifactId>
  185. </exclusion>
  186. <exclusion>
  187. <groupId>org.springframework</groupId>
  188. <artifactId>spring-core</artifactId>
  189. </exclusion>
  190. <exclusion>
  191. <groupId>org.springframework</groupId>
  192. <artifactId>spring-context</artifactId>
  193. </exclusion>
  194. <exclusion>
  195. <groupId>org.springframework</groupId>
  196. <artifactId>spring-tx</artifactId>
  197. </exclusion>
  198. </exclusions>
  199. </dependency>
  200. <!-- CryptoLib dependencies -->
  201. <dependency>
  202. <artifactId>cryptolib-elgamal</artifactId>
  203. <groupId>com.scytl.cryptolib</groupId>
  204. <version>${cryptolib.version}</version>
  205. </dependency>
  206. <dependency>
  207. <artifactId>cryptolib-proofs</artifactId>
  208. <groupId>com.scytl.cryptolib</groupId>
  209. <version>${cryptolib.version}</version>
  210. </dependency>
  211. </dependencies>
  212. </dependencyManagement>
  213. <modules>
  214. <module>mixnet-webapp</module>
  215. <module>validation-commons</module>
  216. <module>validation-engine</module>
  217. </modules>
  218. <build>
  219. <pluginManagement>
  220. <plugins>
  221. <plugin>
  222. <groupId>org.apache.maven.plugins</groupId>
  223. <artifactId>maven-site-plugin</artifactId>
  224. <version>3.4</version>
  225. </plugin>
  226. <plugin>
  227. <groupId>org.apache.maven.plugins</groupId>
  228. <artifactId>maven-release-plugin</artifactId>
  229. <version>2.5</version>
  230. <configuration>
  231. <preparationGoals>clean replacer:replace verify</preparationGoals>
  232. </configuration>
  233. </plugin>
  234. <plugin>
  235. <groupId>org.apache.maven.plugins</groupId>
  236. <artifactId>maven-failsafe-plugin</artifactId>
  237. <version>2.17</version>
  238. </plugin>
  239. <plugin>
  240. <groupId>org.apache.maven.plugins</groupId>
  241. <artifactId>maven-surefire-plugin</artifactId>
  242. <version>2.18.1</version>
  243. </plugin>
  244. <plugin>
  245. <groupId>org.apache.maven.plugins</groupId>
  246. <artifactId>maven-shade-plugin</artifactId>
  247. <version>2.2</version>
  248. </plugin>
  249. </plugins>
  250. </pluginManagement>
  251. </build>
  252. <dependencies>
  253. <!-- Test dependencies -->
  254. <dependency>
  255. <groupId>org.jmockit</groupId>
  256. <artifactId>jmockit</artifactId>
  257. <scope>test</scope>
  258. </dependency>
  259. <dependency>
  260. <groupId>junit</groupId>
  261. <artifactId>junit</artifactId>
  262. <scope>test</scope>
  263. </dependency>
  264. </dependencies>
  265. <profiles>
  266. <!--<profile>
  267. <id>jacoco</id>
  268. <activation>
  269. <property>
  270. <name>activate-ci</name>
  271. </property>
  272. </activation>
  273. <build>
  274. <plugins>
  275. <plugin>
  276. <groupId>org.jacoco</groupId>
  277. <artifactId>jacoco-maven-plugin</artifactId>
  278. <version>0.7.5.201505241946</version>
  279. <executions>
  280. <execution>
  281. <id>prepare-agent</id>
  282. <goals>
  283. <goal>prepare-agent</goal>
  284. </goals>
  285. </execution>
  286. </executions>
  287. <configuration>
  288. <propertyName>argLinePrepend</propertyName>
  289. </configuration>
  290. </plugin>
  291. </plugins>
  292. </build>
  293. <properties>
  294. <argLine>${argLinePrepend} ${args}</argLine>
  295. </properties>
  296. </profile>-->
  297. <profile>
  298. <id>all</id>
  299. <build>
  300. <plugins>
  301. <plugin>
  302. <groupId>org.apache.maven.plugins</groupId>
  303. <artifactId>maven-surefire-plugin</artifactId>
  304. <configuration>
  305. <includes>
  306. <include>**/*.java</include>
  307. </includes>
  308. </configuration>
  309. </plugin>
  310. </plugins>
  311. </build>
  312. </profile>
  313. <profile>
  314. <id>ultraSlow</id>
  315. <build>
  316. <plugins>
  317. <plugin>
  318. <groupId>org.apache.maven.plugins</groupId>
  319. <artifactId>maven-surefire-plugin</artifactId>
  320. <dependencies>
  321. <dependency>
  322. <groupId>org.apache.maven.surefire</groupId>
  323. <artifactId>surefire-junit47</artifactId>
  324. <version>2.18.1</version>
  325. </dependency>
  326. </dependencies>
  327. <configuration>
  328. <groups>com.scytl.products.ov.mixnet.commons.tests.categories.UltraSlowTest</groups>
  329. <includes>
  330. <include>**/*.java</include>
  331. </includes>
  332. </configuration>
  333. </plugin>
  334. </plugins>
  335. </build>
  336. </profile>
  337. <profile>
  338. <id>slow</id>
  339. <build>
  340. <plugins>
  341. <plugin>
  342. <groupId>org.apache.maven.plugins</groupId>
  343. <artifactId>maven-surefire-plugin</artifactId>
  344. <dependencies>
  345. <dependency>
  346. <groupId>org.apache.maven.surefire</groupId>
  347. <artifactId>surefire-junit47</artifactId>
  348. <version>2.18.1</version>
  349. </dependency>
  350. </dependencies>
  351. <configuration>
  352. <groups>com.scytl.products.ov.mixnet.commons.tests.categories.SlowTest</groups>
  353. <includes>
  354. <include>**/*.java</include>
  355. </includes>
  356. </configuration>
  357. </plugin>
  358. </plugins>
  359. </build>
  360. </profile>
  361. <profile>
  362. <activation>
  363. <activeByDefault>true</activeByDefault>
  364. </activation>
  365. <id>fast</id>
  366. <build>
  367. <plugins>
  368. <plugin>
  369. <groupId>org.apache.maven.plugins</groupId>
  370. <artifactId>maven-surefire-plugin</artifactId>
  371. <dependencies>
  372. <dependency>
  373. <groupId>org.apache.maven.surefire</groupId>
  374. <artifactId>surefire-junit47</artifactId>
  375. <version>2.18.1</version>
  376. </dependency>
  377. </dependencies>
  378. <configuration>
  379. <excludedGroups>
  380. com.scytl.products.ov.mixnet.commons.tests.categories.SlowTest,
  381. com.scytl.products.ov.mixnet.commons.tests.categories.UltraSlowTest
  382. </excludedGroups>
  383. <includes>
  384. <include>**/*.java</include>
  385. </includes>
  386. </configuration>
  387. </plugin>
  388. </plugins>
  389. </build>
  390. </profile>
  391. </profiles>
  392. </project>