Browse Source

update pom.xml to v4.0.1-RELEASE

deason 4 years ago
parent
commit
30291cf796

+ 1 - 1
examcloud-core-questions-api-provider/pom.xml

@@ -8,7 +8,7 @@
     <parent>
         <artifactId>examcloud-core-questions</artifactId>
         <groupId>cn.com.qmth.examcloud.core.questions</groupId>
-        <version>v3.0-RELEASE</version>
+        <version>v4.0.1-RELEASE</version>
     </parent>
 
     <dependencies>

+ 106 - 114
examcloud-core-questions-base/pom.xml

@@ -1,119 +1,111 @@
 <?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">
-	<modelVersion>4.0.0</modelVersion>
-	<parent>
-		<artifactId>examcloud-core-questions</artifactId>
-		<groupId>cn.com.qmth.examcloud.core.questions</groupId>
-		<version>v3.0-RELEASE</version>
-	</parent>
-	<artifactId>examcloud-core-questions-base</artifactId>
-	<packaging>jar</packaging>
+<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">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <artifactId>examcloud-core-questions</artifactId>
+        <groupId>cn.com.qmth.examcloud.core.questions</groupId>
+        <version>v4.0.1-RELEASE</version>
+    </parent>
+    <artifactId>examcloud-core-questions-base</artifactId>
+    <packaging>jar</packaging>
 
-	<dependencies>
-		<dependency>
-			<groupId>org.springframework.boot</groupId>
-			<artifactId>spring-boot-starter-data-mongodb</artifactId>
-			<exclusions>
-				<exclusion>
-					<groupId>org.springframework.boot</groupId>
-					<artifactId>spring-boot-starter-logging</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-		<dependency>
-			<groupId>cn.com.qmth.examcloud</groupId>
-			<artifactId>examcloud-web</artifactId>
-			<version>${examcloud.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>cn.com.qmth.examcloud</groupId>
-			<artifactId>examcloud-support</artifactId>
-			<version>${examcloud.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>cn.com.qmth.examcloud.question</groupId>
-			<artifactId>examcloud-question-commons</artifactId>
-			<version>${examcloud.version}</version>
-		</dependency>
+    <dependencies>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-data-mongodb</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-starter-logging</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud</groupId>
+            <artifactId>examcloud-web</artifactId>
+            <version>${examcloud.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud</groupId>
+            <artifactId>examcloud-support</artifactId>
+            <version>${examcloud.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.question</groupId>
+            <artifactId>examcloud-question-commons</artifactId>
+            <version>${examcloud.version}</version>
+        </dependency>
 
-		<dependency>
-			<groupId>cn.com.qmth.examcloud.rpc</groupId>
-			<artifactId>examcloud-global-api-client</artifactId>
-			<version>${examcloud.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>cn.com.qmth.examcloud.rpc</groupId>
-			<artifactId>examcloud-core-basic-api-client</artifactId>
-			<version>${examcloud.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>cn.com.qmth.examcloud.rpc</groupId>
-			<artifactId>examcloud-core-examwork-api-client</artifactId>
-			<version>${examcloud.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>cn.com.qmth.examcloud.rpc</groupId>
-			<artifactId>examcloud-core-print-api-client</artifactId>
-			<version>${examcloud.version}</version>
-		</dependency>
-		<dependency>
-			<groupId>cn.com.qmth.examcloud.rpc</groupId>
-			<artifactId>examcloud-core-questions-api-client</artifactId>
-			<version>${examcloud.version}</version>
-		</dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.rpc</groupId>
+            <artifactId>examcloud-global-api-client</artifactId>
+            <version>${examcloud.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.rpc</groupId>
+            <artifactId>examcloud-core-basic-api-client</artifactId>
+            <version>${examcloud.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.rpc</groupId>
+            <artifactId>examcloud-core-examwork-api-client</artifactId>
+            <version>${examcloud.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.rpc</groupId>
+            <artifactId>examcloud-core-print-api-client</artifactId>
+            <version>${examcloud.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.rpc</groupId>
+            <artifactId>examcloud-core-questions-api-client</artifactId>
+            <version>${examcloud.version}</version>
+        </dependency>
 
-		<dependency>
-			<groupId>com.upyun</groupId>
-			<artifactId>java-sdk</artifactId>
-			<version>3.16</version>
-		</dependency>
-		<dependency>
-			<groupId>org.docx4j</groupId>
-			<artifactId>docx4j-ImportXHTML</artifactId>
-			<version>6.1.0</version>
-			<exclusions>
-				<exclusion>
-					<groupId>org.slf4j</groupId>
-					<artifactId>slf4j-api</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.slf4j</groupId>
-					<artifactId>slf4j-log4j12</artifactId>
-				</exclusion>
-				<exclusion>
-					<groupId>org.slf4j</groupId>
-					<artifactId>jcl-over-slf4j</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-		<dependency>
-			<groupId>net.sourceforge.jeuclid</groupId>
-			<artifactId>jeuclid-core</artifactId>
-			<version>3.1.9</version>
-			<exclusions>
-				<exclusion>
-					<groupId>org.apache.xmlgraphics</groupId>
-					<artifactId>xmlgraphics-commons</artifactId>
-				</exclusion>
-			</exclusions>
-		</dependency>
-		<dependency>
-			<groupId>net.sf.saxon</groupId>
-			<artifactId>Saxon-HE</artifactId>
-			<version>9.9.1-5</version>
-		</dependency>
-		<dependency>
-			<groupId>org.ansj</groupId>
-			<artifactId>ansj_seg</artifactId>
-			<version>5.1.6</version>
-		</dependency>
-		<dependency>
-			<groupId>com.esotericsoftware</groupId>
-			<artifactId>reflectasm</artifactId>
-			<version>1.11.9</version>
-		</dependency>
-
-	</dependencies>
+        <dependency>
+            <groupId>com.upyun</groupId>
+            <artifactId>java-sdk</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.docx4j</groupId>
+            <artifactId>docx4j-ImportXHTML</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-api</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>slf4j-log4j12</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.slf4j</groupId>
+                    <artifactId>jcl-over-slf4j</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>net.sourceforge.jeuclid</groupId>
+            <artifactId>jeuclid-core</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.xmlgraphics</groupId>
+                    <artifactId>xmlgraphics-commons</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>net.sf.saxon</groupId>
+            <artifactId>Saxon-HE</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.ansj</groupId>
+            <artifactId>ansj_seg</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.esotericsoftware</groupId>
+            <artifactId>reflectasm</artifactId>
+        </dependency>
+    </dependencies>
 </project>

+ 1 - 1
examcloud-core-questions-dao/pom.xml

@@ -4,7 +4,7 @@
 	<parent>
 		<artifactId>examcloud-core-questions</artifactId>
 		<groupId>cn.com.qmth.examcloud.core.questions</groupId>
-		<version>v3.0-RELEASE</version>
+		<version>v4.0.1-RELEASE</version>
 	</parent>
 	<artifactId>examcloud-core-questions-dao</artifactId>
 	<packaging>jar</packaging>

+ 1 - 1
examcloud-core-questions-service/pom.xml

@@ -4,7 +4,7 @@
 	<parent>
 		<artifactId>examcloud-core-questions</artifactId>
 		<groupId>cn.com.qmth.examcloud.core.questions</groupId>
-		<version>v3.0-RELEASE</version>
+		<version>v4.0.1-RELEASE</version>
 	</parent>
 	<artifactId>examcloud-core-questions-service</artifactId>
 	<packaging>jar</packaging>

+ 1 - 1
examcloud-core-questions-starter/pom.xml

@@ -5,7 +5,7 @@
 	<parent>
 		<groupId>cn.com.qmth.examcloud.core.questions</groupId>
 		<artifactId>examcloud-core-questions</artifactId>
-		<version>v3.0-RELEASE</version>
+		<version>v4.0.1-RELEASE</version>
 	</parent>
 	<artifactId>examcloud-core-questions-starter</artifactId>
 	<packaging>jar</packaging>

+ 0 - 19
examcloud-core-questions-starter/shell/jenkins.sh

@@ -1,19 +0,0 @@
-#!/bin/bash
-pwd
-
-rm -rf /home/qmth/project/examcloud/examcloud-core-questions-distribution.zip
-rm -rf /home/qmth/project/examcloud/examcloud-core-questions/lib
-rm -rf /home/qmth/project/examcloud/examcloud-core-questions/config
-
-cp examcloud-core-questions-starter/target/examcloud-core-questions-distribution.zip ~/project/examcloud/
-
-cd  ~/project/examcloud/
-unzip -o -q examcloud-core-questions-distribution.zip
-
-cd examcloud-core-questions
-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
examcloud-core-questions-starter/shell/start.args

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

+ 1 - 1
examcloud-core-questions-starter/shell/start.sh

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

+ 1 - 1
examcloud-core-questions-starter/shell/start.vmoptions

@@ -1 +1 @@
--server -Xms2g -Xmx2g
+-server -Xms256m -Xmx256m -XX:-UseGCOverheadLimit -Dlog.commonLevel=INFO

+ 1 - 1
examcloud-core-questions-starter/shell/stop.sh

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

+ 2 - 2
pom.xml

@@ -4,11 +4,11 @@
 	<parent>
 		<groupId>cn.com.qmth.examcloud</groupId>
 		<artifactId>examcloud-parent</artifactId>
-		<version>v3.0-RELEASE</version>
+		<version>v4.0.1-RELEASE</version>
 	</parent>
 	<groupId>cn.com.qmth.examcloud.core.questions</groupId>
 	<artifactId>examcloud-core-questions</artifactId>
-	<version>v3.0-RELEASE</version>
+	<version>v4.0.1-RELEASE</version>
 	<packaging>pom</packaging>
 
 	<modules>