Explorar el Código

解决打包问题

milo hace 1 año
padre
commit
5d69a28873

+ 14 - 0
code/SW_BIRD_MS/02.Development/bmp-base/pom.xml

@@ -25,4 +25,18 @@
 		<module>../bmp-kcgl</module>
 		<module>../device-general</module>
 	</modules>
+
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-compiler-plugin</artifactId>
+				<version>3.6.1</version>
+				<configuration>
+					<source>1.8</source>
+					<target>1.8</target>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
 </project>

+ 1 - 1
code/SW_BIRD_MS/02.Development/bmp-bird/pom.xml

@@ -8,7 +8,7 @@
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-<!--	    <project.basedir>E:\IDEAWorkSpace\ROBOT-APP\code\SW_BIRD_MS\02.Development\bmp-bird</project.basedir>-->
+	    <project.basedir>E:\IDEAWorkSpace\ROBOT-APP\code\SW_BIRD_MS\02.Development\bmp-bird</project.basedir>
 		<java.version>1.8</java.version>
 	    <skipTests>true</skipTests>
 		<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>

+ 3 - 3
code/SW_BIRD_MS/02.Development/bmp-common/pom.xml

@@ -8,7 +8,7 @@
 	<properties>
 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
 		<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
-<!--		<project.basedir>E:\IDEAWorkSpace\ROBOT-APP\code\SW_BIRD_MS\02.Development\bmp-common</project.basedir>-->
+		<project.basedir>E:\IDEAWorkSpace\ROBOT-APP\code\SW_BIRD_MS\02.Development\bmp-common</project.basedir>
 		<java.version>1.8</java.version>
 		<skipTests>true</skipTests>
 	</properties>
@@ -195,8 +195,8 @@
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-compiler-plugin</artifactId><!-- 非spring boot项目打包使用maven-compiler-plugin -->
 				<configuration>
-<!--					<source>1.8</source>-->
-<!--					<target>1.8</target>-->
+					<source>1.8</source>
+					<target>1.8</target>
 				</configuration>
 			</plugin>
 		</plugins>

+ 2 - 2
code/SW_BIRD_MS/02.Development/device-general/pom.xml

@@ -57,8 +57,8 @@
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-compiler-plugin</artifactId>
 				<configuration>
-<!--					<source>1.8</source>-->
-<!--					<target>1.8</target>-->
+					<source>1.8</source>
+					<target>1.8</target>
 				</configuration>
 			</plugin>
 		</plugins>