Browse Source

update pom.xml to v4.0.1-RELEASE

deason 4 years ago
parent
commit
0b554c8a49
6 changed files with 8 additions and 110 deletions
  1. 4 87
      pom.xml
  2. 0 19
      shell/jenkins.sh
  3. 1 1
      shell/start.args
  4. 1 1
      shell/start.sh
  5. 1 1
      shell/start.vmoptions
  6. 1 1
      shell/stop.sh

+ 4 - 87
pom.xml

@@ -3,17 +3,17 @@
          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>
     <artifactId>examcloud-app-api</artifactId>
-    <version>v3.0-RELEASE</version>
+    <version>v4.0.1-RELEASE</version>
     <packaging>jar</packaging>
 
     <parent>
         <groupId>cn.com.qmth.examcloud</groupId>
         <artifactId>examcloud-parent</artifactId>
-        <version>v3.0-RELEASE</version>
+        <version>v4.0.1-RELEASE</version>
     </parent>
 
     <properties>
-        <examcloud.version>v3.0-RELEASE</examcloud.version>
+        <examcloud.version>v4.0.1-RELEASE</examcloud.version>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
         <java.version>1.8</java.version>
@@ -67,10 +67,6 @@
             <groupId>io.springfox</groupId>
             <artifactId>springfox-swagger2</artifactId>
         </dependency>
-        <dependency>
-            <groupId>com.github.xiaoymin</groupId>
-            <artifactId>swagger-bootstrap-ui</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-freemarker</artifactId>
@@ -98,86 +94,6 @@
         </dependency>
     </dependencies>
 
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>com.squareup.okhttp3</groupId>
-                <artifactId>okhttp</artifactId>
-                <version>4.2.2</version>
-            </dependency>
-            <dependency>
-                <groupId>com.alibaba</groupId>
-                <artifactId>fastjson</artifactId>
-                <version>1.2.71</version>
-            </dependency>
-            <dependency>
-                <groupId>com.google.guava</groupId>
-                <artifactId>guava</artifactId>
-                <version>28.1-jre</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.commons</groupId>
-                <artifactId>commons-lang3</artifactId>
-                <version>3.9</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.commons</groupId>
-                <artifactId>commons-compress</artifactId>
-                <version>1.19</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-collections</groupId>
-                <artifactId>commons-collections</artifactId>
-                <version>3.2.2</version>
-            </dependency>
-            <dependency>
-                <groupId>commons-codec</groupId>
-                <artifactId>commons-codec</artifactId>
-                <version>1.13</version>
-            </dependency>
-            <dependency>
-                <groupId>com.google.code.findbugs</groupId>
-                <artifactId>jsr305</artifactId>
-                <version>3.0.2</version>
-            </dependency>
-            <dependency>
-                <groupId>org.javassist</groupId>
-                <artifactId>javassist</artifactId>
-                <version>3.26.0-GA</version>
-            </dependency>
-            <dependency>
-                <groupId>com.mchange</groupId>
-                <artifactId>mchange-commons-java</artifactId>
-                <version>0.2.19</version>
-            </dependency>
-            <dependency>
-                <groupId>org.assertj</groupId>
-                <artifactId>assertj-core</artifactId>
-                <version>3.14.0</version>
-            </dependency>
-            <dependency>
-                <groupId>io.swagger</groupId>
-                <artifactId>swagger-annotations</artifactId>
-                <version>1.5.24</version>
-            </dependency>
-            <dependency>
-                <groupId>io.swagger</groupId>
-                <artifactId>swagger-models</artifactId>
-                <version>1.5.24</version>
-            </dependency>
-            <dependency>
-                <groupId>io.springfox</groupId>
-                <artifactId>springfox-swagger2</artifactId>
-                <version>2.9.2</version>
-            </dependency>
-            <dependency>
-                <groupId>com.github.xiaoymin</groupId>
-                <artifactId>swagger-bootstrap-ui</artifactId>
-                <version>1.9.6</version>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
     <build>
         <plugins>
             <plugin>
@@ -213,6 +129,7 @@
                         <exclude>*.properties</exclude>
                         <exclude>*.xml</exclude>
                         <exclude>*.conf</exclude>
+                        <exclude>classpath.location</exclude>
                     </excludes>
                 </configuration>
             </plugin>

+ 0 - 19
shell/jenkins.sh

@@ -1,19 +0,0 @@
-#!/bin/bash
-pwd
-
-rm -rf /home/qmth/project/examcloud/examcloud-app-api-distribution.zip
-rm -rf /home/qmth/project/examcloud/examcloud-app-api/lib
-rm -rf /home/qmth/project/examcloud/examcloud-app-api/config
-
-cp target/examcloud-app-api-distribution.zip ~/project/examcloud/
-
-cd  ~/project/examcloud/
-unzip -o -q examcloud-app-api-distribution.zip
-
-cd examcloud-app-api
-echo "--spring.profiles.active=test --examcloud.startup.configCenterHost=localhost" > start.args
-echo "-server -Xms512m -Xmx512m  -XX:-UseGCOverheadLimit" > start.vmoptions
-
-bash stop.sh
-BUILD_ID=DONTKILLME
-bash start.sh 110

+ 1 - 1
shell/start.args

@@ -1 +1 @@
---spring.profiles.active=test
+--spring.profiles.active=dev --examcloud.startup.configCenterHost=192.168.10.39

+ 1 - 1
shell/start.sh

@@ -2,7 +2,7 @@
 
 FILE_PATH=$(cd `dirname $0`; pwd)
 
-APP_MAIN_JAR="examcloud-app-api-v3.0-RELEASE.jar"
+APP_MAIN_JAR="examcloud-app-api-v4.0.1-RELEASE.jar"
 
 JAVA_OPTS=`cat $FILE_PATH/start.vmoptions`
 APP_ARGS=`cat $FILE_PATH/start.args`

+ 1 - 1
shell/start.vmoptions

@@ -1 +1 @@
--server -Xms512m -Xmx512m
+-server -Xms256m -Xmx256m -XX:-UseGCOverheadLimit -Dlog.commonLevel=INFO

+ 1 - 1
shell/stop.sh

@@ -2,7 +2,7 @@
 
 FILE_PATH=$(cd `dirname $0`; pwd)
 
-APP_MAIN_JAR="examcloud-app-api-v3.0-RELEASE.jar"
+APP_MAIN_JAR="examcloud-app-api-v4.0.1-RELEASE.jar"
 
 PID_LIST=`ps -ef|grep $APP_MAIN_JAR|grep java|awk '{print $2}'`