- <!-- 只定义依赖的版本, 并不实际依赖 -->
- <dependencyManagement>
- <dependencies>
- <!-- 时间操作组件 -->
- <dependency>
- <groupId>
- joda-time
- </groupId>
- <artifactId>
- joda-time
- </artifactId>
- <version>
- ${joda-time.version}
- </version>
- </dependency>
- <!-- Apache 工具组件 -->
- <dependency>
- <groupId>
- org.apache.commons
- </groupId>
- <artifactId>
- commons-lang3
- </artifactId>
- <version>
- ${commons-lang3.version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.apache.commons
- </groupId>
- <artifactId>
- commons-io
- </artifactId>
- <version>
- ${commons-io.version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- commons.NET
- </groupId>
- <artifactId>
- commons.NET
- </artifactId>
- <version>
- ${commons.NET.version}
- </version>
- </dependency>
- <!-- Jackson Json 处理工具包 -->
- <dependency>
- <groupId>
- com.fasterxml.jackson.core
- </groupId>
- <artifactId>
- jackson-databind
- </artifactId>
- <version>
- ${jackson.version}
- </version>
- </dependency>
- <!-- httpclient -->
- <dependency>
- <groupId>
- org.apache.httpcomponents
- </groupId>
- <artifactId>
- httpclient
- </artifactId>
- <version>
- ${httpclient.version}
- </version>
- </dependency>
- <!-- 单元测试 -->
- <dependency>
- <groupId>
- junit
- </groupId>
- <artifactId>
- junit
- </artifactId>
- <version>
- ${junit.version}
- </version>
- <scope>
- test
- </scope>
- </dependency>
- <!-- 日志处理 -->
- <dependency>
- <groupId>
- org.slf4j
- </groupId>
- <artifactId>
- slf4j-log4j12
- </artifactId>
- <version>
- ${slf4j.version}
- </version>
- </dependency>
- <!-- Mybatis -->
- <dependency>
- <groupId>
- org.mybatis
- </groupId>
- <artifactId>
- mybatis
- </artifactId>
- <version>
- ${mybatis.version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.mybatis
- </groupId>
- <artifactId>
- mybatis-spring
- </artifactId>
- <version>
- ${mybatis.spring.version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- com.GitHub.miemiedev
- </groupId>
- <artifactId>
- mybatis-paginator
- </artifactId>
- <version>
- ${mybatis.paginator.version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- com.GitHub.pagehelper
- </groupId>
- <artifactId>
- pagehelper
- </artifactId>
- <version>
- ${pagehelper.version}
- </version>
- </dependency>
- <!-- MySql -->
- <dependency>
- <groupId>
- MySQL
- </groupId>
- <artifactId>
- MySQL-connector-java
- </artifactId>
- <version>
- ${MySQL.version}
- </version>
- </dependency>
- <!-- 连接池 -->
- <dependency>
- <groupId>
- com.alibaba
- </groupId>
- <artifactId>
- druid
- </artifactId>
- <version>
- ${druid.version}
- </version>
- </dependency>
- <!-- Spring -->
- <dependency>
- <groupId>
- org.springframework
- </groupId>
- <artifactId>
- spring-context
- </artifactId>
- <version>
- ${spring.version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.springframework
- </groupId>
- <artifactId>
- spring-beans
- </artifactId>
- <version>
- ${spring.version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.springframework
- </groupId>
- <artifactId>
- spring-webmvc
- </artifactId>
- <version>
- ${spring.version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.springframework
- </groupId>
- <artifactId>
- spring-jdbc
- </artifactId>
- <version>
- ${spring.version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- org.springframework
- </groupId>
- <artifactId>
- spring-aspects
- </artifactId>
- <version>
- ${spring.version}
- </version>
- </dependency>
- <!-- JSP 相关 -->
- <dependency>
- <groupId>
- jstl
- </groupId>
- <artifactId>
- jstl
- </artifactId>
- <version>
- ${jstl.version}
- </version>
- </dependency>
- <dependency>
- <groupId>
- javax.servlet
- </groupId>
- <artifactId>
- servlet-API
- </artifactId>
- <version>
- ${servlet-API.version}
- </version>
- <scope>
- provided
- </scope>
- </dependency>
- <dependency>
- <groupId>
- javax.servlet
- </groupId>
- <artifactId>
- jsp-API
- </artifactId>
- <version>
- ${jsp-API.version}
- </version>
- <scope>
- provided
- </scope>
- </dependency>
- <!-- 文件上传组件 -->
- <dependency>
- <groupId>
- commons-fileupload
- </groupId>
- <artifactId>
- commons-fileupload
- </artifactId>
- <version>
- ${commons-fileupload.version}
- </version>
- </dependency>
- <!-- Redis 客户端 -->
- <dependency>
- <groupId>
- Redis.clients
- </groupId>
- <artifactId>
- jedis
- </artifactId>
- <version>
- ${jedis.version}
- </version>
- </dependency>
- <!-- solr 客户端 -->
- <dependency>
- <groupId>
- org.apache.Solr
- </groupId>
- <artifactId>
- Solr-solrj
- </artifactId>
- <version>
- ${solrj.version}
- </version>
- </dependency>
- </dependencies>
- </dependencyManagement>
来源: http://www.bubuko.com/infodetail-3030951.html