pom.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. <groupId>com.haha</groupId>
  7. <artifactId>haha-sdk</artifactId>
  8. <version>1.0.0</version>
  9. <packaging>jar</packaging>
  10. <name>haha-sdk</name>
  11. <description>哈哈零售系统 Java SDK</description>
  12. <properties>
  13. <maven.compiler.source>21</maven.compiler.source>
  14. <maven.compiler.target>21</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. <okhttp.version>4.12.0</okhttp.version>
  17. <fastjson2.version>2.0.53</fastjson2.version>
  18. <lombok.version>1.18.30</lombok.version>
  19. <slf4j.version>2.0.9</slf4j.version>
  20. </properties>
  21. <dependencies>
  22. <!-- HTTP Client -->
  23. <dependency>
  24. <groupId>com.squareup.okhttp3</groupId>
  25. <artifactId>okhttp</artifactId>
  26. <version>${okhttp.version}</version>
  27. </dependency>
  28. <!-- JSON Processing -->
  29. <dependency>
  30. <groupId>com.alibaba.fastjson2</groupId>
  31. <artifactId>fastjson2</artifactId>
  32. <version>${fastjson2.version}</version>
  33. </dependency>
  34. <!-- Utils -->
  35. <dependency>
  36. <groupId>org.projectlombok</groupId>
  37. <artifactId>lombok</artifactId>
  38. <version>${lombok.version}</version>
  39. <scope>provided</scope>
  40. </dependency>
  41. <!-- Logging -->
  42. <dependency>
  43. <groupId>org.slf4j</groupId>
  44. <artifactId>slf4j-api</artifactId>
  45. <version>${slf4j.version}</version>
  46. </dependency>
  47. </dependencies>
  48. <build>
  49. <plugins>
  50. <plugin>
  51. <groupId>org.apache.maven.plugins</groupId>
  52. <artifactId>maven-compiler-plugin</artifactId>
  53. <version>3.11.0</version>
  54. <configuration>
  55. <source>${maven.compiler.source}</source>
  56. <target>${maven.compiler.target}</target>
  57. </configuration>
  58. </plugin>
  59. </plugins>
  60. </build>
  61. </project>