<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
</dependency>
<!--單元測試 junit-->
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.8.2</version>
<scope>test</scope>
</dependency>
<!--數(shù)據(jù)庫驅(qū)動-->
<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.28</version>
</dependency>
<!--數(shù)據(jù)庫連接池-->
<!-- https://mvnrepository.com/artifact/com.mchange/c3p0 -->
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.5.5</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.mybatis/mybatis -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.5.9</version>
</dependency>
<!--Servlet - jsp-->
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.servlet.jsp/javax.servlet.jsp-api -->
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>javax.servlet.jsp-api</artifactId>
<version>2.3.3</version>
</dependency>
<!-- 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>
<!-- https://mvnrepository.com/artifact/org.apache.taglibs/taglibs-standard-impl -->
<dependency>
<groupId>org.apache.taglibs</groupId>
<artifactId>taglibs-standard-impl</artifactId>
<version>1.2.5</version>
<scope>runtime</scope>
</dependency>
<!--Mybatis-->
<!-- https://mvnrepository.com/artifact/org.mybatis/mybatis -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.5.9</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.mybatis/mybatis-spring -->
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
<version>2.0.7</version>
</dependency>
<!--Spring-->
<!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.3.18</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-jdbc -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>5.3.18</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.9.8</version>
<scope>runtime</scope>
</dependency>
</dependencies>
常見依賴 maven
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
- 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來运吓,“玉大人,你說我怎么就攤上這事疯趟【猩冢” “怎么了?”我有些...
- 文/不壞的土叔 我叫張陵信峻,是天一觀的道長倦青。 經(jīng)常有香客問我,道長盹舞,這世上最難降的妖魔是什么产镐? 我笑而不...
- 正文 為了忘掉前任隘庄,我火速辦了婚禮,結(jié)果婚禮上癣亚,老公的妹妹穿的比我還像新娘丑掺。我一直安慰自己,他們只是感情好述雾,可當(dāng)我...
- 文/花漫 我一把揭開白布街州。 她就那樣靜靜地躺著,像睡著了一般玻孟。 火紅的嫁衣襯著肌膚如雪唆缴。 梳的紋絲不亂的頭發(fā)上,一...
- 文/蒼蘭香墨 我猛地睜開眼织阳,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了砰粹?” 一聲冷哼從身側(cè)響起唧躲,我...
- 正文 年R本政府宣布衷佃,位于F島的核電站趟卸,受9級特大地震影響,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜锄列,卻給世界環(huán)境...
- 文/蒙蒙 一图云、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧邻邮,春花似錦竣况、人聲如沸。這莊子的主人今日做“春日...
- 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至萝风,卻和暖如春嘀掸,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背规惰。 一陣腳步聲響...
推薦閱讀更多精彩內(nèi)容
- 依賴范圍(scope)不同選項的區(qū)別 依賴范圍參數(shù)的作用是控制依賴在不同階段與classpath的關(guān)系,具體區(qū)別如...
- 最近換了新電腦,將之前可以正常運行的spring boot社區(qū)項目遷移到新電腦上時刹前,在IDEA中使用maven管理...
- ● compile:編譯依賴喇喉,默認的依賴方式祖今,在編譯(編譯項目和編譯測試用例),運行測試用例拣技,運行(項目實際運行...
- 1.Maven中依賴概述 Maven 中的依賴關(guān)系是有傳遞性的千诬。例如:項目B依賴項目C(B —> C),如果有一個...
- 前言 Maven雖然已經(jīng)誕生多年膏斤,但仍然是當(dāng)前最流行的Java系項目管理工具之一徐绑。在使用Maven的過程中,比較常...