| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525 |
- <?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>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-parent</artifactId>
- <version>3.2.12</version>
- </parent>
- <groupId>com.hr</groupId>
- <artifactId>downstream-interface-integration-service</artifactId>
- <version>1.0</version>
- <description>下游接口对接服务</description>
- <properties>
- <maven.compiler.source>21</maven.compiler.source>
- <maven.compiler.target>21</maven.compiler.target>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <xiaohh-cloud.version>xiaohh-1.0.0</xiaohh-cloud.version>
- <spring-boot.version>3.2.12</spring-boot.version>
- <spring-cloud.version>2023.0.4</spring-cloud.version>
- <spring-cloud-alibaba.version>2023.0.1.0</spring-cloud-alibaba.version>
- <mybatis-starter.version>3.0.4</mybatis-starter.version>
- <!-- <spring-cloud-openfeign.version>4.2.0</spring-cloud-openfeign.version>-->
- <micrometer-tracing.version>1.4.1</micrometer-tracing.version>
- <java.version>21</java.version>
- </properties>
- <repositories>
- <repository>
- <id>aliyun-public</id>
- <url>https://maven.aliyun.com/repository/public</url>
- <releases><enabled>true</enabled></releases>
- <snapshots><enabled>false</enabled></snapshots>
- </repository>
- <repository>
- <id>releases</id>
- <url>https://nexus.hrsk.com/repository/maven-releases/</url>
- <releases><enabled>true</enabled></releases>
- <snapshots><enabled>false</enabled></snapshots>
- </repository>
- <repository>
- <id>snapshots</id>
- <url>https://nexus.hrsk.com/repository/maven-snapshots/</url>
- <releases><enabled>false</enabled></releases>
- <snapshots><enabled>true</enabled></snapshots>
- </repository>
- </repositories>
- <pluginRepositories>
- <pluginRepository>
- <id>aliyun-public</id>
- <url>https://maven.aliyun.com/repository/public</url>
- </pluginRepository>
- </pluginRepositories>
- <dependencies>
- <dependency>
- <groupId>com.fasterxml.jackson.module</groupId>
- <artifactId>jackson-module-jaxb-annotations</artifactId>
- <version>2.15.2</version>
- </dependency>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter</artifactId>
- <version>5.9.3</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>com.alibaba.fastjson2</groupId>
- <artifactId>fastjson2</artifactId>
- <version>2.0.57</version>
- </dependency>
- <dependency>
- <groupId>com.google.protobuf</groupId>
- <artifactId>protobuf-java</artifactId>
- <version>2.5.0</version>
- </dependency>
- <dependency>
- <groupId>com.aliyun.openservices</groupId>
- <artifactId>aliyun-log-logback-appender</artifactId>
- <version>0.1.15</version>
- </dependency>
- <dependency>
- <groupId>org.projectlombok</groupId>
- <artifactId>lombok</artifactId>
- <version>1.18.34</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>fastjson</artifactId>
- <version>2.0.57</version>
- </dependency>
- <dependency>
- <groupId>com.basedevelop</groupId>
- <artifactId>basedevelop</artifactId>
- <version>1.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-data-jpa</artifactId>
- </dependency>
- <dependency>
- <groupId>org.mybatis.spring.boot</groupId>
- <artifactId>mybatis-spring-boot-starter</artifactId>
- <version>3.0.4</version>
- </dependency>
- <!-- E签宝 -->
- <dependency>
- <groupId>esign-cn</groupId>
- <artifactId>paas-sdk</artifactId>
- <version>3.0.20</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-freemarker</artifactId>
- <version>3.1.5</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>kernel</artifactId>
- <version>8.0.4</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>io</artifactId>
- <version>8.0.4</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>layout</artifactId>
- <version>8.0.4</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>pdfa</artifactId>
- <version>8.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.zefer</groupId>
- <artifactId>pd4ml</artifactId>
- <version>3.7.0</version>
- </dependency>
- <dependency>
- <groupId>org.zefer</groupId>
- <artifactId>css</artifactId>
- <version>2.0.0</version>
- </dependency>
- <!-- 链路追踪依赖 -->
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-tracing-bom</artifactId>
- <version>1.4.1</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- <!-- Seata 分布式事务 -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-seata</artifactId>
- </dependency>
- <!-- SpringWeb 依赖 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- </dependency>
- <!-- Spring 健康检查依赖 -->
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
- <!-- Bootstrap 配置文件支持 -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-bootstrap</artifactId>
- <version>4.1.5</version>
- </dependency>
- <!-- Nacos 注册中心 -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
- <version>2023.0.1.0</version>
- </dependency>
- <!-- Nacos 注册中心 -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
- <version>2023.0.1.0</version>
- </dependency>
- <!-- Seata 分布式事务 -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-seata</artifactId>
- <version>2023.0.1.0</version>
- </dependency>
- <!-- SpringCloud 负载均衡启动器 -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-loadbalancer</artifactId>
- <version>4.1.5</version>
- </dependency>
- <!-- MySQL 数据库驱动 -->
- <dependency>
- <groupId>com.mysql</groupId>
- <artifactId>mysql-connector-j</artifactId>
- </dependency>
- <!-- MyBatis 整合启动器 -->
- <dependency>
- <groupId>org.mybatis.spring.boot</groupId>
- <artifactId>mybatis-spring-boot-starter</artifactId>
- <version>3.0.4</version>
- </dependency>
- <!-- Micrometer 整合 Brave 追踪器 -->
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-tracing-bridge-brave</artifactId>
- </dependency>
- <!-- Micrometer 指标追踪 -->
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-tracing</artifactId>
- </dependency>
- <!-- Micrometer 观察者 -->
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-observation</artifactId>
- </dependency>
- <!-- 整合 Openfeign -->
- <!-- OpenFeign 依赖 -->
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-starter-openfeign</artifactId>
- <version>4.1.4</version>
- </dependency>
- <!-- E签宝 start -->
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpmime</artifactId>
- <version>4.5.14</version>
- </dependency>
- <dependency>
- <groupId>org.apache.httpcomponents</groupId>
- <artifactId>httpclient</artifactId>
- <version>4.5.14</version>
- </dependency>
- <dependency>
- <groupId>com.fasterxml.jackson.module</groupId>
- <artifactId>jackson-module-jaxb-annotations</artifactId>
- <version>2.15.2</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-freemarker</artifactId>
- </dependency>
- <dependency>
- <groupId>esign-cn</groupId>
- <artifactId>paas-sdk</artifactId>
- <version>3.0.20</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>kernel</artifactId>
- <version>8.0.4</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>io</artifactId>
- <version>8.0.4</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>layout</artifactId>
- <version>8.0.4</version>
- </dependency>
- <dependency>
- <groupId>com.itextpdf</groupId>
- <artifactId>pdfa</artifactId>
- <version>8.0.4</version>
- </dependency>
- <dependency>
- <groupId>org.zefer</groupId>
- <artifactId>pd4ml</artifactId>
- <version>3.7.0</version>
- </dependency>
- <dependency>
- <groupId>org.zefer</groupId>
- <artifactId>css</artifactId>
- <version>2.0.0</version>
- </dependency>
- <!-- E签宝 end -->
- <dependency>
- <groupId>org.codehaus.janino</groupId>
- <artifactId>janino</artifactId>
- <version>3.1.10</version>
- </dependency>
- </dependencies>
- <build>
- <finalName>${project.artifactId}</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- <configuration>
- <source>21</source>
- <target>21</target>
- </configuration>
- </plugin>
- <!-- Spring Boot 插件(全局生效) -->
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>3.2.12</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>exec-maven-plugin</artifactId>
- <version>3.0.0</version>
- <executions>
- <execution>
- <id>prepare-package</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>java</goal>
- </goals>
- <configuration>
- <mainClass>com.yy.basedevelop.common.util.Codepackage</mainClass>
- <arguments>
- </arguments>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- <profiles>
- <profile>
- <id>deploy</id>
- <build>
- <finalName>${project.artifactId}</finalName>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>dev</id>
- <build>
- <finalName>${project.artifactId}-dev</finalName>
- <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>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version> <!-- 使用最新版本 -->
- <configuration>
- <source>21</source> <!-- 设置源代码的 JDK 版本 -->
- <target>21</target> <!-- 设置目标字节码的 JDK 版本 -->
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>test</id>
- <build>
- <finalName>${project.artifactId}-test</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>3.1.2</version>
- <configuration>
- <skip>false</skip>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- <profile>
- <id>prod</id>
- <build>
- <finalName>${project.artifactId}-prod</finalName>
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>3.2.12</version>
- <configuration>
- <mainClass>com.hr.BaseApplication</mainClass>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>3.1.2</version>
- <configuration>
- <skip>false</skip>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
- <distributionManagement>
- <repository>
- <id>releases</id>
- <url>https://nexus.hrsk.com:8081/repository/maven-releases/</url>
- </repository>
- <snapshotRepository>
- <id>snapshots</id>
- <url>https://nexus.hrsk.com:8081/repository/maven-snapshots/</url>
- </snapshotRepository>
- </distributionManagement>
- </project>
|