pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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.persagy</groupId>
  7. <artifactId>persagy-sync-data</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-starter-parent</artifactId>
  12. <version>2.1.3.RELEASE</version>
  13. </parent>
  14. <dependencies>
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-web</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.baomidou</groupId>
  21. <artifactId>mybatis-plus-generator</artifactId>
  22. <version>3.3.2</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.baomidou</groupId>
  26. <artifactId>mybatis-plus-boot-starter</artifactId>
  27. <version>3.3.2</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.baomidou</groupId>
  31. <artifactId>dynamic-datasource-spring-boot-starter</artifactId>
  32. <version>3.1.0</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>mysql</groupId>
  36. <artifactId>mysql-connector-java</artifactId>
  37. <scope>runtime</scope>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.baomidou</groupId>
  41. <artifactId>mybatis-plus</artifactId>
  42. <version>3.3.0</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.projectlombok</groupId>
  46. <artifactId>lombok</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>log4j</groupId>
  50. <artifactId>log4j</artifactId>
  51. <version>1.2.17</version>
  52. </dependency>
  53. <dependency>
  54. <groupId>com.github.shyiko</groupId>
  55. <artifactId>mysql-binlog-connector-java</artifactId>
  56. <version>0.16.1</version>
  57. </dependency>
  58. <dependency>
  59. <groupId>com.alibaba</groupId>
  60. <artifactId>fastjson</artifactId>
  61. <version>1.2.49</version>
  62. </dependency>
  63. </dependencies>
  64. <build>
  65. <finalName>persagy-sync-data</finalName>
  66. <plugins>
  67. <plugin>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-maven-plugin</artifactId>
  70. <version>2.3.4.RELEASE</version>
  71. <executions>
  72. <execution>
  73. <goals>
  74. <goal>repackage</goal>
  75. </goals>
  76. </execution>
  77. </executions>
  78. </plugin>
  79. <!-- jar包plugin-->
  80. <plugin>
  81. <artifactId>maven-jar-plugin</artifactId>
  82. <executions>
  83. <execution>
  84. <phase>compile</phase>
  85. <goals>
  86. <goal>jar</goal>
  87. </goals>
  88. <configuration>
  89. <!-- 添加core 修饰方便其它兄弟项目依赖此项目 -->
  90. <classifier>core</classifier>
  91. <includes>
  92. <include>**/com/persagy/entity/</include>
  93. <include>**/com/persagy/dao/</include>
  94. <include>**/com/persagy/mapper/</include>
  95. </includes>
  96. </configuration>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. <plugin>
  101. <groupId>org.apache.maven.plugins</groupId>
  102. <artifactId>maven-surefire-plugin</artifactId>
  103. <version>3.0.0-M5</version>
  104. <configuration>
  105. <testFailureIgnore>true</testFailureIgnore>
  106. </configuration>
  107. </plugin>
  108. </plugins>
  109. </build>
  110. </project>