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.9 kB

2 years ago
5 years ago
5 years ago
5 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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.6.5.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. <configuration>
  44. <includeSystemScope>true</includeSystemScope>
  45. </configuration>
  46. <!-- <executions> <execution> <goals> <goal>repackage</goal> </goals>
  47. </execution> </executions> -->
  48. </plugin>
  49. <plugin>
  50. <groupId>org.apache.maven.plugins</groupId>
  51. <artifactId>maven-assembly-plugin</artifactId>
  52. <executions>
  53. <execution>
  54. <id>make-assembly</id>
  55. <phase>package</phase>
  56. <goals>
  57. <goal>single</goal>
  58. </goals>
  59. <configuration>
  60. <finalName>jdchain-gateway</finalName>
  61. <descriptors>
  62. <descriptor>src/main/resources/assembly.xml</descriptor>
  63. </descriptors>
  64. </configuration>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <!-- 生成SHA-256校验文件 -->
  69. <plugin>
  70. <groupId>net.nicoulaj.maven.plugins</groupId>
  71. <artifactId>checksum-maven-plugin</artifactId>
  72. <version>1.8</version>
  73. <executions>
  74. <execution>
  75. <goals>
  76. <goal>artifacts</goal>
  77. </goals>
  78. </execution>
  79. </executions>
  80. <configuration>
  81. <algorithms>
  82. <algorithm>SHA-256</algorithm> <!--采用SHA-256算法,还支持其他算法-->
  83. </algorithms>
  84. <file>${project.basedir}/target/deployment-peer-${project.version}.zip</file><!--给zip文件进行加密-->
  85. <xmlSummary>true</xmlSummary><!--生成XML格式的md5文件-->
  86. <xmlSummaryFile>${project.basedir}/target/SHA-256.xml</xmlSummaryFile>
  87. </configuration>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>