wangwei 5 年之前
父节点
当前提交
232e7b538f

+ 2 - 3
examcloud-core-basic-starter/pom.xml

@@ -1,6 +1,5 @@
 <?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"
+<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>
@@ -39,7 +38,7 @@
 						<exclude>templates/*</exclude>
 						<exclude>*.properties</exclude>
 						<exclude>*.xml </exclude>
-						<exclude>*.conf </exclude>
+						<exclude>classpath.location</exclude>
 					</excludes>
 				</configuration>
 			</plugin>

+ 8 - 0
examcloud-core-basic-starter/src/main/java/cn/com/qmth/examcloud/core/basic/starter/Tester.java

@@ -1,12 +1,20 @@
 package cn.com.qmth.examcloud.core.basic.starter;
 
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Component;
 
+import cn.com.qmth.examcloud.web.config.SystemProperties;
+
 @Component
 public class Tester {
 
+	@Autowired
+	SystemProperties systemProperties;
+
 	public void test() {
 
+		String tempDataDir = systemProperties.getTempDataDir();
+		System.out.println(tempDataDir);
 	}
 
 }