码迷,mamicode.com
首页 > 其他好文 > 详细

Maven 问题集

时间:2017-11-08 20:09:59      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:题集   cti   tar   logs   logging   obj   enc   util   lan   

1.引入 net.sf.json.JSONObject 类配置POM,JSONObject需要依赖如下依赖包:

json-lib,commons-beanutils,commons-collections,commons-lang,commons-logging,ezmorph

1 <properties>
2     <!--JSONObject-->
3     <json-lib.version>2.4</json-lib.version>
4     <commons-lang.version>2.5</commons-lang.version>
5     <commons-collections.version>3.2.1</commons-collections.version>
6     <commons-beanutils.version>1.8.0</commons-beanutils.version>
7     <commons-logging.version>1.1.1</commons-logging.version>
8     <ezmorph.version>1.0.6</ezmorph.version>
9 </properties>
 1 <!--JSONObject-->
 2 <dependency>
 3     <groupId>net.sf.json-lib</groupId>
 4     <artifactId>json-lib</artifactId>
 5     <version>${json-lib.version}</version>
 6     <classifier>jdk15</classifier>
 7 </dependency>
 8 
 9 <dependency>
10     <groupId>commons-beanutils</groupId>
11     <artifactId>commons-beanutils</artifactId>
12     <version>${commons-beanutils.version}</version>
13 </dependency>
14 
15 <dependency>
16     <groupId>commons-logging</groupId>
17     <artifactId>commons-logging</artifactId>
18     <version>${commons-logging.version}</version>
19 </dependency>
20 <dependency>
21     <groupId>net.sf.ezmorph</groupId>
22     <artifactId>ezmorph</artifactId>
23     <version>${ezmorph.version}</version>
24 </dependency>
25 <!-- apache-common -->
26 <dependency>
27     <groupId>commons-lang</groupId>
28     <artifactId>commons-lang</artifactId>
29     <version>${commons-lang.version}</version>
30 </dependency>
31 <dependency>
32     <groupId>commons-collections</groupId>
33     <artifactId>commons-collections</artifactId>
34     <version>${commons-collections.version}</version>
35 </dependency>

 参考资料:http://mvnrepository.com/artifact/net.sf.json-lib/json-lib/2.4

 

 

 

 

持续更新中,谢谢关注!

 

Maven 问题集

标签:题集   cti   tar   logs   logging   obj   enc   util   lan   

原文地址:http://www.cnblogs.com/zengming/p/7805255.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!