|
|
@@ -0,0 +1,208 @@
|
|
|
+<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
+ <parent>
|
|
|
+ <artifactId>tnb</artifactId>
|
|
|
+ <groupId>cn.reghao.tnb</groupId>
|
|
|
+ <version>1.0.0</version>
|
|
|
+ </parent>
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+
|
|
|
+ <artifactId>admin</artifactId>
|
|
|
+
|
|
|
+ <properties>
|
|
|
+ <maven.compiler.source>17</maven.compiler.source>
|
|
|
+ <maven.compiler.target>17</maven.compiler.target>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.reghao.tnb</groupId>
|
|
|
+ <artifactId>common</artifactId>
|
|
|
+ <version>1.0.0-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.reghao.tnb.search</groupId>
|
|
|
+ <artifactId>search-api</artifactId>
|
|
|
+ <version>1.0.0-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.reghao.tnb.content</groupId>
|
|
|
+ <artifactId>content-api</artifactId>
|
|
|
+ <version>1.0.0-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.reghao.tnb.user</groupId>
|
|
|
+ <artifactId>user-api</artifactId>
|
|
|
+ <version>1.0.0-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.reghao.tnb.file</groupId>
|
|
|
+ <artifactId>file-api</artifactId>
|
|
|
+ <version>1.0.0-SNAPSHOT</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
|
+ <scope>test</scope>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-j</artifactId>
|
|
|
+ <version>8.0.31</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.zaxxer</groupId>
|
|
|
+ <artifactId>HikariCP</artifactId>
|
|
|
+ <version>3.3.1</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>io.lettuce</groupId>
|
|
|
+ <artifactId>lettuce-core</artifactId>
|
|
|
+ <version>6.1.10.RELEASE</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.rabbitmq</groupId>
|
|
|
+ <artifactId>amqp-client</artifactId>
|
|
|
+ <version>5.19.0</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.mongodb</groupId>
|
|
|
+ <artifactId>mongodb-driver-sync</artifactId>
|
|
|
+ <version>4.11.1</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.apache.kafka</groupId>
|
|
|
+ <artifactId>kafka-clients</artifactId>
|
|
|
+ <version>3.9.1</version> <!-- Use the latest compatible version -->
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <!-- elasticsearch -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>co.elastic.clients</groupId>
|
|
|
+ <artifactId>elasticsearch-java</artifactId>
|
|
|
+ <version>7.17.18</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.elasticsearch.client</groupId>
|
|
|
+ <artifactId>elasticsearch-rest-client</artifactId>
|
|
|
+ <version>7.17.18</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-databind</artifactId>
|
|
|
+ <version>2.17.0</version>
|
|
|
+ <exclusions>
|
|
|
+ <exclusion>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-core</artifactId>
|
|
|
+ </exclusion>
|
|
|
+ </exclusions>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-core</artifactId>
|
|
|
+ <version>2.17.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.fasterxml.jackson.core</groupId>
|
|
|
+ <artifactId>jackson-annotations</artifactId>
|
|
|
+ <version>2.17.0</version>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>jakarta.json</groupId>
|
|
|
+ <artifactId>jakarta.json-api</artifactId>
|
|
|
+ <version>2.0.1</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.alibaba.nacos</groupId>
|
|
|
+ <artifactId>nacos-client</artifactId>
|
|
|
+ <version>2.4.1</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springdoc</groupId>
|
|
|
+ <artifactId>springdoc-openapi-ui</artifactId>
|
|
|
+ <version>1.7.0</version>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>dev</id>
|
|
|
+ <properties>
|
|
|
+ <profile.active>dev</profile.active>
|
|
|
+ </properties>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>test</id>
|
|
|
+ <properties>
|
|
|
+ <profile.active>test</profile.active>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>cluster</id>
|
|
|
+ <properties>
|
|
|
+ <profile.active>cluster</profile.active>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <finalName>tnb-admin</finalName>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <filtering>true</filtering>
|
|
|
+ <includes>
|
|
|
+ <include>application.yml</include>
|
|
|
+ <include>application-${profile.active}.yml</include>
|
|
|
+ <include>mapper/**</include>
|
|
|
+ <include>*.xml</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-compiler-plugin</artifactId>
|
|
|
+ <version>3.11.0</version>
|
|
|
+ <configuration>
|
|
|
+ <compilerArgs>
|
|
|
+ <arg>-parameters</arg>
|
|
|
+ </compilerArgs>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <version>${springboot.version}</version>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+</project>
|