pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. <groupId>com.poyee</groupId>
  7. <artifactId>poyee-parent</artifactId>
  8. <packaging>pom</packaging>
  9. <version>1.0-SNAPSHOT</version>
  10. <properties>
  11. <java.version>8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <swagger.version>2.9.2</swagger.version>
  15. <redisson.version>3.5.0</redisson.version>
  16. <!-- <fastjson.version>1.2.74</fastjson.version>-->
  17. <fastjson.version>2.0.10</fastjson.version>
  18. <dozer.version>6.5.2</dozer.version>
  19. <skipTests>true</skipTests>
  20. <guava.version>27.0.1-jre</guava.version>
  21. <postgresql.version>42.7.2</postgresql.version>
  22. <!--<org.mapstruct.version>1.5.1.Final</org.mapstruct.version>-->
  23. </properties>
  24. <parent>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-parent</artifactId>
  27. <version>2.1.17.RELEASE</version>
  28. </parent>
  29. <dependencies>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-test</artifactId>
  37. <scope>test</scope>
  38. <exclusions>
  39. <exclusion>
  40. <groupId>org.junit.vintage</groupId>
  41. <artifactId>junit-vintage-engine</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. </dependencies>
  46. <modules>
  47. <module>poyee-entity</module>
  48. <module>poyee-repository</module>
  49. <module>poyee-common</module>
  50. <module>poyee-service-common</module>
  51. <module>poyee-base-api</module>
  52. <module>poyee-service-mall</module>
  53. <module>poyee-service-order</module>
  54. <module>poyee-app-mall</module>
  55. </modules>
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.bsc.maven</groupId>
  60. <artifactId>maven-processor-plugin</artifactId>
  61. <version>3.1.0</version>
  62. <configuration>
  63. <defaultOutputDirectory>
  64. ${project.build.directory}/generated-sources/java
  65. </defaultOutputDirectory>
  66. <processors>
  67. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  68. <processor>lombok.launch.AnnotationProcessorHider$AnnotationProcessor</processor>
  69. <!--<processor>org.mapstruct.ap.MappingProcessor</processor>-->
  70. </processors>
  71. </configuration>
  72. <executions>
  73. <execution>
  74. <id>process</id>
  75. <phase>generate-sources</phase>
  76. <goals>
  77. <goal>process</goal>
  78. </goals>
  79. <configuration>
  80. <outputDirectory>
  81. ${project.build.directory}/generated-sources/java
  82. </outputDirectory>
  83. </configuration>
  84. </execution>
  85. <execution>
  86. <id>process-test</id>
  87. <phase>generate-test-sources</phase>
  88. <goals>
  89. <goal>process-test</goal>
  90. </goals>
  91. <configuration>
  92. <outputDirectory>
  93. ${project.build.directory}/generated-test-sources/java
  94. </outputDirectory>
  95. </configuration>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. </plugins>
  100. </build>
  101. </project>