.flattened-pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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>com.github.biyanwen</groupId>
  51. <artifactId>jpa-comment-spring-boot-starter</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>cc.iotkit</groupId>
  55. <artifactId>iot-common-core</artifactId>
  56. </dependency>
  57. <dependency>
  58. <groupId>cc.iotkit</groupId>
  59. <artifactId>iot-data-service</artifactId>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.springframework.data</groupId>
  63. <artifactId>spring-data-commons</artifactId>
  64. <version>2.7.11</version>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <artifactId>maven-compiler-plugin</artifactId>
  71. <version>3.8.1</version>
  72. <configuration>
  73. <source>${java.version}</source>
  74. <target>${java.version}</target>
  75. <annotationProcessorPaths>
  76. <path>
  77. <groupId>org.projectlombok</groupId>
  78. <artifactId>lombok</artifactId>
  79. <version>1.18.24</version>
  80. </path>
  81. <path>
  82. <groupId>org.mapstruct</groupId>
  83. <artifactId>mapstruct-processor</artifactId>
  84. <version>1.4.2.Final</version>
  85. </path>
  86. </annotationProcessorPaths>
  87. </configuration>
  88. </plugin>
  89. <plugin>
  90. <groupId>com.mysema.maven</groupId>
  91. <artifactId>apt-maven-plugin</artifactId>
  92. <version>1.1.3</version>
  93. <executions>
  94. <execution>
  95. <phase>generate-sources</phase>
  96. <goals>
  97. <goal>process</goal>
  98. </goals>
  99. <configuration>
  100. <outputDirectory>target/generated-sources/java</outputDirectory>
  101. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  102. </configuration>
  103. </execution>
  104. </executions>
  105. </plugin>
  106. </plugins>
  107. </build>
  108. </project>