mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-15 11:47:54 +00:00
328 lines
12 KiB
XML
328 lines
12 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>com.bytedesk</groupId>
|
|
<artifactId>im</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<groupId>com.bytedesk</groupId>
|
|
<artifactId>modules</artifactId>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
<modules>
|
|
<module>ai</module>
|
|
<module>core</module>
|
|
<module>local</module>
|
|
<module>service</module>
|
|
<module>social</module>
|
|
<module>socket</module>
|
|
<module>team</module>
|
|
</modules>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<!-- <java.version>1.8</java.version> -->
|
|
<java.version>17</java.version>
|
|
<!-- -->
|
|
<apt.version>1.1.3</apt.version>
|
|
<querydsl.version>5.1.0</querydsl.version>
|
|
<!-- -->
|
|
<im.version>0.0.1-SNAPSHOT</im.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- https://docs.spring.io/spring-data/jpa/reference/jpa/query-methods.html -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-rest</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- scheduled task - 定时任务-->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-quartz</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-mail</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!--
|
|
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-configuration-processor -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<!-- cloud -->
|
|
<!-- <dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency> -->
|
|
|
|
<!-- mysql driver -->
|
|
<!-- <dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency> -->
|
|
|
|
<!-- PostgreSQL JDBC driver -->
|
|
<!-- <dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency> -->
|
|
|
|
<!-- h2 driver -->
|
|
<!-- <dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<scope>runtime</scope>
|
|
</dependency> -->
|
|
|
|
|
|
<!-- querydsl crud增强-->
|
|
<!-- http://querydsl.com/ -->
|
|
<!-- https://github.com/querydsl/querydsl/tree/master/querydsl-jpa -->
|
|
<!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-jpa -->
|
|
<!-- <dependency>
|
|
<groupId>com.querydsl</groupId>
|
|
<artifactId>querydsl-jpa</artifactId>
|
|
<classifier>jakarta</classifier>
|
|
<version>${querydsl.version}</version>
|
|
</dependency> -->
|
|
|
|
<!-- -->
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
|
|
<!-- https://alibaba.github.io/fastjson2/ -->
|
|
<!-- https://github.com/alibaba/fastjson2/blob/main/docs/spring_support_cn.md -->
|
|
<dependency>
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
<artifactId>fastjson2</artifactId>
|
|
<version>2.0.48</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- http://localhost:9003/swagger-ui/index.html -->
|
|
<!-- https://mvnrepository.com/artifact/org.springdoc/springdoc-openapi-starter-webmvc-ui -->
|
|
<dependency>
|
|
<groupId>org.springdoc</groupId>
|
|
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
|
<version>2.5.0</version>
|
|
</dependency>
|
|
|
|
<!-- FIXME: not working? https://docs.spring.io/spring-data/rest/reference/tools.html -->
|
|
<!-- <dependency>
|
|
<groupId>org.springframework.data</groupId>
|
|
<artifactId>spring-data-rest-hal-explorer</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency> -->
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.modelmapper/modelmapper -->
|
|
<dependency>
|
|
<groupId>org.modelmapper</groupId>
|
|
<artifactId>modelmapper</artifactId>
|
|
<version>3.2.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- 一级缓存 -->
|
|
<!-- https://mvnrepository.com/artifact/com.github.ben-manes.caffeine/caffeine -->
|
|
<!-- <version>3.1.8</version> -->
|
|
<dependency>
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
<artifactId>caffeine</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
|
|
<!-- https://wizardforcel.gitbooks.io/guava-tutorial/content/1.html -->
|
|
<!-- https://github.com/google/guava/wiki -->
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>33.1.0-jre</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!--阿里云短信平台-->
|
|
<!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-core -->
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
<!-- <version>4.6.4</version> -->
|
|
<version>4.5.13</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
<!-- 邮件 -->
|
|
<!-- https://mvnrepository.com/artifact/com.aliyun/aliyun-java-sdk-dm -->
|
|
<dependency>
|
|
<groupId>com.aliyun</groupId>
|
|
<artifactId>aliyun-java-sdk-dm</artifactId>
|
|
<!-- <version>3.3.2</version> -->
|
|
<version>3.3.1</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
|
|
<!-- <dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.14.0</version>
|
|
<scope>provided</scope>
|
|
</dependency> -->
|
|
|
|
<!-- 生成随机用户:用户名、邮箱、地址等,方便测试 https://github.com/DiUS/java-faker?tab=readme-ov-file -->
|
|
<!-- https://mvnrepository.com/artifact/com.github.javafaker/javafaker -->
|
|
<!-- <dependency>
|
|
<groupId>com.github.javafaker</groupId>
|
|
<artifactId>javafaker</artifactId>
|
|
<version>1.0.2</version>
|
|
</dependency> -->
|
|
|
|
<!-- 定时任务 -->
|
|
<!-- https://mvnrepository.com/artifact/com.xuxueli/xxl-job-core -->
|
|
<!-- <dependency>
|
|
<groupId>com.xuxueli</groupId>
|
|
<artifactId>xxl-job-core</artifactId>
|
|
<version>2.4.1</version>
|
|
<scope>provided</scope>
|
|
</dependency> -->
|
|
|
|
<!-- 汉字转拼音 -->
|
|
<!-- https://github.com/houbb/pinyin -->
|
|
<!-- https://mvnrepository.com/artifact/com.github.houbb/pinyin -->
|
|
<dependency>
|
|
<groupId>com.github.houbb</groupId>
|
|
<artifactId>pinyin</artifactId>
|
|
<version>0.3.1</version>
|
|
<!-- <version>0.4.0</version> -->
|
|
</dependency>
|
|
|
|
<!-- monitoring -->
|
|
<!-- https://mvnrepository.com/artifact/io.micrometer/micrometer-registry-prometheus -->
|
|
<dependency>
|
|
<groupId>io.micrometer</groupId>
|
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
|
</dependency>
|
|
|
|
<!-- -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
<scope>runtime</scope>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-test -->
|
|
<dependency>
|
|
<groupId>org.springframework.security</groupId>
|
|
<artifactId>spring-security-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- https://mvnrepository.com/artifact/com.querydsl/querydsl-apt -->
|
|
<!-- <plugin>
|
|
<groupId>com.mysema.maven</groupId>
|
|
<artifactId>apt-maven-plugin</artifactId>
|
|
<version>${apt.version}</version>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.querydsl</groupId>
|
|
<artifactId>querydsl-apt</artifactId>
|
|
<classifier>jakarta</classifier>
|
|
<version>${querydsl.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
<executions>
|
|
<execution>
|
|
<phase>generate-sources</phase>
|
|
<goals>
|
|
<goal>process</goal>
|
|
</goals>
|
|
<configuration>
|
|
<outputDirectory>target/generated-sources/queries</outputDirectory>
|
|
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin> -->
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |