pom.xml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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-data-service</artifactId>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.apache.maven.plugins</groupId>
  56. <artifactId>maven-compiler-plugin</artifactId>
  57. <version>3.8.1</version>
  58. <configuration>
  59. <source>11</source> <!-- depending on your project -->
  60. <target>11</target> <!-- depending on your project -->
  61. <annotationProcessorPaths>
  62. <path>
  63. <groupId>org.projectlombok</groupId>
  64. <artifactId>lombok</artifactId>
  65. <version>1.18.24</version>
  66. </path>
  67. <path>
  68. <groupId>org.mapstruct</groupId>
  69. <artifactId>mapstruct-processor</artifactId>
  70. <version>1.4.2.Final</version>
  71. </path>
  72. <!-- other annotation processors -->
  73. </annotationProcessorPaths>
  74. </configuration>
  75. </plugin>
  76. </plugins>
  77. </build>
  78. </project>