324 lines
14 KiB
XML
324 lines
14 KiB
XML
<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>
|
||
|
||
<properties>
|
||
<quartz.version>2.3.0</quartz.version>
|
||
<shiro.version>1.6.0</shiro.version>
|
||
<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>
|
||
<renren.version>2.9.0</renren.version>
|
||
<groovy-all.version>2.4.17</groovy-all.version>
|
||
<pinyin4j.version>2.5.1</pinyin4j.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>io.renren</groupId>
|
||
<artifactId>renren-common</artifactId>
|
||
<version>${renren.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.renren</groupId>
|
||
<artifactId>renren-dynamic-datasource</artifactId>
|
||
<version>${renren.version}</version>
|
||
</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>
|
||
</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>
|
||
<version>${groovy-all.version}</version>
|
||
</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>
|
||
<systemPath>${project.basedir}/lib/yawei-pso-2.0.2.jar</systemPath>
|
||
<version>${yawei-pso.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.belerweb</groupId>
|
||
<artifactId>pinyin4j</artifactId>
|
||
<version>${pinyin4j.version}</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<finalName>${project.artifactId}</finalName>
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<excludes>
|
||
<!-- <exclude>*.properties</exclude>-->
|
||
</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>
|
||
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-jar-plugin</artifactId>
|
||
<configuration>
|
||
<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>
|
||
<Class-Path>.</Class-Path>
|
||
</manifestEntries>
|
||
</archive>
|
||
</configuration>
|
||
</plugin>
|
||
<!--关键插件,maven提供的assembly插件,需要放在最后-->
|
||
<plugin>
|
||
<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>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
||
<!-- <configuration>-->
|
||
<!-- <includeSystemScope>true</includeSystemScope>-->
|
||
<!-- </configuration>-->
|
||
<!-- </plugin>-->
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
||
<!-- <artifactId>maven-surefire-plugin</artifactId>-->
|
||
<!-- <configuration>-->
|
||
<!-- <skipTests>true</skipTests>-->
|
||
<!-- </configuration>-->
|
||
<!-- </plugin>-->
|
||
<!-- <plugin>-->
|
||
<!-- <groupId>com.spotify</groupId>-->
|
||
<!-- <artifactId>docker-maven-plugin</artifactId>-->
|
||
<!-- <version>${docker.plugin.version}</version>-->
|
||
<!-- <configuration>-->
|
||
<!-- <imageName>renren/${project.artifactId}</imageName>-->
|
||
<!-- <dockerDirectory>${project.basedir}/</dockerDirectory>-->
|
||
<!-- <resources>-->
|
||
<!-- <resource>-->
|
||
<!-- <targetPath>/</targetPath>-->
|
||
<!-- <directory>${project.build.directory}</directory>-->
|
||
<!-- <include>${project.build.finalName}.jar</include>-->
|
||
<!-- </resource>-->
|
||
<!-- </resources>-->
|
||
<!-- </configuration>-->
|
||
<!-- </plugin>-->
|
||
</plugins>
|
||
</build>
|
||
</project> |