assembly.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
  4. <id>customAssembly</id>
  5. <!-- dir -->
  6. <formats>
  7. <format>dir</format>
  8. <format>tar.gz</format>
  9. </formats>
  10. <includeBaseDirectory>false</includeBaseDirectory>
  11. <fileSets>
  12. <fileSet>
  13. <directory>${project.basedir}/bin/</directory>
  14. <outputDirectory>./bin</outputDirectory>
  15. <filtered>true</filtered>
  16. <fileMode>0755</fileMode>
  17. <lineEnding>unix</lineEnding>
  18. </fileSet>
  19. <fileSet>
  20. <directory>${project.basedir}/src/main/resources/</directory>
  21. <outputDirectory>./resources</outputDirectory>
  22. </fileSet>
  23. </fileSets>
  24. <dependencySets>
  25. <dependencySet>
  26. <outputDirectory>./lib</outputDirectory>
  27. <scope>runtime</scope>
  28. <excludes>
  29. <exclude>${project.groupId}:${project.artifactId}</exclude>
  30. <exclude>org.projectlombok:lombok</exclude>
  31. <exclude>org.springframework.boot:spring-boot-devtools</exclude>
  32. </excludes>
  33. </dependencySet>
  34. <dependencySet>
  35. <outputDirectory>./</outputDirectory>
  36. <includes>
  37. <include>${project.groupId}:${project.artifactId}</include>
  38. </includes>
  39. </dependencySet>
  40. </dependencySets>
  41. </assembly>