精品推薦:Spring Boot 開發利器

>Demo project for Spring Boot>

<parent>

<groupId>org.springframework.bootgroupId>

<artifactId>spring-boot-starter-parentartifactId>

<version>2.0.3.RELEASEversion>

<relativePath/>

parent>

<properties>

<project.build.sourceEncoding>UTF-8project.build.sourceEncoding>

<project.reporting.outputEncoding>UTF-8project.reporting.outputEncoding>

<java.version>1.8java.version>

properties>

<dependencies>

<dependency>

<groupId>org.springframework.bootgroupId>

<artifactId>spring-boot-starter-cacheartifactId>

dependency>

<dependency>

<groupId>org.springframework.bootgroupId>

<artifactId>spring-boot-starter-thymeleafartifactId>

dependency>

<dependency>

<groupId>org.springframework.bootgroupId>

<artifactId>spring-boot-starter-webartifactId>

dependency>

<dependency>

<groupId>org.mybatis.spring.bootgroupId>

<artifactId>mybatis-spring-boot-starterartifactId>

<version>1.3.2version>

dependency>

<dependency>

<groupId>org.codehaus.groovygroupId>

<artifactId>groovyartifactId>

dependency>

<dependency>

<groupId>org.springframework.bootgroupId>

<artifactId>spring-boot-devtoolsartifactId>

<scope>runtimescope>

dependency>

<dependency>

<groupId>mysqlgroupId>

<artifactId>mysql-connector-javaartifactId>

<scope>runtimescope>

dependency>

<dependency>

<groupId>org.springframework.bootgroupId>

<artifactId>spring-boot-starter-testartifactId>

<scope>testscope>

dependency>

dependencies>

<build>

<plugins>

<plugin>

<groupId>org.springframework.bootgroupId>

<artifactId>spring-boot-maven-pluginartifactId>

plugin>

<plugin>

<groupId>org.codehaus.gmavenplusgroupId>

<artifactId>gmavenplus-pluginartifactId>

<version>1.5version>

<executions>

<execution>

<goals>

<goal>addSourcesgoal>

<goal>addTestSourcesgoal>

<goal>generateStubsgoal>

<goal>compilegoal>

<goal>testGenerateStubsgoal>

<goal>testCompilegoal>

<goal>removeStubsgoal>

<goal>removeTestStubsgoal>

goals>

execution>

executions>

plugin>

plugins>

build>

project>

趕緊去試試吧


分享到:


相關文章: