2022-04-21 15:16:26 +08:00
|
|
|
|
<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>
|
|
|
|
|
<groupId>io.renren</groupId>
|
|
|
|
|
<artifactId>security-enterprise</artifactId>
|
|
|
|
|
<version>2.9.0</version>
|
|
|
|
|
</parent>
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
<artifactId>renren-admin</artifactId>
|
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
<description>renren-admin</description>
|
2022-04-11 15:03:55 +08:00
|
|
|
|
|
2022-04-21 15:16:26 +08:00
|
|
|
|
<properties>
|
|
|
|
|
<quartz.version>2.3.0</quartz.version>
|
2022-10-15 00:22:13 +08:00
|
|
|
|
<shiro.version>1.10.0</shiro.version>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
<captcha.version>1.6.2</captcha.version>
|
|
|
|
|
<easyexcel.version>2.2.6</easyexcel.version>
|
|
|
|
|
<qiniu.version>7.2.27</qiniu.version>
|
|
|
|
|
<aliyun.oss.version>2.8.3</aliyun.oss.version>
|
|
|
|
|
<aliyun.core.version>3.2.2</aliyun.core.version>
|
|
|
|
|
<aliyun.dysmsapi.version>1.1.0</aliyun.dysmsapi.version>
|
|
|
|
|
<qcloud.cos.version>5.4.4</qcloud.cos.version>
|
|
|
|
|
<qcloud.qcloudsms.version>1.0.5</qcloud.qcloudsms.version>
|
|
|
|
|
<fastdfs.version>1.26.2</fastdfs.version>
|
|
|
|
|
<minio.version>6.0.13</minio.version>
|
|
|
|
|
<mail.version>1.6.2</mail.version>
|
|
|
|
|
<freemarker.version>2.3.28</freemarker.version>
|
|
|
|
|
<activiti.version>5.22.0</activiti.version>
|
|
|
|
|
<ureport2.version>2.2.9</ureport2.version>
|
|
|
|
|
<IJPay.version>2.7.1</IJPay.version>
|
|
|
|
|
<yawei-pso.version>2.0.2</yawei-pso.version>
|
2022-05-05 16:43:58 +08:00
|
|
|
|
<renren.version>2.9.0</renren.version>
|
|
|
|
|
<groovy-all.version>2.4.17</groovy-all.version>
|
|
|
|
|
<pinyin4j.version>2.5.1</pinyin4j.version>
|
2022-06-01 18:19:08 +08:00
|
|
|
|
<spring-boot-starter-cache.version>2.4.4</spring-boot-starter-cache.version>
|
|
|
|
|
<fastjson.version>1.2.72</fastjson.version>
|
|
|
|
|
<ehcache.version>2.10.6</ehcache.version>
|
|
|
|
|
<javacv.version>1.5.7</javacv.version>
|
|
|
|
|
<system.linux-x86_64>linux-x86_64</system.linux-x86_64>
|
|
|
|
|
<ffmpeg.version>5.0</ffmpeg.version>
|
2022-06-13 14:00:27 +08:00
|
|
|
|
<okhttp.version>3.14.9</okhttp.version>
|
2022-06-14 16:05:27 +08:00
|
|
|
|
<flyway-core.version>8.5.12</flyway-core.version>
|
2022-09-02 11:32:15 +08:00
|
|
|
|
<cas-client-autoconfig-support.version>2.0.0-GA</cas-client-autoconfig-support.version>
|
2022-10-24 15:12:59 +08:00
|
|
|
|
<contingencyplan.version>1.1.0</contingencyplan.version>
|
|
|
|
|
<org.json.json.verison>20180130</org.json.json.verison>
|
2022-05-20 10:23:52 +08:00
|
|
|
|
<java.version>1.8</java.version>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
</properties>
|
2022-04-11 15:03:55 +08:00
|
|
|
|
|
2022-04-21 15:16:26 +08:00
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.renren</groupId>
|
|
|
|
|
<artifactId>renren-common</artifactId>
|
2022-05-05 16:43:58 +08:00
|
|
|
|
<version>${renren.version}</version>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.renren</groupId>
|
|
|
|
|
<artifactId>renren-dynamic-datasource</artifactId>
|
2022-05-05 16:43:58 +08:00
|
|
|
|
<version>${renren.version}</version>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
|
|
|
<artifactId>quartz</artifactId>
|
|
|
|
|
<version>${quartz.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.mchange</groupId>
|
|
|
|
|
<artifactId>c3p0</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.zaxxer</groupId>
|
|
|
|
|
<artifactId>HikariCP-java6</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
|
<artifactId>shiro-core</artifactId>
|
|
|
|
|
<version>${shiro.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.shiro</groupId>
|
|
|
|
|
<artifactId>shiro-spring</artifactId>
|
|
|
|
|
<version>${shiro.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.whvcse</groupId>
|
|
|
|
|
<artifactId>easy-captcha</artifactId>
|
|
|
|
|
<version>${captcha.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
|
|
<version>${easyexcel.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.qiniu</groupId>
|
|
|
|
|
<artifactId>qiniu-java-sdk</artifactId>
|
|
|
|
|
<version>${qiniu.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.aliyun.oss</groupId>
|
|
|
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|
|
|
|
<version>${aliyun.oss.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.qcloud</groupId>
|
|
|
|
|
<artifactId>cos_api</artifactId>
|
|
|
|
|
<version>${qcloud.cos.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
|
<artifactId>aliyun-java-sdk-core</artifactId>
|
|
|
|
|
<version>${aliyun.core.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
|
|
<artifactId>aliyun-java-sdk-dysmsapi</artifactId>
|
|
|
|
|
<version>${aliyun.dysmsapi.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.qcloudsms</groupId>
|
|
|
|
|
<artifactId>qcloudsms</artifactId>
|
|
|
|
|
<version>${qcloud.qcloudsms.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.sun.mail</groupId>
|
|
|
|
|
<artifactId>javax.mail</artifactId>
|
|
|
|
|
<version>${mail.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.freemarker</groupId>
|
|
|
|
|
<artifactId>freemarker</artifactId>
|
|
|
|
|
<version>${freemarker.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.tobato</groupId>
|
|
|
|
|
<artifactId>fastdfs-client</artifactId>
|
|
|
|
|
<version>${fastdfs.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
|
<version>${minio.version}</version>
|
2022-06-13 14:00:27 +08:00
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>okio</artifactId>
|
|
|
|
|
<groupId>com.squareup.okio</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.activiti</groupId>
|
|
|
|
|
<artifactId>activiti-spring-boot-starter-basic</artifactId>
|
|
|
|
|
<version>${activiti.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.mybatis</groupId>
|
|
|
|
|
<artifactId>mybatis</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.activiti</groupId>
|
|
|
|
|
<artifactId>activiti-explorer</artifactId>
|
|
|
|
|
<version>${activiti.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>vaadin</artifactId>
|
|
|
|
|
<groupId>com.vaadin</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>dcharts-widget</artifactId>
|
|
|
|
|
<groupId>org.vaadin.addons</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>activiti-simple-workflow</artifactId>
|
|
|
|
|
<groupId>org.activiti</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>groovy-all</artifactId>
|
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 支持JDK11 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.codehaus.groovy</groupId>
|
|
|
|
|
<artifactId>groovy-all</artifactId>
|
2022-05-05 16:43:58 +08:00
|
|
|
|
<version>${groovy-all.version}</version>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.activiti</groupId>
|
|
|
|
|
<artifactId>activiti-diagram-rest</artifactId>
|
|
|
|
|
<version>${activiti.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.activiti</groupId>
|
|
|
|
|
<artifactId>activiti-modeler</artifactId>
|
|
|
|
|
<version>${activiti.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- end activiti -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.bstek.ureport</groupId>
|
|
|
|
|
<artifactId>ureport2-console</artifactId>
|
|
|
|
|
<version>${ureport2.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.javen205</groupId>
|
|
|
|
|
<artifactId>IJPay-AliPay</artifactId>
|
|
|
|
|
<version>${IJPay.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- 亚微单点登录 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.yawei.oav2</groupId>
|
|
|
|
|
<artifactId>yawei-pso</artifactId>
|
|
|
|
|
<scope>system</scope>
|
2022-10-24 15:12:59 +08:00
|
|
|
|
<systemPath>${project.basedir}/lib/yawei-pso-${yawei-pso.version}.jar</systemPath>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
<version>${yawei-pso.version}</version>
|
|
|
|
|
</dependency>
|
2022-10-24 13:59:40 +08:00
|
|
|
|
<!-- en ke video -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>sw.vc3term</groupId>
|
|
|
|
|
<artifactId>contingencyplan</artifactId>
|
|
|
|
|
<scope>system</scope>
|
2022-10-24 15:12:59 +08:00
|
|
|
|
<systemPath>${project.basedir}/lib/contingencyplan-${contingencyplan.version}.jar</systemPath>
|
|
|
|
|
<version>${contingencyplan.version}</version>
|
2022-10-24 13:59:40 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<!-- en ke video -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.json</groupId>
|
|
|
|
|
<artifactId>json</artifactId>
|
2022-10-24 15:12:59 +08:00
|
|
|
|
<version>${org.json.json.verison}</version>
|
2022-10-24 13:59:40 +08:00
|
|
|
|
</dependency>
|
2022-04-26 20:37:19 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.belerweb</groupId>
|
|
|
|
|
<artifactId>pinyin4j</artifactId>
|
2022-05-05 16:43:58 +08:00
|
|
|
|
<version>${pinyin4j.version}</version>
|
2022-04-26 20:37:19 +08:00
|
|
|
|
</dependency>
|
2022-05-26 18:59:34 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-test-autoconfigure</artifactId>
|
|
|
|
|
</dependency>
|
2022-06-01 16:52:51 +08:00
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
2022-06-01 18:19:08 +08:00
|
|
|
|
<version>${fastjson.version}</version>
|
2022-06-01 16:52:51 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
<!--缓存-->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
2022-06-01 18:19:08 +08:00
|
|
|
|
<version>${spring-boot-starter-cache.version}</version>
|
2022-06-01 16:52:51 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.sf.ehcache</groupId>
|
|
|
|
|
<artifactId>ehcache</artifactId>
|
2022-06-01 18:19:08 +08:00
|
|
|
|
<version>${ehcache.version}</version>
|
2022-06-01 16:52:51 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2022-06-11 19:05:22 +08:00
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.squareup.okhttp3</groupId>
|
|
|
|
|
<artifactId>okhttp</artifactId>
|
|
|
|
|
<version>${okhttp.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2022-06-14 16:05:27 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-data-jdbc</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.flywaydb/flyway-core -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.flywaydb</groupId>
|
|
|
|
|
<artifactId>flyway-core</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
2022-06-11 19:05:22 +08:00
|
|
|
|
|
2022-06-01 18:19:08 +08:00
|
|
|
|
<!-- javacv+javacpp核心库-->
|
2022-06-01 16:52:51 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
2022-06-01 18:19:08 +08:00
|
|
|
|
<artifactId>javacv</artifactId>
|
|
|
|
|
<version>${javacv.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
<artifactId>javacpp-platform</artifactId>
|
|
|
|
|
<version>${javacv.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- ffmpeg最小依赖包,必须包含上面的javacv+javacpp核心库 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
<artifactId>ffmpeg</artifactId>
|
|
|
|
|
<version>${ffmpeg.version}-${javacv.version}</version>
|
|
|
|
|
<classifier>${system.linux-x86_64}</classifier>
|
2022-06-01 16:52:51 +08:00
|
|
|
|
</dependency>
|
2022-06-30 09:41:38 +08:00
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.unicon.cas</groupId>
|
|
|
|
|
<artifactId>cas-client-autoconfig-support</artifactId>
|
2022-09-02 11:32:15 +08:00
|
|
|
|
<version>${cas-client-autoconfig-support.version}</version>
|
2022-06-30 09:41:38 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2022-04-21 15:16:26 +08:00
|
|
|
|
</dependencies>
|
2022-04-11 15:03:55 +08:00
|
|
|
|
|
2022-04-21 15:16:26 +08:00
|
|
|
|
<build>
|
|
|
|
|
<finalName>${project.artifactId}</finalName>
|
2022-05-06 16:35:03 +08:00
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<excludes>
|
2022-05-09 10:47:03 +08:00
|
|
|
|
<!-- 排除生产环境配置 -->
|
2022-07-18 15:07:10 +08:00
|
|
|
|
<exclude>application-bt.yml</exclude>
|
2022-11-10 15:24:37 +08:00
|
|
|
|
<!-- <exclude>application-dev.yml</exclude> -->
|
2022-11-07 10:27:23 +08:00
|
|
|
|
<exclude>application-hwx.yml</exclude>
|
|
|
|
|
<exclude>application-my.yml</exclude>
|
|
|
|
|
<exclude>application-prod.yml</exclude>
|
|
|
|
|
<exclude>application-show.yml</exclude>
|
|
|
|
|
<exclude>application-test.yml</exclude>
|
2022-07-18 15:07:10 +08:00
|
|
|
|
<exclude>application-xha.yml</exclude>
|
2022-06-19 09:31:12 +08:00
|
|
|
|
<!-- 排除flyway管理的sql -->
|
2022-06-22 19:33:20 +08:00
|
|
|
|
<exclude>db/*.sql</exclude>
|
|
|
|
|
<exclude>domain/**</exclude>
|
2022-05-06 16:35:03 +08:00
|
|
|
|
</excludes>
|
|
|
|
|
</resource>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
|
<filtering>true</filtering>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>application.properties</include>
|
|
|
|
|
<include>application-${profile.env}.properties</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
|
2022-04-21 15:16:26 +08:00
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2022-05-06 16:35:03 +08:00
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
<configuration>
|
2022-05-06 16:35:03 +08:00
|
|
|
|
<classesDirectory>target/classes/</classesDirectory>
|
|
|
|
|
<archive>
|
|
|
|
|
<!--生成的jar包不包含maven描述相关文件-->
|
|
|
|
|
<addMavenDescriptor>false</addMavenDescriptor>
|
|
|
|
|
<manifest>
|
|
|
|
|
<!--项目启动类-->
|
|
|
|
|
<mainClass>io.renren.AdminApplication</mainClass>
|
|
|
|
|
<useUniqueVersions>false</useUniqueVersions>
|
|
|
|
|
<!--第三方JAR加入类构建的路径maven-dependency-plugin-->
|
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
|
<!--外部依赖jar包的位置-->
|
|
|
|
|
<classpathPrefix>lib/</classpathPrefix>
|
|
|
|
|
</manifest>
|
|
|
|
|
<manifestEntries>
|
2022-11-07 10:27:23 +08:00
|
|
|
|
<Class-Path>. lib/yawei-pso-${yawei-pso.version}.jar
|
|
|
|
|
lib/contingencyplan-${contingencyplan.version}.jar
|
|
|
|
|
</Class-Path>
|
2022-05-06 16:35:03 +08:00
|
|
|
|
</manifestEntries>
|
|
|
|
|
</archive>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2022-05-06 16:35:03 +08:00
|
|
|
|
<!--关键插件,maven提供的assembly插件,需要放在最后-->
|
2022-04-21 15:16:26 +08:00
|
|
|
|
<plugin>
|
2022-05-06 16:35:03 +08:00
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>make-tar.gz</id>
|
|
|
|
|
<!--绑定的maven操作-->
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<!--运行一次-->
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>single</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
|
|
|
|
|
<!--如果不想在打包的后缀加上assembly.xml中设置的id,可以加上下面的配置-->
|
|
|
|
|
<!--<appendAssemblyId>false</appendAssemblyId>-->
|
|
|
|
|
|
|
|
|
|
<!--指定assembly插件对应的assembly.xml配置文件-->
|
|
|
|
|
<descriptors>
|
|
|
|
|
<descriptor>src/main/resources/assembly/assembly.xml</descriptor>
|
|
|
|
|
</descriptors>
|
2022-05-12 11:31:48 +08:00
|
|
|
|
|
|
|
|
|
<archive>
|
|
|
|
|
<manifest>
|
|
|
|
|
<addClasspath>true</addClasspath>
|
|
|
|
|
<classpathPrefix>libs/</classpathPrefix>
|
|
|
|
|
</manifest>
|
|
|
|
|
</archive>
|
2022-05-06 16:35:03 +08:00
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
</plugin>
|
2022-06-30 14:16:06 +08:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
<version>0.2.8</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>docker</id>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>build</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
<configuration>
|
|
|
|
|
<dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
|
|
|
|
|
<!-- 指定本地docker -->
|
2022-08-04 10:55:34 +08:00
|
|
|
|
<dockerHost>http://192.168.124.46:2375</dockerHost>
|
2022-06-30 14:16:06 +08:00
|
|
|
|
<!-- Configure the image name -->
|
|
|
|
|
<imageName>hisense/share-platform</imageName>
|
|
|
|
|
<imageTags>
|
|
|
|
|
<imageTag>${project.version}</imageTag>
|
|
|
|
|
</imageTags>
|
|
|
|
|
<forceTags>true</forceTags>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<targetPath>/application</targetPath>
|
|
|
|
|
<directory>${project.build.directory}</directory>
|
|
|
|
|
<includes>
|
2022-06-30 15:58:43 +08:00
|
|
|
|
<include>renren-admin-1.0.tar.gz</include>
|
2022-06-30 14:16:06 +08:00
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2022-04-21 15:16:26 +08:00
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2022-04-11 15:03:55 +08:00
|
|
|
|
</project>
|