168 lines
6.0 KiB
XML
168 lines
6.0 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>
|
|
<parent>
|
|
<groupId>com.zlt</groupId>
|
|
<artifactId>zlt-business</artifactId>
|
|
<version>6.0.0</version>
|
|
</parent>
|
|
<artifactId>tourism-center</artifactId>
|
|
<description>文旅中心</description>
|
|
<packaging>pom</packaging>
|
|
<modules>
|
|
<module>tourism-core</module>
|
|
<module>tourism-service</module>
|
|
<module>tourism-open-api</module>
|
|
</modules>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.zlt</groupId>
|
|
<artifactId>zlt-config</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zlt</groupId>
|
|
<artifactId>zlt-common-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zlt</groupId>
|
|
<artifactId>zlt-db-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<!--<dependency>
|
|
<groupId>com.zlt</groupId>
|
|
<artifactId>zlt-iot-spring-boot-starter</artifactId>
|
|
<version>6.0.0</version>
|
|
</dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>com.zlt</groupId>
|
|
<artifactId>zlt-redis-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zlt</groupId>
|
|
<artifactId>zlt-loadbalancer-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zlt</groupId>
|
|
<artifactId>zlt-sentinel-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.zlt</groupId>
|
|
<artifactId>zlt-oss-spring-boot-starter</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba.cloud</groupId>
|
|
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger.core.v3</groupId>
|
|
<artifactId>swagger-annotations-jakarta</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>2.0.1.Final</version> <!-- 或者使用最新版本 -->
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.micrometer</groupId>
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.freemarker</groupId>
|
|
<artifactId>freemarker</artifactId>
|
|
<version>2.3.30</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>mysql</groupId>
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>javax.validation</groupId>
|
|
<artifactId>validation-api</artifactId>
|
|
<version>1.1.0.Final</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.shiro</groupId>
|
|
<artifactId>shiro-core</artifactId>
|
|
<version>1.7.1</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.zlt</groupId>
|
|
<artifactId>tourism-core</artifactId>
|
|
<version>1.0.0</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>repackage</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>com.spotify</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<configuration>
|
|
<imageName>${docker.image.prefix}/${project.artifactId}</imageName>
|
|
<imageTags>
|
|
<imageTag>${project.version}</imageTag>
|
|
<imageTag>latest</imageTag>
|
|
</imageTags>
|
|
<forceTags>true</forceTags>
|
|
<baseImage>${docker.baseImage}</baseImage>
|
|
<volumes>${docker.volumes}</volumes>
|
|
<env>
|
|
<JAVA_OPTS>${docker.java.opts}</JAVA_OPTS>
|
|
</env>
|
|
<entryPoint>["sh","-c","java $JAVA_OPTS ${docker.java.security.egd} -jar /${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>
|
|
<finalName>${project.artifactId}</finalName>
|
|
</build>
|
|
</project>
|