2
0

pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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-secure-data-manager-backend</artifactId>
  5. <groupId>com.scytl.products.ov.sdm</groupId>
  6. <version>2.1.6</version>
  7. </parent>
  8. <modelVersion>4.0.0</modelVersion>
  9. <artifactId>sdm-db-utils</artifactId>
  10. <name>Secure Data Manager - Backend - Database Utilities</name>
  11. <dependencies>
  12. <!-- other dependencies -->
  13. <dependency>
  14. <groupId>com.scytl.products.ov.sdm.services</groupId>
  15. <artifactId>secure-data-manager-services</artifactId>
  16. <version>${project.version}</version>
  17. <exclusions>
  18. <exclusion>
  19. <groupId>org.codehaus.groovy</groupId>
  20. <artifactId>groovy</artifactId>
  21. </exclusion>
  22. <exclusion>
  23. <artifactId>commons-collections</artifactId>
  24. <groupId>commons-collections</groupId>
  25. </exclusion>
  26. </exclusions>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.glassfish.hk2</groupId>
  30. <artifactId>hk2-utils</artifactId>
  31. <version>2.4.0-b10</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>javax.mail</groupId>
  35. <artifactId>mail</artifactId>
  36. <version>1.5.0-b01</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.scytl.math</groupId>
  40. <artifactId>scytl-math</artifactId>
  41. <scope>runtime</scope>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <plugins>
  46. <plugin>
  47. <groupId>org.codehaus.mojo</groupId>
  48. <artifactId>appassembler-maven-plugin</artifactId>
  49. <executions>
  50. <execution>
  51. <id>assemble-standalone</id>
  52. <phase>package</phase>
  53. <goals>
  54. <goal>assemble</goal>
  55. </goals>
  56. <configuration>
  57. <programs>
  58. <program>
  59. <name>createDBTool</name>
  60. <mainClass>com.scytl.products.ov.sdm.db.utils.Application</mainClass>
  61. </program>
  62. </programs>
  63. <repositoryLayout>flat</repositoryLayout>
  64. <repositoryName>lib</repositoryName>
  65. <configurationDirectory>properties</configurationDirectory>
  66. <binFileExtensions>
  67. <unix>.sh</unix>
  68. </binFileExtensions>
  69. <copyConfigurationDirectory>true</copyConfigurationDirectory>
  70. <configurationSourceDirectory>src/main/resources</configurationSourceDirectory>
  71. </configuration>
  72. </execution>
  73. </executions>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.apache.maven.plugins</groupId>
  77. <artifactId>maven-assembly-plugin</artifactId>
  78. <configuration>
  79. <descriptors>
  80. <descriptor>src/main/resources/distribution.xml</descriptor>
  81. </descriptors>
  82. <appendAssemblyId>false</appendAssemblyId>
  83. <finalName>${project.artifactId}-${project.version}</finalName>
  84. </configuration>
  85. <executions>
  86. <execution>
  87. <id>create-archive</id>
  88. <!-- this is used for inheritance merges -->
  89. <phase>package</phase>
  90. <!-- bind to the packaging phase -->
  91. <goals>
  92. <goal>single</goal>
  93. </goals>
  94. </execution>
  95. </executions>
  96. </plugin>
  97. </plugins>
  98. </build>
  99. </project>