SpringBoot依赖

 1 <parent>
 2 <groupId>org.springframework.boot</groupId>
 3 <artifactId>spring-boot-starter-parent</artifactId>
 4 <version>2.0.2.RELEASE</version>
 5 </parent>
 6 <dependencies>
7 <dependency> 8 <groupId>org.springframework.boot</groupId> 9 <artifactId>spring-boot-starter-web</artifactId> 10 </dependency> 11
<!-- springBoot JPA的起步依赖 --> 12 <dependency> 13 <groupId>org.springframework.boot</groupId> 14 <artifactId>spring-boot-starter-data-jpa</artifactId> 15 </dependency> 16
17 <dependency> 18 <groupId>mysql</groupId> 19 <artifactId>mysql-connector-java</artifactId> 20 </dependency>
<!--freemarker-->
21 <dependency> 22 <groupId>org.springframework.boot</groupId> 23 <artifactId>spring-boot-starter-freemarker</artifactId> 24 </dependency> 25 26 <dependency> 27 <groupId>org.mybatis.spring.boot</groupId> 28 <artifactId>mybatis-spring-boot-starter</artifactId> 29 <version>1.1.1</version> 30 </dependency> 31 32 <dependency> 33 <groupId>org.springframework.boot</groupId> 34 <artifactId>spring-boot-starter-test</artifactId> 35 <scope>test</scope> 36 </dependency> 37 38 <dependency> 39 <groupId>org.springframework.boot</groupId> 40 <artifactId>spring-boot-starter-data-redis</artifactId> 41 </dependency>
42 <dependency> 43 <groupId>org.springframework.boot</groupId> 44 <artifactId>spring-boot-starter-data-elasticsearch</artifactId> 45 </dependency> 46 </dependencies>

47 <build> 48 <resources> 49 <resource> 50 <directory>src/main/java</directory> 51 <includes> 52 <include>**/*.properties</include> 53 <include>**/*.xml</include> 54 </includes> 55 <filtering>false</filtering> 56 </resource> 57 <resource> 58 <directory>src/main/resources</directory> 59 <includes> 60 <include>**/*.*</include> 61 </includes> 62 <filtering>false</filtering> 63 </resource> 64 </resources> 65 <plugins> 66 <plugin> 67 <groupId>org.springframework.boot</groupId> 68 <artifactId>spring-boot-maven-plugin</artifactId> 69 </plugin> 70 </plugins> 71 </build>
原文地址:https://www.cnblogs.com/crazy-lc/p/11801198.html