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.

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

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