.flattened-pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>cc.iotkit</groupId>
  7. <artifactId>iot-common-dao</artifactId>
  8. <version>0.4.5-SNAPSHOT</version>
  9. </parent>
  10. <groupId>cc.iotkit</groupId>
  11. <artifactId>iot-data-serviceImpl-rdb</artifactId>
  12. <version>0.4.5-SNAPSHOT</version>
  13. <description>关系型数据库的数据服务实现模块
  14. 如:h2、mysql,由jpa兼容不同数据库</description>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-data-jpa</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.querydsl</groupId>
  22. <artifactId>querydsl-apt</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.querydsl</groupId>
  26. <artifactId>querydsl-jpa</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.h2database</groupId>
  30. <artifactId>h2</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>commons-io</groupId>
  34. <artifactId>commons-io</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>cn.hutool</groupId>
  38. <artifactId>hutool-core</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.mapstruct</groupId>
  42. <artifactId>mapstruct</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.projectlombok</groupId>
  46. <artifactId>lombok</artifactId>
  47. <scope>provided</scope>
  48. </dependency>
  49. <dependency>
  50. <groupId>cc.iotkit</groupId>
  51. <artifactId>iot-common-core</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>cc.iotkit</groupId>
  55. <artifactId>iot-data-service</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>org.springframework.data</groupId>
  59. <artifactId>spring-data-commons</artifactId>
  60. <version>2.7.11</version>
  61. </dependency>
  62. </dependencies>
  63. <build>
  64. <plugins>
  65. <plugin>
  66. <artifactId>maven-compiler-plugin</artifactId>
  67. <version>3.8.1</version>
  68. <configuration>
  69. <source>${java.version}</source>
  70. <target>${java.version}</target>
  71. <annotationProcessorPaths>
  72. <path>
  73. <groupId>org.projectlombok</groupId>
  74. <artifactId>lombok</artifactId>
  75. <version>1.18.24</version>
  76. </path>
  77. <path>
  78. <groupId>org.mapstruct</groupId>
  79. <artifactId>mapstruct-processor</artifactId>
  80. <version>1.4.2.Final</version>
  81. </path>
  82. </annotationProcessorPaths>
  83. </configuration>
  84. </plugin>
  85. <plugin>
  86. <groupId>com.mysema.maven</groupId>
  87. <artifactId>apt-maven-plugin</artifactId>
  88. <version>1.1.3</version>
  89. <executions>
  90. <execution>
  91. <phase>generate-sources</phase>
  92. <goals>
  93. <goal>process</goal>
  94. </goals>
  95. <configuration>
  96. <outputDirectory>target/generated-sources/java</outputDirectory>
  97. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  98. </configuration>
  99. </execution>
  100. </executions>
  101. </plugin>
  102. </plugins>
  103. </build>
  104. </project>