|
8 | 8 | <version>2.5.2</version> |
9 | 9 | <relativePath /> |
10 | 10 | </parent> |
11 | | - <groupId>info.cadecode</groupId> |
| 11 | + <groupId>top.cadecode</groupId> |
12 | 12 | <artifactId>simple-spring-boot</artifactId> |
13 | 13 | <version>0.0.1-SNAPSHOT</version> |
14 | 14 | <packaging>war</packaging> |
15 | 15 | <name>simple-spring-boot</name> |
16 | 16 | <description>Demo project for Spring Boot</description> |
17 | 17 | <properties> |
18 | 18 | <java.version>1.8</java.version> |
| 19 | + <springfox-swgger2.version>2.9.2</springfox-swgger2.version> |
| 20 | + <swgger-bootstrap-ui.version>1.9.6</swgger-bootstrap-ui.version> |
19 | 21 | </properties> |
20 | 22 |
|
21 | 23 | <repositories> |
|
37 | 39 | <groupId>org.springframework.boot</groupId> |
38 | 40 | <artifactId>spring-boot-starter-web</artifactId> |
39 | 41 | </dependency> |
40 | | - <!--<dependency>--> |
41 | | - <!-- <groupId>org.mybatis.spring.boot</groupId>--> |
42 | | - <!-- <artifactId>mybatis-spring-boot-starter</artifactId>--> |
43 | | - <!-- <version>2.2.0</version>--> |
44 | | - <!--</dependency>--> |
| 42 | + <dependency> |
| 43 | + <groupId>org.springframework.boot</groupId> |
| 44 | + <artifactId>spring-boot-configuration-processor</artifactId> |
| 45 | + <optional>true</optional> |
| 46 | + </dependency> |
| 47 | + <dependency> |
| 48 | + <groupId>org.springframework.boot</groupId> |
| 49 | + <artifactId>spring-boot-starter-tomcat</artifactId> |
| 50 | + <scope>provided</scope> |
| 51 | + </dependency> |
| 52 | + <dependency> |
| 53 | + <groupId>org.springframework.boot</groupId> |
| 54 | + <artifactId>spring-boot-starter-test</artifactId> |
| 55 | + <scope>test</scope> |
| 56 | + </dependency> |
45 | 57 | <dependency> |
46 | 58 | <groupId>org.springframework.boot</groupId> |
47 | 59 | <artifactId>spring-boot-devtools</artifactId> |
48 | 60 | <scope>runtime</scope> |
49 | 61 | <optional>true</optional> |
50 | 62 | </dependency> |
| 63 | + <!--mybatis--> |
| 64 | + <!--<dependency>--> |
| 65 | + <!-- <groupId>org.mybatis.spring.boot</groupId>--> |
| 66 | + <!-- <artifactId>mybatis-spring-boot-starter</artifactId>--> |
| 67 | + <!-- <version>2.2.0</version>--> |
| 68 | + <!--</dependency>--> |
| 69 | + <!--mysql 驱动--> |
51 | 70 | <dependency> |
52 | 71 | <groupId>mysql</groupId> |
53 | 72 | <artifactId>mysql-connector-java</artifactId> |
54 | 73 | <scope>runtime</scope> |
55 | 74 | </dependency> |
56 | | - <dependency> |
57 | | - <groupId>org.springframework.boot</groupId> |
58 | | - <artifactId>spring-boot-configuration-processor</artifactId> |
59 | | - <optional>true</optional> |
60 | | - </dependency> |
| 75 | + <!--lombok--> |
61 | 76 | <dependency> |
62 | 77 | <groupId>org.projectlombok</groupId> |
63 | 78 | <artifactId>lombok</artifactId> |
64 | 79 | <optional>true</optional> |
65 | 80 | </dependency> |
| 81 | + <!--swagger--> |
66 | 82 | <dependency> |
67 | | - <groupId>org.springframework.boot</groupId> |
68 | | - <artifactId>spring-boot-starter-tomcat</artifactId> |
69 | | - <scope>provided</scope> |
| 83 | + <groupId>io.springfox</groupId> |
| 84 | + <artifactId>springfox-swagger2</artifactId> |
| 85 | + <version>${springfox-swgger2.version}</version> |
70 | 86 | </dependency> |
71 | 87 | <dependency> |
72 | | - <groupId>org.springframework.boot</groupId> |
73 | | - <artifactId>spring-boot-starter-test</artifactId> |
74 | | - <scope>test</scope> |
| 88 | + <groupId>com.github.xiaoymin</groupId> |
| 89 | + <artifactId>swagger-bootstrap-ui</artifactId> |
| 90 | + <version>${swgger-bootstrap-ui.version}</version> |
75 | 91 | </dependency> |
76 | 92 | </dependencies> |
77 | 93 |
|
|
0 commit comments