Skip to content

Commit 9d18d3e

Browse files
committed
m
1 parent c7e2a91 commit 9d18d3e

File tree

9 files changed

+10
-17
lines changed

9 files changed

+10
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Spring boot使用的各种示例,以最简单、最实用为标准
55

66

77
- [spring-boot-helloworld](https://github.com/ityouknow/spring-boot-starter/tree/master/spring-boot-helloworld):spring-boot的helloWorld版本
8-
- [spring-boot-helloworld-war](https://github.com/ityouknow/spring-boot-starter/tree/master/spring-boot-helloworld-war):spring-boot打包成war包示例
98
- [spring-boot-mybaits-annotation](https://github.com/ityouknow/spring-boot-starter/tree/master/spring-boot-mybatis-annotation):注解版本
109
- [spring-boot-mybaits-xml](https://github.com/ityouknow/spring-boot-starter/tree/master/spring-boot-mybatis-xml):xml配置版本
1110
- [spring-boot-mybatis-mulidatasource](https://github.com/ityouknow/spring-boot-starter/tree/master/spring-boot-mybatis-mulidatasource):springboot+mybatis多数据源最简解决方案
@@ -16,6 +15,7 @@ Spring boot使用的各种示例,以最简单、最实用为标准
1615
- [spring-boot-mail](https://github.com/ityouknow/spring-boot-starter/tree/master/spring-boot-mail):spring boot和邮件服务
1716
- [spring-boot-mongodb](https://github.com/ityouknow/spring-boot-starter/tree/master/spring-boot-mongodb):spring boot和mongodb的使用
1817
- [spring-boot-multi-mongodb](https://github.com/ityouknow/spring-boot-starter/tree/master/spring-boot-multi-mongodb):spring boot和mongodb多数据源的使用
18+
- [spring-boot-package-war](https://github.com/ityouknow/spring-boot-starter/tree/master/spring-boot-package-war):spring-boot打包成war包示例
1919
- [Favorites-web](https://github.com/cloudfavorites/favorites-web):云收藏(springboot实战开源软件)
2020

2121

spring-boot-helloworld-war/pom.xml renamed to spring-boot-package-war/pom.xml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<groupId>com.neo</groupId>
7-
<artifactId>spring-boot-helloworld-war</artifactId>
7+
<artifactId>spring-boot-package-war</artifactId>
88
<version>0.0.1-SNAPSHOT</version>
99
<packaging>war</packaging>
1010

11-
<name>spring-boot-helloworld-war</name>
11+
<name>spring-boot-package-war</name>
1212
<description>Demo project for Spring Boot package war</description>
1313

1414
<parent>
@@ -36,26 +36,19 @@
3636
</dependency>
3737

3838
<dependency>
39-
<groupId>org.springframework.boot</groupId>
40-
<artifactId>spring-boot-starter-web</artifactId>
41-
<exclusions>
42-
<exclusion>
43-
<groupId>org.springframework.boot</groupId>
44-
<artifactId>spring-boot-starter-tomcat</artifactId>
45-
</exclusion>
46-
</exclusions>
39+
<groupId>org.springframework.boot</groupId>
40+
<artifactId>spring-boot-starter-web</artifactId>
41+
</dependency>
42+
<dependency>
43+
<groupId>org.springframework.boot</groupId>
44+
<artifactId>spring-boot-starter-tomcat</artifactId>
45+
<scope>provided</scope>
4746
</dependency>
4847
<dependency>
4948
<groupId>org.springframework.boot</groupId>
5049
<artifactId>spring-boot-devtools</artifactId>
5150
<optional>true</optional>
5251
</dependency>
53-
<dependency>
54-
<groupId>org.apache.tomcat</groupId>
55-
<artifactId>tomcat-servlet-api</artifactId>
56-
<version>7.0.42</version>
57-
<scope>provided</scope>
58-
</dependency>
5952
</dependencies>
6053

6154
<build>

0 commit comments

Comments
 (0)