pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.adx</groupId>
  7. <artifactId>tencent-baidu-tracking</artifactId>
  8. <version>1.0.0</version>
  9. <name>tencent-baidu-tracking</name>
  10. <description>Tencent-Baidu ADX Tracking Server</description>
  11. <properties>
  12. <java.version>17</java.version>
  13. <maven.compiler.source>${java.version}</maven.compiler.source>
  14. <maven.compiler.target>${java.version}</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <spring-boot.version>3.2.5</spring-boot.version>
  17. </properties>
  18. <profiles>
  19. <profile>
  20. <id>dev</id>
  21. <activation><activeByDefault>true</activeByDefault></activation>
  22. <properties><profileActive>dev</profileActive></properties>
  23. </profile>
  24. <profile>
  25. <id>prod</id>
  26. <properties><profileActive>prod</profileActive></properties>
  27. </profile>
  28. <profile>
  29. <id>test</id>
  30. <properties><profileActive>test</profileActive></properties>
  31. </profile>
  32. </profiles>
  33. <dependencyManagement>
  34. <dependencies>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-dependencies</artifactId>
  38. <version>${spring-boot.version}</version>
  39. <type>pom</type>
  40. <scope>import</scope>
  41. </dependency>
  42. </dependencies>
  43. </dependencyManagement>
  44. <dependencies>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-starter-web</artifactId>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-data-redis</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>org.mybatis.spring.boot</groupId>
  55. <artifactId>mybatis-spring-boot-starter</artifactId>
  56. <version>3.0.3</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.mysql</groupId>
  60. <artifactId>mysql-connector-j</artifactId>
  61. <scope>runtime</scope>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-configuration-processor</artifactId>
  66. <optional>true</optional>
  67. </dependency>
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-test</artifactId>
  71. <scope>test</scope>
  72. </dependency>
  73. </dependencies>
  74. <build>
  75. <resources>
  76. <resource>
  77. <directory>src/main/resources</directory>
  78. <filtering>true</filtering>
  79. </resource>
  80. </resources>
  81. <plugins>
  82. <plugin>
  83. <groupId>org.apache.maven.plugins</groupId>
  84. <artifactId>maven-compiler-plugin</artifactId>
  85. <version>3.13.0</version>
  86. <configuration>
  87. <release>${java.version}</release>
  88. </configuration>
  89. </plugin>
  90. <plugin>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-maven-plugin</artifactId>
  93. <version>${spring-boot.version}</version>
  94. <executions><execution><goals><goal>repackage</goal></goals></execution></executions>
  95. </plugin>
  96. <plugin>
  97. <groupId>org.apache.maven.plugins</groupId>
  98. <artifactId>maven-resources-plugin</artifactId>
  99. <version>3.3.1</version>
  100. <configuration>
  101. <delimiters><delimiter>@</delimiter></delimiters>
  102. <useDefaultDelimiters>false</useDefaultDelimiters>
  103. </configuration>
  104. </plugin>
  105. </plugins>
  106. </build>
  107. </project>