pom.xml 5.8 KB

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