pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. <parent>
  6. <artifactId>iot-data</artifactId>
  7. <groupId>cc.iotkit</groupId>
  8. <version>${revision}</version>
  9. </parent>
  10. <version>${revision}</version>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>iot-rdb-data-service</artifactId>
  13. <description>
  14. 关系型数据库的数据服务实现模块
  15. 如:h2、mysql,由jpa兼容不同数据库
  16. </description>
  17. <dependencies>
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-data-jpa</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>com.h2database</groupId>
  24. <artifactId>h2</artifactId>
  25. </dependency>
  26. <!-- <dependency>-->
  27. <!-- <groupId>mysql</groupId>-->
  28. <!-- <artifactId>mysql-connector-java</artifactId>-->
  29. <!-- </dependency>-->
  30. <dependency>
  31. <groupId>commons-io</groupId>
  32. <artifactId>commons-io</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>cn.hutool</groupId>
  36. <artifactId>hutool-core</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.mapstruct</groupId>
  40. <artifactId>mapstruct</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.projectlombok</groupId>
  44. <artifactId>lombok</artifactId>
  45. <scope>provided</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>cc.iotkit</groupId>
  49. <artifactId>iot-common-core</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>cc.iotkit</groupId>
  53. <artifactId>iot-data-service</artifactId>
  54. </dependency>
  55. </dependencies>
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-compiler-plugin</artifactId>
  61. <version>3.8.1</version>
  62. <configuration>
  63. <source>${java.version}</source> <!-- depending on your project -->
  64. <target>${java.version}</target> <!-- depending on your project -->
  65. <annotationProcessorPaths>
  66. <path>
  67. <groupId>org.projectlombok</groupId>
  68. <artifactId>lombok</artifactId>
  69. <version>1.18.24</version>
  70. </path>
  71. <path>
  72. <groupId>org.mapstruct</groupId>
  73. <artifactId>mapstruct-processor</artifactId>
  74. <version>1.4.2.Final</version>
  75. </path>
  76. <!-- other annotation processors -->
  77. </annotationProcessorPaths>
  78. </configuration>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. </project>