2
0

pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. <parent>
  4. <artifactId>ov-commons</artifactId>
  5. <groupId>com.scytl.products.ov.channel.commons</groupId>
  6. <version>2.1.7</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <groupId>com.scytl.products.ov.channel.commons.lib</groupId>
  10. <artifactId>ov-commons-lib-persistence</artifactId>
  11. <packaging>jar</packaging>
  12. <name>Online Voting - Commons - Persistence</name>
  13. <dependencies>
  14. <!-- Hibernate related dependencies - provided.
  15. This dependency is needed to check that the DB exception that is thrown is actually ConstraintViolation Exception,
  16. it may be better to divide this module in 2 parts: 1 JPA dependent and another module JPA
  17. provider dependent and move hibernate or open-jpa dependency to that module -->
  18. <dependency>
  19. <groupId>org.hibernate</groupId>
  20. <artifactId>hibernate-core</artifactId>
  21. <scope>provided</scope>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.hibernate</groupId>
  25. <artifactId>hibernate-entitymanager</artifactId>
  26. <scope>provided</scope>
  27. </dependency>
  28. <dependency>
  29. <artifactId>cryptolib-certificates</artifactId>
  30. <groupId>com.scytl.cryptolib</groupId>
  31. <version>${cryptolib.version}</version>
  32. </dependency>
  33. <dependency>
  34. <artifactId>cryptolib-scytl-keystore</artifactId>
  35. <groupId>com.scytl.cryptolib</groupId>
  36. <version>${cryptolib.version}</version>
  37. </dependency>
  38. <dependency>
  39. <artifactId>cryptolib-stores</artifactId>
  40. <groupId>com.scytl.cryptolib</groupId>
  41. <version>${cryptolib.version}</version>
  42. </dependency>
  43. <dependency>
  44. <artifactId>cryptolib-api-stores</artifactId>
  45. <groupId>com.scytl.cryptolib</groupId>
  46. <version>${cryptolib.version}</version>
  47. </dependency>
  48. <dependency>
  49. <artifactId>cryptolib-primitives</artifactId>
  50. <groupId>com.scytl.cryptolib</groupId>
  51. <version>${cryptolib.version}</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.slf4j</groupId>
  55. <artifactId>slf4j-api</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.bouncycastle</groupId>
  59. <artifactId>bcprov-jdk15on</artifactId>
  60. <scope>test</scope>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.scytl.products.ov.channel.commons</groupId>
  64. <artifactId>ov-commons-beans</artifactId>
  65. <version>${project.version}</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.scytl.products.ov.channel.commons</groupId>
  69. <artifactId>libs-config</artifactId>
  70. <version>${project.version}</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.scytl.products.ov.channel.commons</groupId>
  74. <artifactId>ov-commons-infrastructure</artifactId>
  75. <version>${project.version}</version>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <plugins>
  80. <!-- Generates a jar with the junits that can be reused in other modules -->
  81. <plugin>
  82. <groupId>org.apache.maven.plugins</groupId>
  83. <artifactId>maven-jar-plugin</artifactId>
  84. <version>2.6</version>
  85. <executions>
  86. <execution>
  87. <goals>
  88. <goal>test-jar</goal>
  89. </goals>
  90. </execution>
  91. </executions>
  92. </plugin>
  93. </plugins>
  94. </build>
  95. </project>