You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 2.8 kB

5 years ago
5 years ago
5 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.jd.blockchain</groupId>
  7. <artifactId>deploy-root</artifactId>
  8. <version>1.5.0.RELEASE</version>
  9. </parent>
  10. <artifactId>deploy-gateway</artifactId>
  11. <dependencies>
  12. <dependency>
  13. <groupId>com.jd.blockchain</groupId>
  14. <artifactId>gateway</artifactId>
  15. <version>${core.version}</version>
  16. </dependency>
  17. <dependency>
  18. <groupId>com.jd.blockchain</groupId>
  19. <artifactId>consensus-bftsmart</artifactId>
  20. <version>${core.version}</version>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.jd.blockchain</groupId>
  24. <artifactId>consensus-mq</artifactId>
  25. <version>${core.version}</version>
  26. </dependency>
  27. <!-- <dependency>
  28. <groupId>com.jd.blockchain</groupId>
  29. <artifactId>crypto-classic</artifactId>
  30. <version>${project.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.jd.blockchain</groupId>
  34. <artifactId>crypto-sm</artifactId>
  35. <version>${project.version}</version>
  36. </dependency> -->
  37. </dependencies>
  38. <build>
  39. <plugins>
  40. <plugin>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-maven-plugin</artifactId>
  43. <!-- <executions> <execution> <goals> <goal>repackage</goal> </goals>
  44. </execution> </executions> -->
  45. </plugin>
  46. <plugin>
  47. <groupId>org.apache.maven.plugins</groupId>
  48. <artifactId>maven-assembly-plugin</artifactId>
  49. <executions>
  50. <execution>
  51. <id>make-assembly</id>
  52. <phase>package</phase>
  53. <goals>
  54. <goal>single</goal>
  55. </goals>
  56. <configuration>
  57. <finalName>jdchain-gateway</finalName>
  58. <descriptors>
  59. <descriptor>src/main/resources/assembly.xml</descriptor>
  60. </descriptors>
  61. </configuration>
  62. </execution>
  63. </executions>
  64. </plugin>
  65. <!-- 生成SHA-256校验文件 -->
  66. <plugin>
  67. <groupId>net.nicoulaj.maven.plugins</groupId>
  68. <artifactId>checksum-maven-plugin</artifactId>
  69. <version>1.8</version>
  70. <executions>
  71. <execution>
  72. <goals>
  73. <goal>artifacts</goal>
  74. </goals>
  75. </execution>
  76. </executions>
  77. <configuration>
  78. <algorithms>
  79. <algorithm>SHA-256</algorithm> <!--采用SHA-256算法,还支持其他算法-->
  80. </algorithms>
  81. <file>${project.basedir}/target/deployment-peer-${project.version}.zip</file><!--给zip文件进行加密-->
  82. <xmlSummary>true</xmlSummary><!--生成XML格式的md5文件-->
  83. <xmlSummaryFile>${project.basedir}/target/SHA-256.xml</xmlSummaryFile>
  84. </configuration>
  85. </plugin>
  86. </plugins>
  87. </build>
  88. </project>