|
@@ -11,7 +11,7 @@
|
|
<parent>
|
|
<parent>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
- <version>2.0.0.RELEASE</version>
|
|
|
|
|
|
+ <version>2.0.3.RELEASE</version>
|
|
</parent>
|
|
</parent>
|
|
|
|
|
|
<properties>
|
|
<properties>
|
|
@@ -19,18 +19,18 @@
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
<java.version>1.8</java.version>
|
|
<java.version>1.8</java.version>
|
|
<mybatisplus.spring.boot.version>1.0.5</mybatisplus.spring.boot.version>
|
|
<mybatisplus.spring.boot.version>1.0.5</mybatisplus.spring.boot.version>
|
|
- <mybatisplus.version>2.1.9</mybatisplus.version>
|
|
|
|
|
|
+ <mybatisplus.version>2.2.0</mybatisplus.version>
|
|
<mysql.version>5.1.38</mysql.version>
|
|
<mysql.version>5.1.38</mysql.version>
|
|
<mssql.version>4.0</mssql.version>
|
|
<mssql.version>4.0</mssql.version>
|
|
<oracle.version>11.2.0.3</oracle.version>
|
|
<oracle.version>11.2.0.3</oracle.version>
|
|
- <druid.version>1.1.9</druid.version>
|
|
|
|
|
|
+ <druid.version>1.1.10</druid.version>
|
|
<quartz.version>2.3.0</quartz.version>
|
|
<quartz.version>2.3.0</quartz.version>
|
|
<commons.lang.version>2.6</commons.lang.version>
|
|
<commons.lang.version>2.6</commons.lang.version>
|
|
<commons.fileupload.version>1.2.2</commons.fileupload.version>
|
|
<commons.fileupload.version>1.2.2</commons.fileupload.version>
|
|
<commons.io.version>2.5</commons.io.version>
|
|
<commons.io.version>2.5</commons.io.version>
|
|
<commons.codec.version>1.10</commons.codec.version>
|
|
<commons.codec.version>1.10</commons.codec.version>
|
|
<commons.configuration.version>1.10</commons.configuration.version>
|
|
<commons.configuration.version>1.10</commons.configuration.version>
|
|
- <shiro.version>1.3.2</shiro.version>
|
|
|
|
|
|
+ <shiro.version>1.4.0</shiro.version>
|
|
<jwt.version>0.7.0</jwt.version>
|
|
<jwt.version>0.7.0</jwt.version>
|
|
<kaptcha.version>0.0.9</kaptcha.version>
|
|
<kaptcha.version>0.0.9</kaptcha.version>
|
|
<qiniu.version>[7.2.0, 7.2.99]</qiniu.version>
|
|
<qiniu.version>[7.2.0, 7.2.99]</qiniu.version>
|
|
@@ -39,6 +39,7 @@
|
|
<swagger.version>2.8.0</swagger.version>
|
|
<swagger.version>2.8.0</swagger.version>
|
|
<joda.time.version>2.9.9</joda.time.version>
|
|
<joda.time.version>2.9.9</joda.time.version>
|
|
<fastjson.version>1.2.45</fastjson.version>
|
|
<fastjson.version>1.2.45</fastjson.version>
|
|
|
|
+ <hutool.version>4.1.1</hutool.version>
|
|
|
|
|
|
<!--wagon plugin 配置-->
|
|
<!--wagon plugin 配置-->
|
|
<service-path>/work/renren</service-path>
|
|
<service-path>/work/renren</service-path>
|
|
@@ -50,11 +51,6 @@
|
|
|
|
|
|
<dependencies>
|
|
<dependencies>
|
|
<dependency>
|
|
<dependency>
|
|
- <groupId>com.alibaba</groupId>
|
|
|
|
- <artifactId>fastjson</artifactId>
|
|
|
|
- <version>${fastjson.version}</version>
|
|
|
|
- </dependency>
|
|
|
|
- <dependency>
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
<scope>test</scope>
|
|
@@ -101,22 +97,22 @@
|
|
<version>${mysql.version}</version>
|
|
<version>${mysql.version}</version>
|
|
</dependency>
|
|
</dependency>
|
|
<!--oracle驱动-->
|
|
<!--oracle驱动-->
|
|
- <dependency>
|
|
|
|
- <groupId>com.oracle</groupId>
|
|
|
|
- <artifactId>ojdbc6</artifactId>
|
|
|
|
- <version>${oracle.version}</version>
|
|
|
|
- </dependency>
|
|
|
|
|
|
+ <!--<dependency>-->
|
|
|
|
+ <!--<groupId>com.oracle</groupId>-->
|
|
|
|
+ <!--<artifactId>ojdbc6</artifactId>-->
|
|
|
|
+ <!--<version>${oracle.version}</version>-->
|
|
|
|
+ <!--</dependency>-->
|
|
<!--mssql驱动-->
|
|
<!--mssql驱动-->
|
|
- <dependency>
|
|
|
|
- <groupId>com.microsoft.sqlserver</groupId>
|
|
|
|
- <artifactId>sqljdbc4</artifactId>
|
|
|
|
- <version>${mssql.version}</version>
|
|
|
|
- </dependency>
|
|
|
|
|
|
+ <!--<dependency>-->
|
|
|
|
+ <!--<groupId>com.microsoft.sqlserver</groupId>-->
|
|
|
|
+ <!--<artifactId>sqljdbc4</artifactId>-->
|
|
|
|
+ <!--<version>${mssql.version}</version>-->
|
|
|
|
+ <!--</dependency>-->
|
|
<!--postgresql驱动-->
|
|
<!--postgresql驱动-->
|
|
- <dependency>
|
|
|
|
- <groupId>org.postgresql</groupId>
|
|
|
|
- <artifactId>postgresql</artifactId>
|
|
|
|
- </dependency>
|
|
|
|
|
|
+ <!--<dependency>-->
|
|
|
|
+ <!--<groupId>org.postgresql</groupId>-->
|
|
|
|
+ <!--<artifactId>postgresql</artifactId>-->
|
|
|
|
+ <!--</dependency>-->
|
|
<dependency>
|
|
<dependency>
|
|
<groupId>com.alibaba</groupId>
|
|
<groupId>com.alibaba</groupId>
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
@@ -214,6 +210,16 @@
|
|
<artifactId>joda-time</artifactId>
|
|
<artifactId>joda-time</artifactId>
|
|
<version>${joda.time.version}</version>
|
|
<version>${joda.time.version}</version>
|
|
</dependency>
|
|
</dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>com.alibaba</groupId>
|
|
|
|
+ <artifactId>fastjson</artifactId>
|
|
|
|
+ <version>${fastjson.version}</version>
|
|
|
|
+ </dependency>
|
|
|
|
+ <dependency>
|
|
|
|
+ <groupId>cn.hutool</groupId>
|
|
|
|
+ <artifactId>hutool-all</artifactId>
|
|
|
|
+ <version>${hutool.version}</version>
|
|
|
|
+ </dependency>
|
|
</dependencies>
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
<build>
|
|
@@ -250,8 +256,7 @@
|
|
<url><![CDATA[scp://${remote-username}:${remote-passwd}@${remote-addr}${service-path}]]></url>
|
|
<url><![CDATA[scp://${remote-username}:${remote-passwd}@${remote-addr}${service-path}]]></url>
|
|
<commands>
|
|
<commands>
|
|
<!-- Kill Old Process -->
|
|
<!-- Kill Old Process -->
|
|
- <command>pkill -f ${pack-name}</command>
|
|
|
|
- <command>rm -f ${service-path}/renren.log</command>
|
|
|
|
|
|
+ <command>kill -9 `ps -ef |grep ${project.artifactId}.jar|grep -v "grep" |awk '{print $2}'`</command>
|
|
<!-- Restart jar package,write result into renren.log -->
|
|
<!-- Restart jar package,write result into renren.log -->
|
|
<command><![CDATA[nohup java -jar ${service-path}/${pack-name} --spring.profiles.active=test > ${service-path}/renren.log 2>&1 & ]]></command>
|
|
<command><![CDATA[nohup java -jar ${service-path}/${pack-name} --spring.profiles.active=test > ${service-path}/renren.log 2>&1 & ]]></command>
|
|
<command><![CDATA[netstat -nptl]]></command>
|
|
<command><![CDATA[netstat -nptl]]></command>
|