123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- <?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>zlt-business</artifactId>
- <groupId>com.zlt</groupId>
- <version>2.7.0</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>idaas-center</artifactId>
- <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-redis-spring-boot-starter</artifactId>
- </dependency>
- <dependency>
- <groupId>com.zlt</groupId>
- <artifactId>zlt-ribbon-spring-boot-starter</artifactId>
- </dependency>
- <dependency>
- <groupId>com.zlt</groupId>
- <artifactId>zlt-sentinel-spring-boot-starter</artifactId>
- </dependency>
- <!-- swagger -->
- <dependency>
- <groupId>com.zlt</groupId>
- <artifactId>zlt-swagger2-spring-boot-starter</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context-support</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-actuator</artifactId>
- </dependency>
- <!-- Mysql数据库依赖,跟随项目版本:5.7 -->
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- </dependency>
- <dependency>
- <groupId>io.micrometer</groupId>
- <artifactId>micrometer-registry-prometheus</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-core</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.springframework</groupId>
- <artifactId>spring-jcl</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-web</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-context</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.cloud</groupId>
- <artifactId>spring-cloud-commons</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-tx</artifactId>
- </dependency>
- <!-- google json工具 -->
- <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- </dependency>
- <!-- 阿里Nacos依赖 -->
- <dependency>
- <groupId>com.alibaba.cloud</groupId>
- <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
- </dependency>
- <!-- 阿里云 MQ消息队列依赖 -->
- <dependency>
- <groupId>com.aliyun.openservices</groupId>
- <artifactId>ons-client</artifactId>
- <version>${ons-client.version}</version>
- </dependency>
- <!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel -->
- <!-- 阿里easyexcel工具,导入导出,读取excel -->
- <dependency>
- <groupId>com.alibaba</groupId>
- <artifactId>easyexcel</artifactId>
- <version>${easyexcel.version}</version>
- </dependency>
- <!-- 阿里云总线CSB依赖 -->
- <dependency>
- <groupId>com.alibaba.csb.sdk</groupId>
- <artifactId>http-client</artifactId>
- <version>1.1.5.9</version>
- </dependency>
- <!-- 验证码生成工具 -->
- <dependency>
- <groupId>com.github.whvcse</groupId>
- <artifactId>easy-captcha</artifactId>
- </dependency>
- <!-- <!– 华为高斯数据库连接依赖 –>-->
- <!-- <!– 仅用于政务外网devops环境,测试结束后不再使用 –>-->
- <!-- <dependency>-->
- <!-- <groupId>com.huawei.gauss.jdbc</groupId>-->
- <!-- <artifactId>gsjdbc200</artifactId>-->
- <!-- <version>1.0.0</version>-->
- <!-- </dependency>-->
- <!-- dom4j -->
- <dependency>
- <groupId>dom4j</groupId>
- <artifactId>dom4j</artifactId>
- <version>1.6.1</version>
- </dependency>
- <dependency>
- <groupId>org.apache.axis</groupId>
- <artifactId>axis</artifactId>
- <version>1.4</version>
- </dependency>
- <dependency>
- <groupId>axis</groupId>
- <artifactId>axis-jaxrpc</artifactId>
- <version>1.4</version>
- </dependency>
- <dependency>
- <groupId>commons-discovery</groupId>
- <artifactId>commons-discovery</artifactId>
- <version>0.2</version>
- </dependency>
- <dependency>
- <groupId>wsdl4j</groupId>
- <artifactId>wsdl4j</artifactId>
- <version>1.6.3</version>
- </dependency>
- </dependencies>
- <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>
- <!--打包部署放开以下注释-->
- <!--正常启动需注释以下代码,否则会包shiro错误-->
- <finalName>${project.artifactId}</finalName>
- </build>
- </project>
|