开发者

Maven Repository仓库的具体使用

目录
  • Apache Commons DBCP
  • Apache Commons FileUpload
  • Apache Log4j
  • Apache Log4j Core
  • Apache Standard Taglib Implementation
  • C3P0
  • Dom4J
  • Java Servlet API
  • JavaServer Pages™ Standard Tag Library
  • jsTL
  • Junit
  • MyBATis
  • MyBatis Generator Core
  • MyBatis Spring
  • mysql Connector/J
  • PageHelper 5
  • Project Lombok
  • P6Spy
  • Spring ASPects
  • Spring JDBC
  • Spring TestContext Framework
  • Spring Web MVC

Maven Repository仓库的具体使用

不知道大家是不是这样,反正我访问官网的时候不是非常慢就是崩溃,所以我就将我用过的Maven依赖,放在这里备份一下。尽量是最新版的,当然,熟悉的话可以自己改版本号。

Maven Repository官网:https://mvnrepository.com/

Apache Commons DBCP

<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-dbcp2 -->
<dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-dbcp2</artifactId>
    <version>2.7.0</version>
</dependency>

Apache Commons FileUpload

Apache Commons FileUpload组件提供了一种简单而灵活的方法,可以将对多部分文件上传功能的js支持添加到Servlet和Web应用程序。

<!-- 提供了一种简单而灵活的方法,可以将对多部分文件上传功能的支持添加到Servlet和Web应用程序。 -->
<!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
<dependency>
    <groupId>commons-fileupload</groupId>
    <artifactId>commons-fileupload</artifactId>
    <version>1.4</version>
</dependency>

Apache Log4j

<!--https://mvnrepository.com/artifact/log4j/log4j-->
<dependency>
    <groupId>log4j</groupId>
    <artifactId>log4j</artifactId>
    <version>1.2.17</version>
</dependency>

Apache Log4j Core

<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core -->
<dependency>
    <groupId>org.apache.logging.log4j</groupId>
    <artifactId>log4j-core</artifactId>
    <version>2.13.0</version>
</dependency>

Apache Standard Taglib Implementation

JSP标准标记库(JSTL)的实现。

<!-- https://mvnrepository.com/artifa开发者_Go开发ct/org.apache.taglibs/taglibs-standard-impl -->
<dependency>
    <groupId>org.apache.taglibs</groupId>
    <artifactId>taglibs-standard-impl</artifactId>
    <version>1.2.5</version>
</dependency>

C3P0

JDBC连接池/语句缓存库

<!-- https://mvnrepository.com/artifact/com.mchange/c3p0 -->
<dependency>
    <groupId>com.mchange</groupId>
    <artifactId>c3p0</artifactId>
    <version>0.9.5.5</version>
</dependency>

Dom4J

dom4j:用于Java的灵活XML框架

<!-- https://mvnrepository.com/artifact/dom4j/dom4j -->
<dependency>
    <groupId>dom4j</groupId>
    <artifactId>dom4j</artifactId>
    <version>1.6.1</version>
</dependency>

Java Servlet API

<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
<dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>javax.servlet-api</artifactId>
    <version>4.0.1</version>
    <scope>provided</scope>
</dependency>

JavaServer Pages™ Standard Tag Library

JavaServer页面™标准标签库

<!-- https://mvnrepository.com/artifact/javax.servlet.jsp.jstl/jstl-api -->
<dependency>
    <groupId>javax.servlet.jsp.jstl</groupId>
    <artifactId>jstl-api</artifactId>
    <version>1.2</version>
</dependency>

JSTL

<!-- https://mvnrepository.com/artifact/javax.servlet/jstl -->
<dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>jstl</artifactId>
    <version>1.2</version>
</dependency>

Junit

JUnit是由Erich Gamma和Kent Beck创建的Java单元测试框架。

<!-- https://mvnrepository.com/artifact/junit/junit -->
<dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.13</version>
    <scope>test</scope>
</dependency>

MyBatis

<!-- https://mvnrepository.com/artifact/org.mybatis/mybatis -->
<dependency>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis</artifactId>
    <version>3.5.4</versilvLwCzon>
</dependency>

MyBatis Generator Core

MyBatis和iBatis的代码php发生器

<!-- https://mvnrepository.com/artifact/org.mybatis.generator/mybatis-generator-core -->
<dependency>
    <groupId>org.mybatis.generator</groupId>
    <artifactId>mybatis-generator-core</artifactId>
    <version>1.3.6</version>
</dependency>

MyBatis Spring

MyBatis整合Spring的适配包

<!-- https://mvnrepository.com/artifact/org.mybatis/mybatis-spring -->
<dependency>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis-spring</artifactId>
    <version>2.0.4</version>
</dependency>

MySQL Connector/J

用于MySQL的JDBC类型4驱动程序

<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
    <groupId>mysql</groupId>
    <artifactId>mysql-connector-java</artifactId>
    <version>8.0.19</version>
</dependency>

PageHelper 5

Mybatis分页插件

<!-- https://mvnrepository.com/artifact/com.github.pagehelper/pagehelper -->
<dependency>
    <groupId>com.github.pagehelper</groupId>
    <artifactId>pagehelper</artifactId>
    <version>5.1.11</version>
</dependency>

Project Lombok

让您的java更有趣:自动资源管理、自动生成getter、setter、equals、hashCode和toString,等等!

<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
&l编程客栈t;dependency>
    <groupId>org.projectlombok</groupId>
    <artifactId>lombok</artifactId>
    <version>1.18.12</verphpsion>
    <scope>provided</scope>
</dependency>

P6Spy

<!-- https://mvnrepository.com/artifact/p6spy/p6spy -->
<dependency>
    <groupId>p6spy</groupId>
    <artifactId>p6spy</artifactId>
    <version>3.8.7</version>
</dependency>

Spring Aspects

Spring面向切面编程

<!-- https://mvnrepository.com/artifact/org.springframework/spring-aspects -->
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-aspects</artifactId>
    <version>5.2.4.RELEASE</version>
</dependency>

Spring JDBC

<!-- https://mvnrepository.com/artifact/org.springframework/spring-jdbc -->
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-jdbc</artifactId>
    <version>5.2.4.RELEASE</version>
</dependency>

Spring TestContext Framework

<!-- https://mvnrepository.com/artifact/org.springframework/spring-test -->
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-test</artifactId>
    <version>5.2.4.RELEASE</version>
    <scope>test</scope>
</dependency>

Spring Web MVC

常用类:CharacterEncodingFilter

<!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-webmvc</artifactId>
    <version>5.2.5.RELEASE</version>
</dependency>

到此这篇关于Maven Repository仓库的具体使用的文章就介绍到这了,更多相关Maven Repository内容请搜索我们以前的文章或继续浏览下面的相关文章希望大家以后多多支持我们!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新开发

开发排行榜