|
@@ -36,12 +36,12 @@
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
<!-- 本地运行要注释掉,打war包的时候要放开-->
|
|
|
- <!--<exclusions>
|
|
|
+ <exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
</exclusion>
|
|
|
- </exclusions>-->
|
|
|
+ </exclusions>
|
|
|
</dependency>
|
|
|
<!-- 添加javax依赖,避免打War包时排除内置Tomcat后找不到对应的依赖 start-->
|
|
|
<dependency>
|
|
@@ -56,6 +56,13 @@
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<!-- 添加javax依赖,避免打War包时排除内置Tomcat后找不到对应的依赖 end-->
|
|
|
+ <dependency>
|
|
|
+ <groupId>quark-driver</groupId> <!-- 自定义 -->
|
|
|
+ <artifactId>lmr</artifactId> <!-- 自定义 -->
|
|
|
+ <version>8.37.3</version> <!-- 自定义 -->
|
|
|
+ <scope>system</scope>
|
|
|
+ <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/quark-driver-8.37.3.jar</systemPath>
|
|
|
+ </dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.json</groupId>
|
|
|
<artifactId>json</artifactId>
|
|
@@ -194,6 +201,13 @@
|
|
|
<includeSystemScope>true</includeSystemScope>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-war-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <packagingExcludes>WEB-INF/lib/tomcat-*.jar</packagingExcludes>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|