diff --git a/continew-server/pom.xml b/continew-server/pom.xml index adedb318..50d80fc5 100644 --- a/continew-server/pom.xml +++ b/continew-server/pom.xml @@ -81,82 +81,134 @@ ${project.parent.name} - + - org.apache.maven.plugins - maven-jar-plugin + org.springframework.boot + spring-boot-maven-plugin - - - ${config-path} - db/ - templates/ - logback-spring.xml - - - - ${main-class} - - ../${lib-path} - true - - false - - - - ../${config-path} - - - ${project.build.directory}/app/${bin-path} + true + ${skip.boot.repackage} - - - - org.apache.maven.plugins - maven-dependency-plugin - copy-dependencies - package - copy-dependencies + repackage - - ${project.build.directory}/app/${lib-path} - - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - copy-resources - package - - copy-resources - - - - - src/main/resources/${config-path} - - - src/main/resources - - db/ - templates/ - logback-spring.xml - - - - ${project.build.directory}/app/${config-path} - + + + + + fat_jar + + false + + + + + + slim_jar + + + true + + + true + + + lib/ + config/ + bin/ + + top.continew.admin.ContiNewAdminApplication + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + ${config-path} + db/ + templates/ + logback-spring.xml + + + + ${main-class} + + ../${lib-path} + true + + false + + + + ../${config-path} + + + ${project.build.directory}/app/${bin-path} + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + package + + copy-dependencies + + + ${project.build.directory}/app/${lib-path} + + + + + + + + org.apache.maven.plugins + maven-resources-plugin + + + copy-resources + package + + copy-resources + + + + + src/main/resources/${config-path} + + + src/main/resources + + db/ + templates/ + logback-spring.xml + + + + ${project.build.directory}/app/${config-path} + + + + + + + + + \ No newline at end of file