149 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			149 lines
		
	
	
		
			5.4 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| 
								 | 
							
								<?xml version="1.0" encoding="UTF-8"?>
							 | 
						||
| 
								 | 
							
								<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
							 | 
						||
| 
								 | 
							
								         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
							 | 
						||
| 
								 | 
							
								    <modelVersion>4.0.0</modelVersion>
							 | 
						||
| 
								 | 
							
								    <artifactId>tulingmall-gateway</artifactId>
							 | 
						||
| 
								 | 
							
								    <name>tulingmall-gateway</name>
							 | 
						||
| 
								 | 
							
								    <description>商城网关</description>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <parent>
							 | 
						||
| 
								 | 
							
								        <groupId>com.tuling</groupId>
							 | 
						||
| 
								 | 
							
								        <artifactId>tuling-mall</artifactId>
							 | 
						||
| 
								 | 
							
								        <version>0.0.5</version>
							 | 
						||
| 
								 | 
							
								    </parent>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <properties>
							 | 
						||
| 
								 | 
							
								        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
							 | 
						||
| 
								 | 
							
								    </properties>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <dependencies>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.tuling</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>tulingmall-common</artifactId>
							 | 
						||
| 
								 | 
							
								            <exclusions>
							 | 
						||
| 
								 | 
							
								                <exclusion>
							 | 
						||
| 
								 | 
							
								                    <groupId>com.alibaba</groupId>
							 | 
						||
| 
								 | 
							
								                    <artifactId>druid-spring-boot-starter</artifactId>
							 | 
						||
| 
								 | 
							
								                </exclusion>
							 | 
						||
| 
								 | 
							
								                <exclusion>
							 | 
						||
| 
								 | 
							
								                    <groupId>com.github.pagehelper</groupId>
							 | 
						||
| 
								 | 
							
								                    <artifactId>pagehelper-spring-boot-starter</artifactId>
							 | 
						||
| 
								 | 
							
								                </exclusion>
							 | 
						||
| 
								 | 
							
								            </exclusions>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.cloud</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-cloud-starter-gateway</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <!--加入nacos的依赖-->
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.alibaba.cloud</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <!--添加jwt相关的包-->
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>io.jsonwebtoken</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>jjwt-api</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>0.10.5</version>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>io.jsonwebtoken</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>jjwt-impl</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>0.10.5</version>
							 | 
						||
| 
								 | 
							
								            <scope>runtime</scope>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>io.jsonwebtoken</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>jjwt-jackson</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>0.10.5</version>
							 | 
						||
| 
								 | 
							
								            <scope>runtime</scope>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-starter-actuator</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.alibaba.cloud</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <!--添加Sentinel的依赖-->
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.alibaba.cloud</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.alibaba.csp</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>sentinel-datasource-nacos</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.alibaba.cloud</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>javax.servlet</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>javax.servlet-api</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>4.0.1</version>
							 | 
						||
| 
								 | 
							
								            <scope>compile</scope>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.apache.commons</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>commons-lang3</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>3.12.0</version>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								    </dependencies>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <build>
							 | 
						||
| 
								 | 
							
								        <plugins>
							 | 
						||
| 
								 | 
							
								            <plugin>
							 | 
						||
| 
								 | 
							
								                <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								                <artifactId>spring-boot-maven-plugin</artifactId>
							 | 
						||
| 
								 | 
							
								                <version>2.3.2.RELEASE</version>
							 | 
						||
| 
								 | 
							
								                <executions>
							 | 
						||
| 
								 | 
							
								                    <execution>
							 | 
						||
| 
								 | 
							
								                        <goals>
							 | 
						||
| 
								 | 
							
								                            <goal>repackage</goal>
							 | 
						||
| 
								 | 
							
								                        </goals>
							 | 
						||
| 
								 | 
							
								                    </execution>
							 | 
						||
| 
								 | 
							
								                </executions>
							 | 
						||
| 
								 | 
							
								            </plugin>
							 | 
						||
| 
								 | 
							
								<!--            <plugin>-->
							 | 
						||
| 
								 | 
							
								<!--                <groupId>com.spotify</groupId>-->
							 | 
						||
| 
								 | 
							
								<!--                <artifactId>docker-maven-plugin</artifactId>-->
							 | 
						||
| 
								 | 
							
								<!--                <version>${docker.maven.plugin.version}</version>-->
							 | 
						||
| 
								 | 
							
								<!--                <executions>-->
							 | 
						||
| 
								 | 
							
								<!--                    <execution>-->
							 | 
						||
| 
								 | 
							
								<!--                        <id>build-image</id>-->
							 | 
						||
| 
								 | 
							
								<!--                        <phase>package</phase>-->
							 | 
						||
| 
								 | 
							
								<!--                        <goals>-->
							 | 
						||
| 
								 | 
							
								<!--                            <goal>build</goal>-->
							 | 
						||
| 
								 | 
							
								<!--                        </goals>-->
							 | 
						||
| 
								 | 
							
								<!--                    </execution>-->
							 | 
						||
| 
								 | 
							
								<!--                </executions>-->
							 | 
						||
| 
								 | 
							
								<!--                <configuration>-->
							 | 
						||
| 
								 | 
							
								<!--                    <imageName>mall/${project.artifactId}:${project.version}</imageName>-->
							 | 
						||
| 
								 | 
							
								<!--                    <dockerHost>${docker.host}</dockerHost>-->
							 | 
						||
| 
								 | 
							
								<!--                    <baseImage>java:8</baseImage>-->
							 | 
						||
| 
								 | 
							
								<!--                    <entryPoint>["java", "-jar", "-Dspring.profiles.active=prod","/${project.build.finalName}.jar"]</entryPoint>-->
							 | 
						||
| 
								 | 
							
								<!--                    <resources>-->
							 | 
						||
| 
								 | 
							
								<!--                        <resource>-->
							 | 
						||
| 
								 | 
							
								<!--                            <targetPath>/</targetPath>-->
							 | 
						||
| 
								 | 
							
								<!--                            <directory>${project.build.directory}</directory>-->
							 | 
						||
| 
								 | 
							
								<!--                            <include>${project.build.finalName}.jar</include>-->
							 | 
						||
| 
								 | 
							
								<!--                        </resource>-->
							 | 
						||
| 
								 | 
							
								<!--                    </resources>-->
							 | 
						||
| 
								 | 
							
								<!--                </configuration>-->
							 | 
						||
| 
								 | 
							
								<!--            </plugin>-->
							 | 
						||
| 
								 | 
							
								        </plugins>
							 | 
						||
| 
								 | 
							
								    </build>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								</project>
							 |