pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. <artifactId>dmp-business</artifactId>
  7. <groupId>com.persagy</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>dmp-dic</artifactId>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <!-- 配置中心(包含注册中心) -->
  15. <dependency>
  16. <groupId>com.persagy</groupId>
  17. <artifactId>integrated-config-client</artifactId>
  18. </dependency>
  19. <!-- 项目启动 -->
  20. <dependency>
  21. <groupId>com.persagy</groupId>
  22. <artifactId>dmp-server</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.persagy</groupId>
  26. <artifactId>dmp-mybatis</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>com.persagy</groupId>
  30. <artifactId>dmp-common</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.persagy</groupId>
  34. <artifactId>dmp-digital-starter</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.persagy</groupId>
  38. <artifactId>dmp-rwd</artifactId>
  39. <version>1.0.0</version>
  40. <scope>compile</scope>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <finalName>dmp-dic</finalName>
  45. <plugins>
  46. <plugin>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-maven-plugin</artifactId>
  49. <configuration>
  50. <fork>true</fork>
  51. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  52. </configuration>
  53. <executions>
  54. <execution>
  55. <goals>
  56. <goal>repackage</goal>
  57. </goals>
  58. </execution>
  59. </executions>
  60. </plugin>
  61. <!--
  62. -->
  63. <plugin>
  64. <groupId>com.mysema.maven</groupId>
  65. <artifactId>apt-maven-plugin</artifactId>
  66. <version>1.1.3</version>
  67. <executions>
  68. <execution>
  69. <phase>generate-sources</phase>
  70. <goals>
  71. <goal>process</goal>
  72. </goals>
  73. <configuration>
  74. <outputDirectory>target/generated-sources</outputDirectory>
  75. <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
  76. </configuration>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. <plugin>
  81. <artifactId>maven-resources-plugin</artifactId>
  82. <executions>
  83. <execution>
  84. <id>copy-resources</id>
  85. <phase>package</phase>
  86. <goals>
  87. <goal>copy-resources</goal>
  88. </goals>
  89. <configuration>
  90. <resources>
  91. <resource>
  92. <directory>src/main/resources/</directory>
  93. <includes>
  94. <include>**/*.yml</include>
  95. </includes>
  96. </resource>
  97. </resources>
  98. <outputDirectory>${project.build.directory}/config</outputDirectory>
  99. </configuration>
  100. </execution>
  101. </executions>
  102. </plugin>
  103. </plugins>
  104. </build>
  105. </project>