pom.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <artifactId>spring-boot-starter-parent</artifactId>
  6. <groupId>org.springframework.boot</groupId>
  7. <version>2.6.9</version>
  8. </parent>
  9. <artifactId>alarm</artifactId>
  10. <version>1.2</version>
  11. <packaging>jar</packaging>
  12. <dependencies>
  13. <!-- 本地依赖开始 -->
  14. <dependency>
  15. <groupId>com.hl.opnc</groupId>
  16. <artifactId>opnc-sdk</artifactId>
  17. <version>1.0.0-SNAPSHOT</version>
  18. <scope>system</scope>
  19. <systemPath>${project.basedir}\lib\opnc-sdk-1.0.0-SNAPSHOT.jar</systemPath>
  20. </dependency>
  21. <!-- opnc-sdk 依赖开始 -->
  22. <dependency>
  23. <groupId>org.apache.httpcomponents</groupId>
  24. <artifactId>httpclient</artifactId>
  25. <version>4.5.13</version>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.apache.httpcomponents</groupId>
  29. <artifactId>httpmime</artifactId>
  30. <version>4.5</version>
  31. </dependency>
  32. <!-- opnc-sdk 依赖结束 -->
  33. <!-- 本地依赖结束 -->
  34. <!-- mybatis -->
  35. <dependency>
  36. <groupId>org.mybatis.spring.boot</groupId>
  37. <artifactId>mybatis-spring-boot-starter</artifactId>
  38. <version>2.2.2</version>
  39. </dependency>
  40. <!-- postgresql数据库和greenplum数据库驱动 -->
  41. <dependency>
  42. <groupId>org.postgresql</groupId>
  43. <artifactId>postgresql</artifactId>
  44. <scope>runtime</scope>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.alibaba</groupId>
  48. <artifactId>fastjson</artifactId>
  49. <version>2.0.7.graal</version>
  50. </dependency>
  51. <!-- commons-csv -->
  52. <dependency>
  53. <groupId>org.apache.commons</groupId>
  54. <artifactId>commons-csv</artifactId>
  55. <version>1.9.0</version>
  56. </dependency>
  57. <!-- commons-beanutils -->
  58. <dependency>
  59. <groupId>commons-beanutils</groupId>
  60. <artifactId>commons-beanutils-core</artifactId>
  61. <version>1.8.3</version>
  62. </dependency>
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-web</artifactId>
  66. </dependency>
  67. <dependency>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-starter-test</artifactId>
  70. <scope>test</scope>
  71. </dependency>
  72. <dependency>
  73. <groupId>org.projectlombok</groupId>
  74. <artifactId>lombok</artifactId>
  75. <scope>provided</scope>
  76. </dependency>
  77. </dependencies>
  78. <build>
  79. <!-- testSourceDirectory 测试代码的路径,有的ide是自动识别的 vscode需要通过pom进行配置 -->
  80. <testSourceDirectory>src/test</testSourceDirectory>
  81. <plugins>
  82. <plugin>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-maven-plugin</artifactId>
  85. <configuration>
  86. <!-- 把systemPath指定的依赖一起打包到BOOT-INF/lib -->
  87. <includeSystemScope>true</includeSystemScope>
  88. <!-- 打包1个带exec的可执行jar包和一个不带exec的可作为依赖的jar包 -->
  89. <classifier>exec</classifier>
  90. </configuration>
  91. </plugin>
  92. </plugins>
  93. </build>
  94. </project>