内置tomcat依赖

<tomcat.embed.version>7.0.39</tomcat.embed.version>

<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-logging-juli</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<scope>provided</scope>
<version>9.0.41</version>
</dependency>




<build>
<finalName>ROOT</finalName>
<plugins>
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.3-SNAPSHOT</version>
<executions>
<execution>
<id>tomcat-run</id>
<goals>
<goal>exec-war-only</goal>
</goals>
<phase>package</phase>
<configuration>
<path>/</path>
<finalName>exec.jar</finalName>
<httpPort>8127</httpPort>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
posted on 2024-12-11 23:13  Hi Martin  阅读(54)  评论(0)    收藏  举报