后台管理系统Java代码

pom.xml 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>oa</artifactId>
  7. <groupId>com.css</groupId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <packaging>jar</packaging>
  11. <dependencies>
  12. <dependency>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-test</artifactId>
  15. <version>2.1.8.RELEASE</version>
  16. <scope>test</scope>
  17. </dependency>
  18. </dependencies>
  19. <modelVersion>4.0.0</modelVersion>
  20. <artifactId>oa-app</artifactId>
  21. <build>
  22. <resources>
  23. <resource>
  24. <directory>src/main/resources</directory>
  25. <includes>
  26. <include>**/**</include>
  27. </includes>
  28. </resource>
  29. <resource>
  30. <directory>src/main/webapp</directory>
  31. <!-- 打包时需要放开-->
  32. <targetPath>META-INF/resources</targetPath>
  33. <includes>
  34. <include>static/core/**</include>
  35. </includes>
  36. </resource>
  37. <!--app下的资源需要项目组覆盖,不能放到META-INF/resources中,这里面优先级最高-->
  38. <resource>
  39. <directory>src/main/webapp</directory>
  40. <targetPath>META-INF/resources</targetPath>
  41. <includes>
  42. <include>static/app/**</include>
  43. <include>WEB-INF/**</include>
  44. </includes>
  45. </resource>
  46. </resources>
  47. <plugins>
  48. <plugin>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-maven-plugin</artifactId>
  51. </plugin>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-surefire-plugin</artifactId>
  55. <version>2.22.1</version>
  56. <configuration>
  57. <skipTests>true</skipTests>
  58. </configuration>
  59. </plugin>
  60. </plugins>
  61. </build>
  62. </project>