diff --git a/pom.xml b/pom.xml index 99282139..e143caf4 100644 --- a/pom.xml +++ b/pom.xml @@ -120,12 +120,12 @@ src/main/webapp - - - - + static/ + html/ + upload/ + template/ - + WEB-INF/ @@ -139,7 +139,6 @@ - org.springframework.boot spring-boot-maven-plugin @@ -148,6 +147,7 @@ true + org.apache.maven.plugins maven-compiler-plugin @@ -172,6 +172,27 @@ + + maven-assembly-plugin + 3.1.1 + + + build-package + package + + single + + + ms-mcms + + src/main/scripts/assembly.xml + + + + + + + compile diff --git a/src/main/scripts/assembly.xml b/src/main/scripts/assembly.xml new file mode 100644 index 00000000..d9a71c40 --- /dev/null +++ b/src/main/scripts/assembly.xml @@ -0,0 +1,55 @@ + + assembly + + + zip + + + true + + + + src/main/resources + ${file.separator}config + + */** + + + + bin + ${file.separator} + + */** + + + + src/main/webapp/static + ${file.separator}static + + */** + + + + src/main/webapp/template + ${file.separator}template + + */** + + + + src/main/webapp/WEB-INF + ${file.separator}WEB-INF + + */** + + + + + + + ${project.build.directory}/${project.build.finalName}.jar + ${file.separator} + + +