Browse Source

项目编译报错修改

weifanli 3 years ago
parent
commit
c82103e43e

+ 28 - 21
cooleshow-gateway/pom.xml

@@ -1,28 +1,35 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<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>
+<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>
+        <groupId>com.yonge.cooleshow</groupId>
+        <artifactId>cooleshow</artifactId>
+        <version>1.0</version>
+    </parent>
+
     <groupId>com.yonge.cooleshow</groupId>
-    <artifactId>cooleshow</artifactId>
+    <artifactId>cooleshow-gateway</artifactId>
     <version>1.0</version>
-  </parent>
-
-  <groupId>com.yonge.cooleshow</groupId>
-  <artifactId>cooleshow-gateway</artifactId>
-  <version>1.0</version>
-  <packaging>pom</packaging>
+    <packaging>pom</packaging>
 
-  <name>cooleshow-gateway</name>
-  <url>http://maven.apache.org</url>
+    <name>cooleshow-gateway</name>
+    <url>http://maven.apache.org</url>
 
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-  </properties>
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    </properties>
 
-  <dependencies>
-  </dependencies>
-<modules>  <module>gateway-admin</module>
-    <module>gateway-web</module>
-  </modules>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-lang3</artifactId>
+            <version>3.8.1</version>
+        </dependency>
+    </dependencies>
+    <modules>
+        <module>gateway-admin</module>
+        <module>gateway-web</module>
+    </modules>
 </project>

BIN
toolset/thirdparty-component/libs/utils-3.0.6.jar


+ 25 - 0
toolset/thirdparty-component/pom.xml

@@ -64,5 +64,30 @@
 			<scope>system</scope>
 			<systemPath>${project.basedir}/libs/tech-sdk-2.1.20.jar</systemPath>
 		</dependency>
+
+		<dependency>
+			<groupId>com.timevale</groupId>
+			<artifactId>utils</artifactId>
+			<version>3.0.6</version>
+			<scope>system</scope>
+			<systemPath>${project.basedir}/libs/utils-3.0.6.jar</systemPath>
+		</dependency>
 	</dependencies>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<configuration>
+					<source>1.8</source>
+					<target>1.8</target>
+					<encoding>UTF-8</encoding>
+					<compilerArguments>
+						<extdirs>${project.basedir}/libs</extdirs>
+					</compilerArguments>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
 </project>