pom.xml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <artifactId>litemall-all</artifactId>
  5. <packaging>jar</packaging>
  6. <parent>
  7. <groupId>org.linlinjava</groupId>
  8. <artifactId>litemall</artifactId>
  9. <version>0.1.0</version>
  10. </parent>
  11. <dependencies>
  12. <dependency>
  13. <groupId>org.linlinjava</groupId>
  14. <artifactId>litemall-core</artifactId>
  15. </dependency>
  16. <dependency>
  17. <groupId>org.linlinjava</groupId>
  18. <artifactId>litemall-db</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.linlinjava</groupId>
  22. <artifactId>litemall-wx-api</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.linlinjava</groupId>
  26. <artifactId>litemall-admin-api</artifactId>
  27. </dependency>
  28. </dependencies>
  29. <build>
  30. <plugins>
  31. <plugin>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-maven-plugin</artifactId>
  34. <executions>
  35. <execution>
  36. <id>repackage</id>
  37. <configuration>
  38. <executable>true</executable>
  39. <classifier>exec</classifier>
  40. </configuration>
  41. </execution>
  42. </executions>
  43. </plugin>
  44. <plugin>
  45. <artifactId>maven-resources-plugin</artifactId>
  46. <executions>
  47. <execution>
  48. <id>copy-resources</id>
  49. <phase>validate</phase>
  50. <goals>
  51. <goal>copy-resources</goal>
  52. </goals>
  53. <configuration>
  54. <outputDirectory>${basedir}/target/classes/static</outputDirectory>
  55. <resources>
  56. <resource>
  57. <directory>../litemall-admin/dist</directory>
  58. </resource>
  59. </resources>
  60. </configuration>
  61. </execution>
  62. <execution>
  63. <id>copy-resources-vue</id>
  64. <phase>validate</phase>
  65. <goals>
  66. <goal>copy-resources</goal>
  67. </goals>
  68. <configuration>
  69. <outputDirectory>${basedir}/target/classes/static/vue</outputDirectory>
  70. <resources>
  71. <resource>
  72. <directory>../litemall-vue/dist</directory>
  73. </resource>
  74. </resources>
  75. </configuration>
  76. </execution>
  77. </executions>
  78. </plugin>
  79. </plugins>
  80. </build>
  81. </project>