2
0

pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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.channel.cc</groupId>
  6. <artifactId>choice-codes-generation</artifactId>
  7. <version>2.1.7</version>
  8. </parent>
  9. <artifactId>ov-choice-codes-generation-assembly</artifactId>
  10. <packaging>pom</packaging>
  11. <name>Online Voting - Choice Codes Generation - Assembly</name>
  12. <description>OV Choice Codes Generation Assembly</description>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.scytl.products.ov.channel.cc</groupId>
  16. <artifactId>choice-codes-generation-service</artifactId>
  17. <type>jar</type>
  18. <version>${project.version}</version>
  19. </dependency>
  20. </dependencies>
  21. <build>
  22. <plugins>
  23. <plugin>
  24. <groupId>org.apache.maven.plugins</groupId>
  25. <artifactId>maven-dependency-plugin</artifactId>
  26. <executions>
  27. <execution>
  28. <id>copy</id>
  29. <phase>prepare-package</phase>
  30. <goals>
  31. <goal>copy</goal>
  32. </goals>
  33. <configuration>
  34. <artifactItems>
  35. <artifactItem>
  36. <groupId>com.scytl.math</groupId>
  37. <artifactId>scytl-math</artifactId>
  38. <version>${scytl-math.version}</version>
  39. </artifactItem>
  40. </artifactItems>
  41. <outputDirectory>${project.build.directory}/lib</outputDirectory>
  42. </configuration>
  43. </execution>
  44. <execution>
  45. <id>unpack</id>
  46. <phase>prepare-package</phase>
  47. <goals>
  48. <goal>unpack</goal>
  49. </goals>
  50. <configuration>
  51. <artifactItems>
  52. <artifactItem>
  53. <groupId>com.scytl.math</groupId>
  54. <artifactId>scytl-math-native</artifactId>
  55. <version>${scytl-math.version}</version>
  56. <classifier>amd64-Linux-gpp-jni</classifier>
  57. <type>nar</type>
  58. </artifactItem>
  59. <artifactItem>
  60. <groupId>com.scytl.math</groupId>
  61. <artifactId>scytl-math-native</artifactId>
  62. <version>${scytl-math.version}</version>
  63. <classifier>amd64-Windows-gpp-jni</classifier>
  64. <type>nar</type>
  65. </artifactItem>
  66. <artifactItem>
  67. <groupId>com.scytl.gmp</groupId>
  68. <artifactId>scytl-gmp</artifactId>
  69. <version>${scytl-gmp.version}</version>
  70. <classifier>amd64-Linux-gpp-shared</classifier>
  71. <type>nar</type>
  72. </artifactItem>
  73. <artifactItem>
  74. <groupId>com.scytl.gmp</groupId>
  75. <artifactId>scytl-gmp</artifactId>
  76. <version>${scytl-gmp.version}</version>
  77. <classifier>amd64-Windows-gpp-shared</classifier>
  78. <type>nar</type>
  79. </artifactItem>
  80. </artifactItems>
  81. <outputDirectory>${project.build.directory}</outputDirectory>
  82. </configuration>
  83. </execution>
  84. </executions>
  85. </plugin>
  86. <plugin>
  87. <artifactId>maven-assembly-plugin</artifactId>
  88. <configuration>
  89. <descriptors>
  90. <descriptor>package.xml</descriptor>
  91. </descriptors>
  92. <appendAssemblyId>false</appendAssemblyId>
  93. <finalName>ov-choice-codes-generation-assembly-${project.version}</finalName>
  94. </configuration>
  95. <executions>
  96. <execution>
  97. <id>create-archive</id>
  98. <phase>package</phase>
  99. <goals>
  100. <goal>single</goal>
  101. </goals>
  102. </execution>
  103. </executions>
  104. </plugin>
  105. </plugins>
  106. </build>
  107. </project>