pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.ywt</groupId>
  8. <artifactId>ywt-platform-glasses-parent</artifactId>
  9. <version>1.0.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>ywt-platform-glasses-sdk</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.ywt</groupId>
  20. <artifactId>ywt-platform-glasses-base</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.ywt</groupId>
  24. <artifactId>ywt-platform-order-base</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.ywt</groupId>
  28. <artifactId>ywt-platform-msg-base</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.ywt</groupId>
  32. <artifactId>ywt-platform-glasses-common</artifactId>
  33. </dependency>
  34. <!-- 自动装配dubbo-->
  35. <dependency>
  36. <groupId>org.apache.dubbo</groupId>
  37. <artifactId>dubbo-spring-boot-starter</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.apache.dubbo</groupId>
  41. <artifactId>dubbo-registry-nacos</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.google.protobuf</groupId>
  45. <artifactId>protobuf-java</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>com.google.protobuf</groupId>
  49. <artifactId>protobuf-java-util</artifactId>
  50. </dependency>
  51. <!-- <dependency>-->
  52. <!-- <groupId>org.apache.commons</groupId>-->
  53. <!-- <artifactId>commons-csv</artifactId>-->
  54. <!-- </dependency>-->
  55. </dependencies>
  56. <profiles>
  57. <profile>
  58. <id>dev</id>
  59. <activation>
  60. <activeByDefault>true</activeByDefault>
  61. </activation>
  62. <properties>
  63. <active.profile>dev</active.profile>
  64. </properties>
  65. </profile>
  66. <profile>
  67. <id>test</id>
  68. <properties>
  69. <active.profile>test</active.profile>
  70. </properties>
  71. </profile>
  72. <profile>
  73. <id>product</id>
  74. <properties>
  75. <active.profile>product</active.profile>
  76. </properties>
  77. </profile>
  78. <profile>
  79. <id>preproduct</id>
  80. <properties>
  81. <active.profile>preproduct</active.profile>
  82. </properties>
  83. </profile>
  84. </profiles>
  85. <build>
  86. <filters>
  87. <filter>config_fillters/filters-${active.profile}.properties</filter>
  88. </filters>
  89. <resources>
  90. <resource>
  91. <directory>src/main/resources</directory>
  92. <filtering>true</filtering>
  93. </resource>
  94. </resources>
  95. <plugins>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-compiler-plugin</artifactId>
  99. <!-- <version>3.2</version>-->
  100. <configuration>
  101. <source>1.8</source>
  102. <target>1.8</target>
  103. <encoding>utf-8</encoding>
  104. </configuration>
  105. </plugin>
  106. <plugin>
  107. <groupId>org.springframework.boot</groupId>
  108. <artifactId>spring-boot-maven-plugin</artifactId>
  109. </plugin>
  110. </plugins>
  111. </build>
  112. </project>