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

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

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