pom.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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. <groupId>com.persagy</groupId>
  7. <artifactId>dmp</artifactId>
  8. <version>4.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>dmp-task</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>com.persagy</groupId>
  15. <artifactId>dmp-model</artifactId>
  16. <version>4.0.0</version>
  17. </dependency>
  18. <dependency>
  19. <groupId>com.persagy</groupId>
  20. <artifactId>dmp-common</artifactId>
  21. <version>4.0.0</version>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-amqp</artifactId>
  26. </dependency>
  27. <dependency>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-starter-data-jpa</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>mysql</groupId>
  33. <artifactId>mysql-connector-java</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.alibaba</groupId>
  37. <artifactId>druid</artifactId>
  38. <version>1.1.21</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.querydsl</groupId>
  42. <artifactId>querydsl-apt</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.querydsl</groupId>
  46. <artifactId>querydsl-sql</artifactId>
  47. <version>${querydsl.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>com.querydsl</groupId>
  51. <artifactId>querydsl-jpa</artifactId>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.vladmihalcea</groupId>
  55. <artifactId>hibernate-types-52</artifactId>
  56. <version>2.9.13</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-starter-actuator</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-web</artifactId>
  65. </dependency>
  66. <!-- 注册中心 -->
  67. <dependency>
  68. <groupId>org.springframework.cloud</groupId>
  69. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  70. </dependency>
  71. <!-- 配置中心 -->
  72. <dependency>
  73. <groupId>org.springframework.cloud</groupId>
  74. <artifactId>spring-cloud-starter-config</artifactId>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <finalName>dmp-task</finalName>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-maven-plugin</artifactId>
  83. <configuration>
  84. <fork>true</fork>
  85. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  86. </configuration>
  87. <executions>
  88. <execution>
  89. <goals>
  90. <goal>repackage</goal>
  91. </goals>
  92. </execution>
  93. </executions>
  94. </plugin>
  95. <!--
  96. -->
  97. <plugin>
  98. <groupId>com.mysema.maven</groupId>
  99. <artifactId>apt-maven-plugin</artifactId>
  100. <version>1.1.3</version>
  101. <executions>
  102. <execution>
  103. <phase>generate-sources</phase>
  104. <goals>
  105. <goal>process</goal>
  106. </goals>
  107. <configuration>
  108. <outputDirectory>target/generated-sources</outputDirectory>
  109. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  110. </configuration>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. </plugins>
  115. </build>
  116. </project>