pom.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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.zaxxer</groupId>
  60. <artifactId>HikariCP</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>com.mysql</groupId>
  64. <artifactId>mysql-connector-j</artifactId>
  65. <scope>runtime</scope>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-configuration-processor</artifactId>
  70. <optional>true</optional>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.springframework.boot</groupId>
  74. <artifactId>spring-boot-starter-test</artifactId>
  75. <scope>test</scope>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <resources>
  80. <resource>
  81. <directory>src/main/resources</directory>
  82. <filtering>true</filtering>
  83. </resource>
  84. </resources>
  85. <plugins>
  86. <plugin>
  87. <groupId>org.apache.maven.plugins</groupId>
  88. <artifactId>maven-compiler-plugin</artifactId>
  89. <version>3.13.0</version>
  90. <configuration>
  91. <release>${java.version}</release>
  92. </configuration>
  93. </plugin>
  94. <plugin>
  95. <groupId>org.springframework.boot</groupId>
  96. <artifactId>spring-boot-maven-plugin</artifactId>
  97. <version>${spring-boot.version}</version>
  98. <executions><execution><goals><goal>repackage</goal></goals></execution></executions>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-resources-plugin</artifactId>
  103. <version>3.3.1</version>
  104. <configuration>
  105. <delimiters><delimiter>@</delimiter></delimiters>
  106. <useDefaultDelimiters>false</useDefaultDelimiters>
  107. </configuration>
  108. </plugin>
  109. </plugins>
  110. </build>
  111. </project>