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

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

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