wangwei 7 年 前
コミット
2e3489d5aa

+ 4 - 3
examcloud-core-basic-starter/assembly.xml

@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
 	<id>distribution</id>
 	<formats>
 		<format>zip</format>
@@ -7,11 +8,11 @@
 	<fileSets>
 		<fileSet>
 			<directory>${project.basedir}/src/main/resources</directory>
-			<outputDirectory>/</outputDirectory>
+			<outputDirectory>/config</outputDirectory>
 		</fileSet>
 		<fileSet>
 			<directory>${project.basedir}/shell</directory>
-			<outputDirectory>\</outputDirectory>
+			<outputDirectory>/</outputDirectory>
 		</fileSet>
 	</fileSets>
 	<dependencySets>

+ 8 - 1
examcloud-core-basic-starter/pom.xml

@@ -29,7 +29,14 @@
 							<addClasspath>true</addClasspath>
 							<classpathPrefix>./</classpathPrefix>
 						</manifest>
+						<manifestEntries>
+							<Class-Path>../config/</Class-Path>
+						</manifestEntries>
 					</archive>
+					<excludes>
+						<exclude>*.properties</exclude>
+						<exclude>*.xml </exclude>
+					</excludes>
 				</configuration>
 			</plugin>
 			<plugin>
@@ -46,7 +53,7 @@
 						<id>make-assembly</id>
 						<phase>package</phase>
 						<goals>
-							<goal>single</goal>
+							<goal>assembly</goal>
 						</goals>
 					</execution>
 				</executions>