pom.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <artifactId>iot-module</artifactId>
  8. <groupId>cc.iotkit</groupId>
  9. <version>${revision}</version>
  10. </parent>
  11. <artifactId>iot-contribution</artifactId>
  12. <properties>
  13. <maven.compiler.source>11</maven.compiler.source>
  14. <maven.compiler.target>11</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <dependencies>
  18. <dependency>
  19. <groupId>cc.iotkit</groupId>
  20. <artifactId>iot-common-model</artifactId>
  21. </dependency>
  22. <dependency>
  23. <groupId>cc.iotkit</groupId>
  24. <artifactId>iot-common-core</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>cc.iotkit</groupId>
  28. <artifactId>iot-data-serviceImpl-rdb</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>cc.iotkit</groupId>
  32. <artifactId>iot-data-serviceImpl-cache</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>cc.iotkit</groupId>
  36. <artifactId>iot-common-web</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>cc.iotkit</groupId>
  40. <artifactId>iot-common-doc</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>cc.iotkit</groupId>
  44. <artifactId>iot-common-satoken</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>cc.iotkit</groupId>
  48. <artifactId>iot-common-log</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>cc.iotkit</groupId>
  52. <artifactId>iot-common-excel</artifactId>
  53. </dependency>
  54. <!--====================第三方库===================-->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-web</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>joda-time</groupId>
  61. <artifactId>joda-time</artifactId>
  62. </dependency>
  63. <dependency>
  64. <groupId>io.github.linpeilie</groupId>
  65. <artifactId>mapstruct-plus-spring-boot-starter</artifactId>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.apache.maven.plugins</groupId>
  72. <artifactId>maven-compiler-plugin</artifactId>
  73. <version>3.8.1</version>
  74. <configuration>
  75. <source>${java.version}</source> <!-- depending on your project -->
  76. <target>${java.version}</target> <!-- depending on your project -->
  77. <encoding>utf8</encoding>
  78. <annotationProcessorPaths>
  79. <path>
  80. <groupId>org.projectlombok</groupId>
  81. <artifactId>lombok</artifactId>
  82. <version>${lombok.version}</version>
  83. </path>
  84. <path>
  85. <groupId>io.github.linpeilie</groupId>
  86. <artifactId>mapstruct-plus-processor</artifactId>
  87. <version>${mapstruct-plus.version}</version>
  88. </path>
  89. <path>
  90. <groupId>org.projectlombok</groupId>
  91. <artifactId>lombok-mapstruct-binding</artifactId>
  92. <version>0.2.0</version>
  93. </path>
  94. <!-- other annotation processors -->
  95. </annotationProcessorPaths>
  96. </configuration>
  97. </plugin>
  98. <plugin>
  99. <!--因为QueryDsl是类型安全的,所以还需要加上Maven APT plugin,使用 APT 自动生成Q类:-->
  100. <groupId>com.mysema.maven</groupId>
  101. <artifactId>apt-maven-plugin</artifactId>
  102. <version>1.1.3</version>
  103. <executions>
  104. <execution>
  105. <phase>generate-sources</phase>
  106. <goals>
  107. <goal>process</goal>
  108. </goals>
  109. <configuration>
  110. <outputDirectory>target/generated-sources/java</outputDirectory>
  111. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  112. </configuration>
  113. </execution>
  114. </executions>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </project>