pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  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. <parent>
  5. <groupId>edu.travel</groupId>
  6. <artifactId>EduTravel</artifactId>
  7. <version>1.0-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>edu-travel-oauth</artifactId>
  10. <packaging>jar</packaging>
  11. <name>edu-travel-oauth</name>
  12. <url>http://maven.apache.org</url>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.cloud</groupId>
  19. <artifactId>spring-cloud-starter-zipkin</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.alibaba.cloud</groupId>
  23. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.alibaba.cloud</groupId>
  27. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.springframework.cloud</groupId>
  31. <artifactId>spring-cloud-starter-bootstrap</artifactId>
  32. </dependency>
  33. <dependency>
  34. <groupId>com.alibaba</groupId>
  35. <artifactId>druid-spring-boot-starter</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.baomidou</groupId>
  43. <artifactId>mybatis-plus-boot-starter</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-data-redis</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.nimbusds</groupId>
  51. <artifactId>nimbus-jose-jwt</artifactId>
  52. </dependency>
  53. <!--security -->
  54. <dependency>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-starter-security</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.cloud</groupId>
  60. <artifactId>spring-cloud-starter-oauth2</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.projectlombok</groupId>
  64. <artifactId>lombok</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.commons</groupId>
  68. <artifactId>commons-lang3</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-web</artifactId>
  73. </dependency>
  74. <!-- https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2 -->
  75. <dependency>
  76. <groupId>com.alibaba</groupId>
  77. <artifactId>fastjson</artifactId>
  78. </dependency>
  79. <dependency>
  80. <groupId>edu.travel</groupId>
  81. <artifactId>edu-travel-common-datasource</artifactId>
  82. <version>1.0-SNAPSHOT</version>
  83. </dependency>
  84. <dependency>
  85. <groupId>edu.travel</groupId>
  86. <artifactId>edu-travel-common-utils</artifactId>
  87. <version>1.0-SNAPSHOT</version>
  88. </dependency>
  89. <dependency>
  90. <groupId>edu.travel</groupId>
  91. <artifactId>edu-travel-common-resp</artifactId>
  92. <version>1.0-SNAPSHOT</version>
  93. </dependency>
  94. </dependencies>
  95. <profiles>
  96. <profile>
  97. <id>dev</id>
  98. <properties>
  99. <env>dev</env>
  100. <versionCode>${version}-SNAPSHOT</versionCode>
  101. <spark.compiler.score>compile</spark.compiler.score>
  102. </properties>
  103. <activation>
  104. <activeByDefault>true</activeByDefault>
  105. </activation>
  106. </profile>
  107. <profile>
  108. <id>prod</id>
  109. <properties>
  110. <env>prod</env>
  111. <versionCode>${version}</versionCode>
  112. <spark.compiler.score>provided</spark.compiler.score>
  113. </properties>
  114. </profile>
  115. </profiles>
  116. <build>
  117. <plugins>
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-resources-plugin</artifactId>
  121. <configuration>
  122. <delimiters>@</delimiters>
  123. <useDefaultDelimiters>false</useDefaultDelimiters>
  124. </configuration>
  125. </plugin>
  126. <!-- 打包插件 -->
  127. <plugin>
  128. <groupId>org.springframework.boot</groupId>
  129. <artifactId>spring-boot-maven-plugin</artifactId>
  130. </plugin>
  131. <!-- maven 打包时跳过测试 -->
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-surefire-plugin</artifactId>
  135. <configuration>
  136. <skipTests>true</skipTests>
  137. </configuration>
  138. </plugin>
  139. </plugins>
  140. <resources>
  141. <resource>
  142. <directory>src/main/resources</directory>
  143. <!--开启过滤,用指定的参数替换directory下的文件中的参数-->
  144. <filtering>true</filtering>
  145. </resource>
  146. </resources>
  147. </build>
  148. </project>