pom.xml 5.1 KB

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