You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/03/12 04:27:25 UTC
[dubbo-spring-boot-project] branch 2.7.x updated: Replace
tomcat8-maven-plugin with tomcat7-maven-plugin (#755)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 2.7.x
in repository https://gitbox.apache.org/repos/asf/dubbo-spring-boot-project.git
The following commit(s) were added to refs/heads/2.7.x by this push:
new 0957a5b Replace tomcat8-maven-plugin with tomcat7-maven-plugin (#755)
0957a5b is described below
commit 0957a5bcd49613784e23bf802ce393cf2a3badab
Author: Gong Dewei <ky...@qq.com>
AuthorDate: Fri Mar 12 12:27:14 2021 +0800
Replace tomcat8-maven-plugin with tomcat7-maven-plugin (#755)
---
.../servlet-container-samples/consumer-sample/pom.xml | 7 +++----
dubbo-spring-boot-samples/servlet-container-samples/pom.xml | 12 ------------
.../servlet-container-samples/provider-sample/pom.xml | 7 +++----
3 files changed, 6 insertions(+), 20 deletions(-)
diff --git a/dubbo-spring-boot-samples/servlet-container-samples/consumer-sample/pom.xml b/dubbo-spring-boot-samples/servlet-container-samples/consumer-sample/pom.xml
index 874a54a..289efcd 100644
--- a/dubbo-spring-boot-samples/servlet-container-samples/consumer-sample/pom.xml
+++ b/dubbo-spring-boot-samples/servlet-container-samples/consumer-sample/pom.xml
@@ -88,12 +88,11 @@
</configuration>
</plugin>
- <!-- Tomcat 8 Maven 插件用于构建可执行 war -->
- <!-- https://mvnrepository.com/artifact/org.apache.tomcat.maven/tomcat8-maven-plugin -->
+ <!-- Tomcat Maven 插件用于构建可执行 war -->
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat8-maven-plugin</artifactId>
- <version>3.0-r1655215</version>
+ <artifactId>tomcat7-maven-plugin</artifactId>
+ <version>2.2</version>
<executions>
<execution>
<id>tomcat-run</id>
diff --git a/dubbo-spring-boot-samples/servlet-container-samples/pom.xml b/dubbo-spring-boot-samples/servlet-container-samples/pom.xml
index aa61c70..fc940f7 100644
--- a/dubbo-spring-boot-samples/servlet-container-samples/pom.xml
+++ b/dubbo-spring-boot-samples/servlet-container-samples/pom.xml
@@ -36,18 +36,6 @@
<module>consumer-sample</module>
</modules>
- <pluginRepositories>
- <pluginRepository>
- <!-- tomcat8-maven-plugin 所在仓库 -->
- <id>Alfresco</id>
- <name>Alfresco Repository</name>
- <url>https://artifacts.alfresco.com/nexus/content/repositories/public/</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </pluginRepository>
- </pluginRepositories>
-
<profiles>
<!-- Spring Boot 1.5 - 1.3 -->
<profile>
diff --git a/dubbo-spring-boot-samples/servlet-container-samples/provider-sample/pom.xml b/dubbo-spring-boot-samples/servlet-container-samples/provider-sample/pom.xml
index 463804d..cede3e2 100644
--- a/dubbo-spring-boot-samples/servlet-container-samples/provider-sample/pom.xml
+++ b/dubbo-spring-boot-samples/servlet-container-samples/provider-sample/pom.xml
@@ -88,12 +88,11 @@
</configuration>
</plugin>
- <!-- Tomcat 8 Maven 插件用于构建可执行 war -->
- <!-- https://mvnrepository.com/artifact/org.apache.tomcat.maven/tomcat8-maven-plugin -->
+ <!-- Tomcat Maven 插件用于构建可执行 war -->
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
- <artifactId>tomcat8-maven-plugin</artifactId>
- <version>3.0-r1655215</version>
+ <artifactId>tomcat7-maven-plugin</artifactId>
+ <version>2.2</version>
<executions>
<execution>
<id>tomcat-run</id>