188 lines
		
	
	
		
			7.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			188 lines
		
	
	
		
			7.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| 
								 | 
							
								<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 http://maven.apache.org/maven-v4_0_0.xsd">
							 | 
						||
| 
								 | 
							
								    <modelVersion>4.0.0</modelVersion>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <parent>
							 | 
						||
| 
								 | 
							
								        <groupId>com.tuling</groupId>
							 | 
						||
| 
								 | 
							
								        <artifactId>tuling-mall</artifactId>
							 | 
						||
| 
								 | 
							
								        <version>0.0.5</version>
							 | 
						||
| 
								 | 
							
								    </parent>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <artifactId>tulingmall-admin</artifactId>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <name>tulingmall-admin</name>
							 | 
						||
| 
								 | 
							
								    <description>商城统一管理后台</description>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <properties>
							 | 
						||
| 
								 | 
							
								        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
							 | 
						||
| 
								 | 
							
								        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
							 | 
						||
| 
								 | 
							
								        <java.version>1.8</java.version>
							 | 
						||
| 
								 | 
							
								    </properties>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    <dependencies>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-starter-web</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-starter-aop</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.cloud</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-cloud-starter-openfeign</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.alibaba.cloud</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-cloud-alibaba-nacos-discovery</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.tuling</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>tulingmall-security</artifactId>
							 | 
						||
| 
								 | 
							
								            <exclusions>
							 | 
						||
| 
								 | 
							
								                <exclusion>
							 | 
						||
| 
								 | 
							
								                    <artifactId>mybatis</artifactId>
							 | 
						||
| 
								 | 
							
								                    <groupId>org.mybatis</groupId>
							 | 
						||
| 
								 | 
							
								                </exclusion>
							 | 
						||
| 
								 | 
							
								                <exclusion>
							 | 
						||
| 
								 | 
							
								                    <artifactId>mybatis-spring</artifactId>
							 | 
						||
| 
								 | 
							
								                    <groupId>org.mybatis</groupId>
							 | 
						||
| 
								 | 
							
								                </exclusion>
							 | 
						||
| 
								 | 
							
								                <exclusion>
							 | 
						||
| 
								 | 
							
								                    <artifactId>pagehelper-spring-boot-starter</artifactId>
							 | 
						||
| 
								 | 
							
								                    <groupId>com.github.pagehelper</groupId>
							 | 
						||
| 
								 | 
							
								                </exclusion>
							 | 
						||
| 
								 | 
							
								            </exclusions>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.github.pagehelper</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>pagehelper-spring-boot-starter</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>1.4.3</version>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.aliyun.oss</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>aliyun-sdk-oss</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>net.logstash.logback</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>logstash-logback-encoder</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.freemarker</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>freemarker</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.hibernate.validator</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>hibernate-validator</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>mysql</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>mysql-connector-java</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.baomidou</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>mybatis-plus-boot-starter</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.baomidou</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>com.baomidou</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>mybatis-plus-generator</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>3.3.2</version>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework.boot</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-boot-test</artifactId>
							 | 
						||
| 
								 | 
							
								            <scope>test</scope>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>junit</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>junit</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>4.13.2</version>
							 | 
						||
| 
								 | 
							
								            <scope>test</scope>
							 | 
						||
| 
								 | 
							
								        </dependency>
							 | 
						||
| 
								 | 
							
								        <dependency>
							 | 
						||
| 
								 | 
							
								            <groupId>org.springframework</groupId>
							 | 
						||
| 
								 | 
							
								            <artifactId>spring-test</artifactId>
							 | 
						||
| 
								 | 
							
								            <version>5.2.8.RELEASE</version>
							 | 
						||
| 
								 | 
							
								            <scope>test</scope>
							 | 
						||
| 
								 | 
							
								        </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>
							 | 
						||
| 
								 | 
							
								                <!-- 解决运行包不能被其他包依赖的问题 -->
							 | 
						||
| 
								 | 
							
								<!--                <configuration>-->
							 | 
						||
| 
								 | 
							
								<!--                    <classifier>exec</classifier>-->
							 | 
						||
| 
								 | 
							
								<!--                </configuration>-->
							 | 
						||
| 
								 | 
							
								            </plugin>
							 | 
						||
| 
								 | 
							
								<!--            <plugin>-->
							 | 
						||
| 
								 | 
							
								<!--                <groupId>org.apache.maven.plugins</groupId>-->
							 | 
						||
| 
								 | 
							
								<!--                <artifactId>maven-jar-plugin</artifactId>-->
							 | 
						||
| 
								 | 
							
								<!--            </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>-->
							 | 
						||
| 
								 | 
							
								<!--            <plugin>-->
							 | 
						||
| 
								 | 
							
								<!--                <groupId>org.apache.maven.plugins</groupId>-->
							 | 
						||
| 
								 | 
							
								<!--                <artifactId>maven-dependency-plugin</artifactId>-->
							 | 
						||
| 
								 | 
							
								<!--                <!– <version>2.10</version> –>-->
							 | 
						||
| 
								 | 
							
								<!--                <executions>-->
							 | 
						||
| 
								 | 
							
								<!--                    <execution>-->
							 | 
						||
| 
								 | 
							
								<!--                        <id>copy-dependencies</id>-->
							 | 
						||
| 
								 | 
							
								<!--                        <phase>package</phase>-->
							 | 
						||
| 
								 | 
							
								<!--                        <goals>-->
							 | 
						||
| 
								 | 
							
								<!--                            <goal>copy-dependencies</goal>-->
							 | 
						||
| 
								 | 
							
								<!--                        </goals>-->
							 | 
						||
| 
								 | 
							
								<!--                        <configuration>-->
							 | 
						||
| 
								 | 
							
								<!--                            <outputDirectory>export</outputDirectory> <!– 将依赖包放入export文件夹 –>-->
							 | 
						||
| 
								 | 
							
								<!--                            <excludeTransitive>false</excludeTransitive>-->
							 | 
						||
| 
								 | 
							
								<!--                            <stripVersion>true</stripVersion>-->
							 | 
						||
| 
								 | 
							
								<!--                        </configuration>-->
							 | 
						||
| 
								 | 
							
								<!--                    </execution>-->
							 | 
						||
| 
								 | 
							
								<!--                </executions>-->
							 | 
						||
| 
								 | 
							
								<!--            </plugin>-->
							 | 
						||
| 
								 | 
							
								        </plugins>
							 | 
						||
| 
								 | 
							
								    </build>
							 | 
						||
| 
								 | 
							
								</project>
							 |