pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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-shares</artifactId>
  9. <name>Secure Data Manager - Configuration Generator - Shares</name>
  10. <properties>
  11. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  12. </properties>
  13. <dependencies>
  14. <!-- config-generator dependencies-->
  15. <dependency>
  16. <groupId>com.scytl.products.ov.sdm</groupId>
  17. <artifactId>ov-secure-data-manager-libs-config</artifactId>
  18. <version>${project.version}</version>
  19. </dependency>
  20. <dependency>
  21. <artifactId>config-commons</artifactId>
  22. <groupId>com.scytl.products.ov</groupId>
  23. <version>${project.version}</version>
  24. </dependency>
  25. <!-- CryptoLib dependencies -->
  26. <dependency>
  27. <artifactId>cryptolib-elgamal</artifactId>
  28. <groupId>com.scytl.cryptolib</groupId>
  29. </dependency>
  30. <dependency>
  31. <artifactId>cryptolib-asymmetric</artifactId>
  32. <groupId>com.scytl.cryptolib</groupId>
  33. </dependency>
  34. <!-- other scytl dependencies -->
  35. <dependency>
  36. <artifactId>shares</artifactId>
  37. <groupId>com.scytl.shares</groupId>
  38. </dependency>
  39. <!-- other crypto dependencies -->
  40. <dependency>
  41. <groupId>iaik</groupId>
  42. <artifactId>iaikPkcs11Wrapper</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.bouncycastle</groupId>
  46. <artifactId>bcprov-jdk15on</artifactId>
  47. <scope>provided</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.bouncycastle</groupId>
  51. <artifactId>bcpkix-jdk15on</artifactId>
  52. </dependency>
  53. <!-- testing dependencies -->
  54. <dependency>
  55. <groupId>junit</groupId>
  56. <artifactId>junit</artifactId>
  57. <scope>test</scope>
  58. </dependency>
  59. <dependency>
  60. <groupId>com.scytl.math</groupId>
  61. <artifactId>scytl-math</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. </dependencies>
  65. <build>
  66. <resources>
  67. <resource>
  68. <directory>src/main/resources</directory>
  69. <filtering>true</filtering>
  70. <includes>
  71. <include>**/version.txt</include>
  72. </includes>
  73. </resource>
  74. <resource>
  75. <directory>src/main/resources</directory>
  76. <filtering>false</filtering>
  77. <excludes>
  78. <exclude>**/version.txt</exclude>
  79. </excludes>
  80. </resource>
  81. </resources>
  82. <plugins>
  83. <plugin>
  84. <groupId>org.apache.maven.plugins</groupId>
  85. <artifactId>maven-assembly-plugin</artifactId>
  86. <configuration>
  87. <attach>true</attach>
  88. <descriptors>
  89. <descriptor>src/main/resources/distribution.xml</descriptor>
  90. </descriptors>
  91. </configuration>
  92. <executions>
  93. <execution>
  94. <id>create-archive</id>
  95. <!-- this is used for inheritance merges -->
  96. <phase>verify</phase>
  97. <!-- bind to the packaging phase -->
  98. <goals>
  99. <goal>single</goal>
  100. </goals>
  101. </execution>
  102. </executions>
  103. </plugin>
  104. <plugin>
  105. <groupId>org.codehaus.mojo</groupId>
  106. <artifactId>appassembler-maven-plugin</artifactId>
  107. <executions>
  108. <execution>
  109. <id>assemble-standalone</id>
  110. <phase>package</phase>
  111. <goals>
  112. <goal>assemble</goal>
  113. </goals>
  114. <configuration>
  115. <programs>
  116. <program>
  117. <name>smartcardTool</name>
  118. <mainClass>com.scytl.products.ov.config.shares.tools.SmartcardTool</mainClass>
  119. </program>
  120. </programs>
  121. <repositoryLayout>flat</repositoryLayout>
  122. <repositoryName>lib</repositoryName>
  123. <binFileExtensions>
  124. <unix>.sh</unix>
  125. </binFileExtensions>
  126. <!--<configurationDirectory>properties</configurationDirectory>-->
  127. <!--<copyConfigurationDirectory>true</copyConfigurationDirectory>-->
  128. </configuration>
  129. </execution>
  130. </executions>
  131. </plugin>
  132. <plugin>
  133. <groupId>org.codehaus.mojo</groupId>
  134. <artifactId>build-helper-maven-plugin</artifactId>
  135. <executions>
  136. <execution>
  137. <id>attach-distribution</id>
  138. <phase>package</phase>
  139. <goals>
  140. <goal>attach-artifact</goal>
  141. </goals>
  142. <configuration>
  143. <artifacts>
  144. <artifact>
  145. <file>target/${project.artifactId}-${project.version}-distribution.zip</file>
  146. <type>zip</type>
  147. </artifact>
  148. </artifacts>
  149. </configuration>
  150. </execution>
  151. </executions>
  152. </plugin>
  153. </plugins>
  154. </build>
  155. </project>