2
0

pom.xml 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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</groupId>
  6. <artifactId>maven-dependencies</artifactId>
  7. <version>1.3.2</version>
  8. </parent>
  9. <groupId>com.scytl.products.ov.sdm</groupId>
  10. <artifactId>ov-secure-data-manager</artifactId>
  11. <version>2.1.6</version>
  12. <packaging>pom</packaging>
  13. <name>Secure Data Manager</name>
  14. <description>OV SDM</description>
  15. <scm>
  16. <connection>scm:git:ssh://git@scm.scytl.net:7999/comp/online-voting-secure-data-manager.git</connection>
  17. <developerConnection>scm:git:ssh://git@scm.scytl.net:7999/comp/online-voting-secure-data-manager.git</developerConnection>
  18. <url>https://scm.scytl.net/stash/projects/COMP/repos/online-voting-secure-data-manager/browse</url>
  19. <tag>HEAD</tag>
  20. </scm>
  21. <properties>
  22. <javac.version>1.8</javac.version>
  23. <surfire.version>2.17</surfire.version>
  24. <cryptolib.version>2.1.5-4</cryptolib.version>
  25. <scytl-math.version>1.0.1</scytl-math.version>
  26. <bouncycastle.version>1.59</bouncycastle.version>
  27. <spring.version>4.3.19.RELEASE</spring.version>
  28. <spring-context.version>${spring.version}</spring-context.version>
  29. <spring.batch.version>3.0.7.RELEASE</spring.batch.version>
  30. <swagger.springfox.version>2.2.2</swagger.springfox.version>
  31. <swagger.mavenplugin.version>3.1.0</swagger.mavenplugin.version>
  32. <okhttp.version>3.8.0</okhttp.version>
  33. <logback-classic.version>1.2.3</logback-classic.version>
  34. <log4j.version>2.2</log4j.version>
  35. <logging.version>1.4.2</logging.version>
  36. <javax.json.version>1.0.4</javax.json.version>
  37. <javax.inject.version>1.0-PFD-1</javax.inject.version>
  38. <opencsv.version>3.7</opencsv.version>
  39. <ov-channel.version>2.1.7</ov-channel.version>
  40. <maven.javadoc.failOnError>false</maven.javadoc.failOnError>
  41. <mockito.version>1.10.19</mockito.version>
  42. <hamcrest.version>1.3</hamcrest.version>
  43. <junit.version>4.12</junit.version>
  44. <mapdb.version>3.0.1</mapdb.version>
  45. <javax.xml.bind.version>2.2.11</javax.xml.bind.version>
  46. <commons.lang.version>3.3.2</commons.lang.version>
  47. <commons.configuration.version>1.10</commons.configuration.version>
  48. <commons.collections.version>3.2.2</commons.collections.version>
  49. <orient-commons.version>2.0-M1</orient-commons.version>
  50. <orientdb-graphdb.version>2.1.25</orientdb-graphdb.version>
  51. <xstream.version>1.4.11</xstream.version>
  52. <esapi.version>2.1.0.1</esapi.version>
  53. <beanshell.version>2.0b6</beanshell.version>
  54. <jackson.version>2.9.5</jackson.version>
  55. <jackson-annotations.version>2.9.5</jackson-annotations.version>
  56. <antisamy.version>1.5.7</antisamy.version>
  57. <httpcomponents.version>4.5.1</httpcomponents.version>
  58. <commons-validator.version>1.5.0</commons-validator.version>
  59. <info.cukes.version>1.2.5</info.cukes.version>
  60. <spring-boot.version>1.5.14.RELEASE</spring-boot.version>
  61. <hibernate.validator.version>5.3.5.Final</hibernate.validator.version>
  62. <mixing.version>0.3.2</mixing.version>
  63. </properties>
  64. <dependencyManagement>
  65. <dependencies>
  66. <!-- xstream version upgrade for security reasons (used by Spring) -->
  67. <dependency>
  68. <groupId>com.thoughtworks.xstream</groupId>
  69. <artifactId>xstream</artifactId>
  70. <version>${xstream.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.scytl.products.oscore</groupId>
  74. <artifactId>logging-core</artifactId>
  75. <version>${logging.version}</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.scytl.products.ov.sdm</groupId>
  79. <artifactId>ov-secure-data-manager-commons</artifactId>
  80. <version>${project.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>commons-collections</groupId>
  84. <artifactId>commons-collections</artifactId>
  85. <version>${commons.collections.version}</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>com.orientechnologies</groupId>
  89. <artifactId>orient-commons</artifactId>
  90. <version>${orient-commons.version}</version>
  91. </dependency>
  92. <dependency>
  93. <groupId>com.orientechnologies</groupId>
  94. <artifactId>orientdb-graphdb</artifactId>
  95. <version>${orientdb-graphdb.version}</version>
  96. </dependency>
  97. <!-- Validation -->
  98. <dependency>
  99. <groupId>org.owasp.esapi</groupId>
  100. <artifactId>esapi</artifactId>
  101. <version>${esapi.version}</version>
  102. <exclusions>
  103. <exclusion>
  104. <groupId>commons-io</groupId>
  105. <artifactId>commons-io</artifactId>
  106. </exclusion>
  107. <exclusion>
  108. <groupId>xalan</groupId>
  109. <artifactId>xalan</artifactId>
  110. </exclusion>
  111. <exclusion>
  112. <groupId>commons-beanutils</groupId>
  113. <artifactId>commons-beanutils-core</artifactId>
  114. </exclusion>
  115. <exclusion>
  116. <groupId>commons-fileupload</groupId>
  117. <artifactId>commons-fileupload</artifactId>
  118. </exclusion>
  119. <exclusion>
  120. <groupId>xerces</groupId>
  121. <artifactId>xercesImpl</artifactId>
  122. </exclusion>
  123. <exclusion>
  124. <groupId>org.owasp.antisamy</groupId>
  125. <artifactId>antisamy</artifactId>
  126. </exclusion>
  127. <exclusion>
  128. <groupId>org.apache.xmlgraphics</groupId>
  129. <artifactId>batik-css</artifactId>
  130. </exclusion>
  131. <exclusion>
  132. <groupId>org.beanshell</groupId>
  133. <artifactId>bsh-core</artifactId>
  134. </exclusion>
  135. </exclusions>
  136. </dependency>
  137. <dependency>
  138. <groupId>org.beanshell</groupId>
  139. <artifactId>bsh-core</artifactId>
  140. <version>${beanshell.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.owasp.antisamy</groupId>
  144. <artifactId>antisamy</artifactId>
  145. <version>${antisamy.version}</version>
  146. <exclusions>
  147. <exclusion>
  148. <groupId>org.apache.httpcomponents</groupId>
  149. <artifactId>httpclient</artifactId>
  150. </exclusion>
  151. </exclusions>
  152. </dependency>
  153. <dependency>
  154. <groupId>org.apache.httpcomponents</groupId>
  155. <artifactId>httpclient</artifactId>
  156. <version>${httpcomponents.version}</version>
  157. </dependency>
  158. </dependencies>
  159. </dependencyManagement>
  160. <build>
  161. <pluginManagement>
  162. <plugins>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-compiler-plugin</artifactId>
  166. <version>3.2</version>
  167. <configuration>
  168. <source>${javac.version}</source>
  169. <target>${javac.version}</target>
  170. </configuration>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.apache.maven.plugins</groupId>
  174. <artifactId>maven-surefire-plugin</artifactId>
  175. <version>${surfire.version}</version>
  176. <configuration>
  177. <skipTests>${skipTests}</skipTests>
  178. </configuration>
  179. </plugin>
  180. </plugins>
  181. </pluginManagement>
  182. <plugins>
  183. <plugin>
  184. <groupId>com.mycila.maven-license-plugin</groupId>
  185. <artifactId>maven-license-plugin</artifactId>
  186. <version>1.9.0</version>
  187. <configuration>
  188. <headerDefinitions>
  189. <headerDefinition>licensePattern.xml</headerDefinition>
  190. </headerDefinitions>
  191. <mapping>
  192. <javadoc_style>JAVADOC_STYLE</javadoc_style>
  193. </mapping>
  194. <header>${basedir}/LICENSE</header>
  195. <includes>
  196. <include>**/*.java</include>
  197. <include>**/*.xml</include>
  198. <include>**/*.properties</include>
  199. <include>**/*.js</include>
  200. </includes>
  201. <excludes>
  202. <exclude>**/.*/**</exclude>
  203. <exclude>target/**</exclude>
  204. <exclude>bower_components/**</exclude>
  205. <exclude>build/**</exclude>
  206. <exclude>cache/**</exclude>
  207. <exclude>desktop_app/**</exclude>
  208. <exclude>dist/**</exclude>
  209. <exclude>node_modules/**</exclude>
  210. <exclude>release/**</exclude>
  211. </excludes>
  212. <properties>
  213. <currentYear>2018</currentYear>
  214. </properties>
  215. <useDefaultExcludes>true</useDefaultExcludes>
  216. <strictCheck>true</strictCheck>
  217. </configuration>
  218. <executions>
  219. <execution>
  220. <goals>
  221. <goal>check</goal>
  222. </goals>
  223. </execution>
  224. </executions>
  225. </plugin>
  226. </plugins>
  227. </build>
  228. <profiles>
  229. <profile>
  230. <id>all</id>
  231. <activation>
  232. <activeByDefault>true</activeByDefault>
  233. </activation>
  234. <modules>
  235. <module>secure-data-manager-commons</module>
  236. <module>secure-data-manager-libs-config</module>
  237. <module>config-generator</module>
  238. <module>ov-sdm-batch-jobs-product</module>
  239. <module>mix-net</module>
  240. <module>tallying</module>
  241. <module>secure-data-manager-backend</module>
  242. <module>secure-data-manager-frontend</module>
  243. <module>Izpack-validator</module>
  244. <module>secure-data-manager-packaging</module>
  245. <module>secure-data-manager-assembly</module>
  246. </modules>
  247. </profile>
  248. <profile>
  249. <id>backend</id>
  250. <modules>
  251. <module>secure-data-manager-commons</module>
  252. <module>secure-data-manager-libs-config</module>
  253. <module>config-generator</module>
  254. <module>ov-sdm-batch-jobs-product</module>
  255. <module>mix-net</module>
  256. <module>tallying</module>
  257. <module>secure-data-manager-backend</module>
  258. </modules>
  259. </profile>
  260. </profiles>
  261. </project>