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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  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>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.0.6.RELEASE</version>
  9. </parent>
  10. <!--<parent>-->
  11. <!--<groupId>org.sonatype.oss</groupId>-->
  12. <!--<artifactId>oss-parent</artifactId>-->
  13. <!--<version>7</version>-->
  14. <!--</parent>-->
  15. <groupId>com.jd.blockchain</groupId>
  16. <artifactId>jdchain-root</artifactId>
  17. <version>0.9.0-SNAPSHOT</version>
  18. <packaging>pom</packaging>
  19. <description>jdchain</description>
  20. <modules>
  21. <module>utils</module>
  22. <module>base</module>
  23. <module>binary-proto</module>
  24. <module>crypto</module>
  25. <module>runtime</module>
  26. <module>ledger</module>
  27. <module>contract</module>
  28. <module>consensus</module>
  29. <module>storage</module>
  30. <module>gateway</module>
  31. <module>peer</module>
  32. <module>sdk</module>
  33. <module>tools</module>
  34. <module>test</module>
  35. <module>deployment</module>
  36. </modules>
  37. <properties>
  38. <my.utils.version>0.8.1-SNAPSHOT</my.utils.version>
  39. <bft-smart.version>0.0.8.RELEASE</bft-smart.version>
  40. <browser.version>0.6.6.RELEASE</browser.version>
  41. <!-- <spring.framework.version>4.3.4.RELEASE</spring.framework.version> -->
  42. <!-- <spring.mongo.version>1.9.3.RELEASE</spring.mongo.version> <spring.dao.version>2.0.8</spring.dao.version>
  43. <spring.security.version>4.2.0.RELEASE</spring.security.version> -->
  44. <mongo.driver.version>3.3.0</mongo.driver.version>
  45. <shiro.version>1.2.2</shiro.version>
  46. <aspectj.version>1.8.8</aspectj.version>
  47. <!-- <asm.version>5.2</asm.version> -->
  48. <druid.version>1.0.18</druid.version>
  49. <commons.fileupload.version>1.2.2</commons.fileupload.version>
  50. <mybatis.spring.version>1.2.4</mybatis.spring.version>
  51. <mybatis.version>3.3.0</mybatis.version>
  52. <mysql.connector.version>5.1.37</mysql.connector.version>
  53. <servlet.version>3.1.0</servlet.version>
  54. <jstl.version>1.2</jstl.version>
  55. <log4j.version>2.10.0</log4j.version>
  56. <slf4j.version>1.7.25</slf4j.version>
  57. <junit.version>4.12</junit.version>
  58. <mockito.version>1.10.19</mockito.version>
  59. <httpclient.version>4.5.1</httpclient.version>
  60. <jetty.version>9.4.17.v20190418</jetty.version>
  61. <shiro.version>1.2.3</shiro.version>
  62. <disruptor.version>3.3.6</disruptor.version>
  63. <kryo.version>3.0.1</kryo.version>
  64. <jedis.version>2.9.0</jedis.version>
  65. <rocksdb.version>5.15.10</rocksdb.version>
  66. <zookeeper.version>3.4.6</zookeeper.version>
  67. <javaparser.version>3.5.12</javaparser.version>
  68. <ehcache.version>3.5.3</ehcache.version>
  69. <cache-api.version>1.1.0</cache-api.version>
  70. <commons-io.version>2.4</commons-io.version>
  71. <disruptor.version>3.4.2</disruptor.version>
  72. </properties>
  73. <dependencies>
  74. <dependency>
  75. <groupId>junit</groupId>
  76. <artifactId>junit</artifactId>
  77. <scope>test</scope>
  78. </dependency>
  79. <dependency>
  80. <groupId>org.mockito</groupId>
  81. <artifactId>mockito-core</artifactId>
  82. <scope>test</scope>
  83. </dependency>
  84. </dependencies>
  85. <dependencyManagement>
  86. <dependencies>
  87. <dependency>
  88. <groupId>org.springframework.boot</groupId>
  89. <artifactId>spring-boot-dependencies</artifactId>
  90. <version>2.0.6.RELEASE</version>
  91. <type>pom</type>
  92. <scope>import</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.jd.blockchain</groupId>
  96. <artifactId>bft-smart</artifactId>
  97. <version>${bft-smart.version}</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>com.jd.blockchain</groupId>
  101. <artifactId>browser</artifactId>
  102. <version>${browser.version}</version>
  103. </dependency>
  104. <!-- The test dependency -->
  105. <dependency>
  106. <groupId>junit</groupId>
  107. <artifactId>junit</artifactId>
  108. <version>${junit.version}</version>
  109. </dependency>
  110. <dependency>
  111. <groupId>org.mockito</groupId>
  112. <artifactId>mockito-core</artifactId>
  113. <version>${mockito.version}</version>
  114. <scope>test</scope>
  115. </dependency>
  116. <!-- The thirdpart dependency -->
  117. <dependency>
  118. <groupId>javax.servlet</groupId>
  119. <artifactId>javax.servlet-api</artifactId>
  120. <version>${servlet.version}</version>
  121. </dependency>
  122. <dependency>
  123. <groupId>javax.servlet</groupId>
  124. <artifactId>jstl</artifactId>
  125. <version>${jstl.version}</version>
  126. </dependency>
  127. <dependency>
  128. <groupId>com.lmax</groupId>
  129. <artifactId>disruptor</artifactId>
  130. <version>${disruptor.version}</version>
  131. </dependency>
  132. <dependency>
  133. <groupId>com.alibaba</groupId>
  134. <artifactId>fastjson</artifactId>
  135. <version>1.2.32</version>
  136. </dependency>
  137. <dependency>
  138. <groupId>com.github.javaparser</groupId>
  139. <artifactId>javaparser-core</artifactId>
  140. <version>${javaparser.version}</version>
  141. </dependency>
  142. <dependency>
  143. <groupId>org.slf4j</groupId>
  144. <artifactId>slf4j-api</artifactId>
  145. <version>${slf4j.version}</version>
  146. </dependency>
  147. <dependency>
  148. <groupId>org.slf4j</groupId>
  149. <artifactId>slf4j-log4j12</artifactId>
  150. <version>${slf4j.version}</version>
  151. </dependency>
  152. <dependency>
  153. <groupId>org.apache.logging.log4j</groupId>
  154. <artifactId>log4j-api</artifactId>
  155. <version>${log4j.version}</version>
  156. </dependency>
  157. <dependency>
  158. <groupId>org.apache.logging.log4j</groupId>
  159. <artifactId>log4j-core</artifactId>
  160. <version>${log4j.version}</version>
  161. </dependency>
  162. <dependency>
  163. <groupId>org.aspectj</groupId>
  164. <artifactId>aspectjrt</artifactId>
  165. <version>${aspectj.version}</version>
  166. </dependency>
  167. <dependency>
  168. <groupId>org.aspectj</groupId>
  169. <artifactId>aspectjweaver</artifactId>
  170. <version>${aspectj.version}</version>
  171. </dependency>
  172. <dependency>
  173. <groupId>org.aspectj</groupId>
  174. <artifactId>aspectjtools</artifactId>
  175. <version>${aspectj.version}</version>
  176. </dependency>
  177. <!-- <dependency> <groupId>asm</groupId> <artifactId>asm</artifactId>
  178. <version>${asm.version}</version> </dependency> -->
  179. <dependency>
  180. <groupId>org.apache.httpcomponents</groupId>
  181. <artifactId>httpclient</artifactId>
  182. <version>${httpclient.version}</version>
  183. </dependency>
  184. <dependency>
  185. <groupId>org.eclipse.jetty</groupId>
  186. <artifactId>jetty-server</artifactId>
  187. <version>${jetty.version}</version>
  188. </dependency>
  189. <dependency>
  190. <groupId>org.eclipse.jetty</groupId>
  191. <artifactId>jetty-io</artifactId>
  192. <version>${jetty.version}</version>
  193. </dependency>
  194. <dependency>
  195. <groupId>org.eclipse.jetty</groupId>
  196. <artifactId>jetty-http</artifactId>
  197. <version>${jetty.version}</version>
  198. </dependency>
  199. <dependency>
  200. <groupId>org.eclipse.jetty</groupId>
  201. <artifactId>jetty-util</artifactId>
  202. <version>${jetty.version}</version>
  203. </dependency>
  204. <dependency>
  205. <groupId>org.eclipse.jetty</groupId>
  206. <artifactId>jetty-webapp</artifactId>
  207. <version>${jetty.version}</version>
  208. </dependency>
  209. <dependency>
  210. <groupId>org.eclipse.jetty</groupId>
  211. <artifactId>jetty-xml</artifactId>
  212. <version>${jetty.version}</version>
  213. </dependency>
  214. <dependency>
  215. <groupId>org.eclipse.jetty</groupId>
  216. <artifactId>jetty-security</artifactId>
  217. <version>${jetty.version}</version>
  218. </dependency>
  219. <dependency>
  220. <groupId>org.eclipse.jetty</groupId>
  221. <artifactId>jetty-servlet</artifactId>
  222. <version>${jetty.version}</version>
  223. </dependency>
  224. <dependency>
  225. <groupId>redis.clients</groupId>
  226. <artifactId>jedis</artifactId>
  227. <version>${jedis.version}</version>
  228. </dependency>
  229. <dependency>
  230. <groupId>org.rocksdb</groupId>
  231. <artifactId>rocksdbjni</artifactId>
  232. <version>${rocksdb.version}</version>
  233. </dependency>
  234. <dependency>
  235. <groupId>io.grpc</groupId>
  236. <artifactId>grpc-netty</artifactId>
  237. <version>1.9.0</version>
  238. </dependency>
  239. <dependency>
  240. <groupId>io.grpc</groupId>
  241. <artifactId>grpc-protobuf</artifactId>
  242. <version>1.9.0</version>
  243. </dependency>
  244. <dependency>
  245. <groupId>io.grpc</groupId>
  246. <artifactId>grpc-stub</artifactId>
  247. <version>1.9.0</version>
  248. </dependency>
  249. <dependency>
  250. <groupId>org.bouncycastle</groupId>
  251. <artifactId>bcprov-jdk15on</artifactId>
  252. <version>1.61</version>
  253. </dependency>
  254. <dependency>
  255. <groupId>io.nats</groupId>
  256. <artifactId>jnats</artifactId>
  257. <version>2.2.0</version>
  258. <exclusions>
  259. <exclusion>
  260. <groupId>net.i2p.crypto</groupId>
  261. <artifactId>eddsa</artifactId>
  262. </exclusion>
  263. </exclusions>
  264. </dependency>
  265. <dependency>
  266. <groupId>org.apache.commons</groupId>
  267. <artifactId>commons-collections4</artifactId>
  268. <version>4.1</version>
  269. </dependency>
  270. <!-- jar包扫描 -->
  271. <dependency>
  272. <groupId>org.reflections</groupId>
  273. <artifactId>reflections</artifactId>
  274. <version>0.9.10</version>
  275. <exclusions>
  276. <exclusion>
  277. <groupId>com.google.guava</groupId>
  278. <artifactId>guava</artifactId>
  279. </exclusion>
  280. </exclusions>
  281. </dependency>
  282. <dependency>
  283. <groupId>com.google.guava</groupId>
  284. <artifactId>guava</artifactId>
  285. <version>19.0</version>
  286. </dependency>
  287. </dependencies>
  288. </dependencyManagement>
  289. <build>
  290. <plugins>
  291. <plugin>
  292. <groupId>org.apache.maven.plugins</groupId>
  293. <artifactId>maven-compiler-plugin</artifactId>
  294. <configuration>
  295. <source>1.8</source>
  296. <target>1.8</target>
  297. <encoding>UTF-8</encoding>
  298. <optimize>false</optimize>
  299. <debug>true</debug>
  300. <showDeprecation>false</showDeprecation>
  301. <showWarnings>false</showWarnings>
  302. </configuration>
  303. </plugin>
  304. </plugins>
  305. <pluginManagement>
  306. <plugins>
  307. <plugin>
  308. <groupId>org.apache.maven.plugins</groupId>
  309. <artifactId>maven-resources-plugin</artifactId>
  310. <configuration>
  311. <encoding>UTF-8</encoding>
  312. </configuration>
  313. </plugin>
  314. <plugin>
  315. <groupId>org.apache.maven.plugins</groupId>
  316. <artifactId>maven-dependency-plugin</artifactId>
  317. <version>${maven-dependency-plugin.version}</version>
  318. <executions>
  319. <execution>
  320. <id>copy-dependencies</id>
  321. <phase>package</phase>
  322. <goals>
  323. <goal>copy-dependencies</goal>
  324. </goals>
  325. <configuration>
  326. <!--${project.build.directory} class的输出目录不做设置的话默认代表项目根目录的target目录;
  327. 也可以使用“自定义文件夹/自定义文件夹 例如:a/b”,也可以使用绝对路径如:“D:\test” -->
  328. <outputDirectory>${project.build.directory}/libs</outputDirectory>
  329. <excludeTransitive>false</excludeTransitive>
  330. <stripVersion>false</stripVersion>
  331. <includeScope>runtime</includeScope>
  332. </configuration>
  333. </execution>
  334. </executions>
  335. </plugin>
  336. <plugin>
  337. <groupId>org.apache.maven.plugins</groupId>
  338. <artifactId>maven-jar-plugin</artifactId>
  339. <configuration>
  340. <archive>
  341. <manifest>
  342. <addClasspath>true</addClasspath>
  343. <classpathPrefix>lib</classpathPrefix>
  344. <useUniqueVersions>false</useUniqueVersions>
  345. <!-- <mainClass></mainClass> -->
  346. </manifest>
  347. </archive>
  348. </configuration>
  349. </plugin>
  350. <plugin>
  351. <groupId>org.apache.maven.plugins</groupId>
  352. <artifactId>maven-assembly-plugin</artifactId>
  353. <version>2.4.1</version>
  354. <executions>
  355. <execution>
  356. <id>make-assembly</id>
  357. <phase>package</phase>
  358. <goals>
  359. <goal>single</goal>
  360. </goals>
  361. </execution>
  362. </executions>
  363. </plugin>
  364. <plugin>
  365. <groupId>org.apache.maven.plugins</groupId>
  366. <artifactId>maven-war-plugin</artifactId>
  367. <version>2.6</version>
  368. <configuration>
  369. <useCache>false</useCache>
  370. </configuration>
  371. </plugin>
  372. <plugin>
  373. <groupId>org.apache.maven.plugins</groupId>
  374. <artifactId>maven-javadoc-plugin</artifactId>
  375. <version>2.10.4</version>
  376. <executions>
  377. <execution>
  378. <id>attach-javadocs</id>
  379. <phase>package</phase>
  380. <goals>
  381. <goal>jar</goal>
  382. </goals>
  383. <configuration>
  384. <additionalparam>${javadoc.opts}</additionalparam>
  385. </configuration>
  386. </execution>
  387. </executions>
  388. </plugin>
  389. <!--&lt;!&ndash; 生成sources源码包的插件 &ndash;&gt;-->
  390. <!--<plugin>-->
  391. <!--<artifactId>maven-source-plugin</artifactId>-->
  392. <!--<version>2.4</version>-->
  393. <!--<configuration>-->
  394. <!--<attach>true</attach>-->
  395. <!--</configuration>-->
  396. <!--<executions>-->
  397. <!--<execution>-->
  398. <!--<phase>package</phase>-->
  399. <!--<goals>-->
  400. <!--<goal>jar-no-fork</goal>-->
  401. <!--</goals>-->
  402. <!--</execution>-->
  403. <!--</executions>-->
  404. <!--</plugin>-->
  405. </plugins>
  406. </pluginManagement>
  407. <extensions>
  408. <extension>
  409. <groupId>kr.motd.maven</groupId>
  410. <artifactId>os-maven-plugin</artifactId>
  411. <version>1.4.1.Final</version>
  412. </extension>
  413. </extensions>
  414. </build>
  415. <licenses>
  416. <license>
  417. <name>The Apache Software License, Version 2.0</name>
  418. <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
  419. <distribution>repo</distribution>
  420. </license>
  421. </licenses>
  422. <scm>
  423. <url>https://github.com/blockchain-jd-com/jdchain.git</url>
  424. <connection>https://github.com/blockchain-jd-com/jdchain.git</connection>
  425. <developerConnection>https://github.com/blockchain-jd-com/jdchain.git</developerConnection>
  426. </scm>
  427. <developers>
  428. <developer>
  429. <name>jdchain</name>
  430. <email>git-jdchain@jd.com</email>
  431. <url>https://github.com/blockchain-jd-com/jdchain.git</url>
  432. </developer>
  433. </developers>
  434. <profiles>
  435. <profile>
  436. <id>disable-javadoc-doclint</id>
  437. <activation>
  438. <jdk>[1.8,)</jdk>
  439. </activation>
  440. <properties>
  441. <javadoc.opts>-Xdoclint:none</javadoc.opts>
  442. </properties>
  443. </profile>
  444. </profiles>
  445. </project>

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