pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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>jz-crm-all</artifactId>
  5. <packaging>jar</packaging>
  6. <parent>
  7. <groupId>org.linlinjava</groupId>
  8. <artifactId>jz-crm</artifactId>
  9. <version>0.1.0</version>
  10. </parent>
  11. <dependencies>
  12. <dependency>
  13. <groupId>org.linlinjava</groupId>
  14. <artifactId>jz-crm-core</artifactId>
  15. </dependency>
  16. <dependency>
  17. <groupId>org.linlinjava</groupId>
  18. <artifactId>jz-crm-db</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.linlinjava</groupId>
  22. <artifactId>jz-crm-admin-api</artifactId>
  23. </dependency>
  24. </dependencies>
  25. <build>
  26. <finalName>jzcrmservice</finalName>
  27. <plugins>
  28. <plugin>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-maven-plugin</artifactId>
  31. </plugin>
  32. <plugin>
  33. <groupId>org.apache.maven.plugins</groupId>
  34. <artifactId>maven-resources-plugin</artifactId>
  35. <executions>
  36. <execution>
  37. <id>default-resources</id>
  38. <phase>validate</phase>
  39. <goals>
  40. <goal>copy-resources</goal>
  41. </goals>
  42. <configuration>
  43. <outputDirectory>target/classes</outputDirectory>
  44. <useDefaultDelimiters>false</useDefaultDelimiters>
  45. <delimiters>
  46. <delimiter>#</delimiter>
  47. </delimiters>
  48. <resources>
  49. <resource>
  50. <directory>src/main/resources/</directory>
  51. <filtering>true</filtering>
  52. </resource>
  53. <resource>
  54. <directory>src/main/resources.${spring.profiles.active}</directory>
  55. <filtering>false</filtering>
  56. </resource>
  57. </resources>
  58. </configuration>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. </plugins>
  63. </build>
  64. <profiles>
  65. <!--开发环境 -->
  66. <profile>
  67. <id>dev</id>
  68. <properties>
  69. <spring.profiles.active>dev</spring.profiles.active>
  70. </properties>
  71. </profile>
  72. <!--生产环境 -->
  73. <profile>
  74. <id>pro</id>
  75. <properties>
  76. <spring.profiles.active>pro</spring.profiles.active>
  77. </properties>
  78. </profile>
  79. <profile>
  80. <id>uat</id>
  81. <properties>
  82. <spring.profiles.active>uat</spring.profiles.active>
  83. </properties>
  84. <activation>
  85. <activeByDefault>true</activeByDefault>
  86. </activation>
  87. </profile>
  88. </profiles>
  89. </project>