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 4.9 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  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/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.jd.blockchain</groupId>
  7. <artifactId>contract</artifactId>
  8. <version>1.1.0-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>contract-maven-plugin</artifactId>
  11. <packaging>maven-plugin</packaging>
  12. <properties>
  13. <maven.version>3.3.9</maven.version>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>com.jd.blockchain</groupId>
  18. <artifactId>ledger-model</artifactId>
  19. <version>${project.version}</version>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.jd.blockchain</groupId>
  23. <artifactId>utils-common</artifactId>
  24. <version>${project.version}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.jd.blockchain</groupId>
  28. <artifactId>sdk-client</artifactId>
  29. <version>${project.version}</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.jd.blockchain</groupId>
  33. <artifactId>tools-keygen</artifactId>
  34. <version>${project.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.github.javaparser</groupId>
  38. <artifactId>javaparser-core</artifactId>
  39. <version>${javaparser.version}</version>
  40. </dependency>
  41. <!-- new -->
  42. <dependency>
  43. <groupId>org.apache.maven</groupId>
  44. <artifactId>maven-plugin-api</artifactId>
  45. <version>3.3.9</version>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.maven</groupId>
  49. <artifactId>maven-core</artifactId>
  50. <version>3.3.9</version>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.apache.maven</groupId>
  54. <artifactId>maven-artifact</artifactId>
  55. <version>3.3.9</version>
  56. <scope>provided</scope>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.apache.maven</groupId>
  60. <artifactId>maven-compat</artifactId>
  61. <version>3.3.9</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>junit</groupId>
  65. <artifactId>junit</artifactId>
  66. <version>4.12</version>
  67. <scope>test</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.apache.maven.plugin-testing</groupId>
  71. <artifactId>maven-plugin-testing-harness</artifactId>
  72. <scope>test</scope>
  73. <version>3.3.0</version>
  74. </dependency>
  75. <!-- https://mvnrepository.com/artifact/org.apache.maven.plugin-tools/maven-plugin-annotations -->
  76. <dependency>
  77. <groupId>org.apache.maven.plugin-tools</groupId>
  78. <artifactId>maven-plugin-annotations</artifactId>
  79. <version>3.6.0</version>
  80. <scope>provided</scope>
  81. </dependency>
  82. </dependencies>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-plugin-plugin</artifactId>
  88. <version>3.5</version>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.apache.maven.plugins</groupId>
  92. <artifactId>maven-compiler-plugin</artifactId>
  93. <configuration>
  94. <source>1.8</source>
  95. <target>1.8</target>
  96. <encoding>UTF-8</encoding>
  97. <optimize>false</optimize>
  98. <debug>true</debug>
  99. <showDeprecation>false</showDeprecation>
  100. <showWarnings>false</showWarnings>
  101. </configuration>
  102. </plugin>
  103. <!--<plugin> -->
  104. <!--<artifactId>maven-assembly-plugin</artifactId> -->
  105. <!--<configuration> -->
  106. <!--<archive> -->
  107. <!--<manifest> -->
  108. <!--&lt;!&ndash;这里要替换成jar包main方法所在类 &ndash;&gt; -->
  109. <!--<mainClass>com.jd.blockchain.ContractDeployMojo</mainClass> -->
  110. <!--</manifest> -->
  111. <!--</archive> -->
  112. <!--<descriptorRefs> -->
  113. <!--<descriptojar-rRef>jar-with-dependencies</descriptojar-rRef> -->
  114. <!--</descriptorRefs> -->
  115. <!--</configuration> -->
  116. <!--<executions> -->
  117. <!--<execution> -->
  118. <!--<id>make-assembly</id> &lt;!&ndash; this is used for inheritance merges
  119. &ndash;&gt; -->
  120. <!--<phase>package</phase> &lt;!&ndash; 指定在打包节点执行jar包合并操作 &ndash;&gt; -->
  121. <!--<goals> -->
  122. <!--<goal>single</goal> -->
  123. <!--</goals> -->
  124. <!--</execution> -->
  125. <!--</executions> -->
  126. <!--</plugin> -->
  127. <plugin>
  128. <groupId>org.apache.maven.plugins</groupId>
  129. <artifactId>maven-surefire-plugin</artifactId>
  130. <configuration>
  131. <skipTests>true</skipTests>
  132. </configuration>
  133. </plugin>
  134. <plugin>
  135. <groupId>org.apache.maven.plugins</groupId>
  136. <artifactId>maven-surefire-plugin</artifactId>
  137. <configuration>
  138. <skipTests>true</skipTests>
  139. </configuration>
  140. </plugin>
  141. <!-- 配置Maven插件(mvn jetty:run可以运行项目) -->
  142. <!--<plugin> -->
  143. <!--<groupId>org.mortbay.jetty</groupId> -->
  144. <!--<artifactId>maven-jetty-plugin</artifactId> -->
  145. <!--<version>6.1.26</version> -->
  146. <!--<configuration> -->
  147. <!--<connectors> -->
  148. <!--<connector implementation="org.mortbay.jetty.nio.SelectChannelConnector"> -->
  149. <!--<port>8000</port> -->
  150. <!--</connector> -->
  151. <!--</connectors> -->
  152. <!--</configuration> -->
  153. <!--</plugin> -->
  154. </plugins>
  155. </build>
  156. </project>

一个面向企业应用场景的通用区块链框架系统,能够作为企业级基础设施,为业务创新提供高效、灵活和安全的解决方案