pom.xml.bak 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <project xmlns="http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>cn.superdesk.uniorder</groupId>
  7. <artifactId>superdesk-operation-center</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>superdesk-uniorder-executor</artifactId>
  11. <packaging>pom</packaging>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.springframework.boot</groupId>
  15. <artifactId>spring-boot-starter-web</artifactId>
  16. </dependency>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>com.github.xiaoymin</groupId>
  23. <artifactId>knife4j-spring-boot-starter</artifactId>
  24. <version>3.0.3</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.xuxueli</groupId>
  28. <artifactId>xxl-job-core</artifactId>
  29. <version>2.3.0</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>cn.superdesk.uniorder</groupId>
  33. <artifactId>superdesk-uniorder-dubbo-facade</artifactId>
  34. <version>${project.parent.version}</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>cn.superdesk.uniorder</groupId>
  38. <artifactId>superdesk-uniorder-dubbo-consumer</artifactId>
  39. <version>${project.parent.version}</version>
  40. </dependency>
  41. </dependencies>
  42. <profiles>
  43. <profile>
  44. <!-- 本地开发环境 -->
  45. <id>dev</id>
  46. <properties>
  47. <profiles.active>dev</profiles.active>
  48. </properties>
  49. <!--默认启用的是dev环境配置-->
  50. <activation>
  51. <activeByDefault>true</activeByDefault>
  52. </activation>
  53. </profile>
  54. <profile>
  55. <!-- 测试环境 -->
  56. <id>test</id>
  57. <properties>
  58. <profiles.active>test</profiles.active>
  59. </properties>
  60. </profile>
  61. <profile>
  62. <!-- UAT环境 -->
  63. <id>uat</id>
  64. <properties>
  65. <profiles.active>uat</profiles.active>
  66. </properties>
  67. </profile>
  68. <profile>
  69. <!-- 生产环境 -->
  70. <id>prod</id>
  71. <properties>
  72. <profiles.active>prod</profiles.active>
  73. </properties>
  74. </profile>
  75. <profile>
  76. <!-- 生产环境 侨城汇 -->
  77. <id>qch</id>
  78. <properties>
  79. <profiles.active>qch</profiles.active>
  80. </properties>
  81. </profile>
  82. </profiles>
  83. <build>
  84. <plugins>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-deploy-plugin</artifactId>
  88. <configuration>
  89. <skip>true</skip>
  90. </configuration>
  91. </plugin>
  92. <plugin>
  93. <groupId>org.apache.maven.plugins</groupId>
  94. <artifactId>maven-install-plugin</artifactId>
  95. <configuration>
  96. <skip>true</skip>
  97. </configuration>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.springframework.boot</groupId>
  101. <artifactId>spring-boot-maven-plugin</artifactId>
  102. <executions>
  103. <execution>
  104. <goals>
  105. <goal>repackage</goal>
  106. </goals>
  107. </execution>
  108. </executions>
  109. </plugin>
  110. <plugin>
  111. <groupId>org.mybatis.generator</groupId>
  112. <artifactId>mybatis-generator-maven-plugin</artifactId>
  113. <version>1.3.5</version>
  114. <configuration>
  115. <!-- 在控制台打印执行日志 -->
  116. <verbose>true</verbose>
  117. <!-- 重复生成时会覆盖之前的文件-->
  118. <overwrite>true</overwrite>
  119. <configurationFile>src/main/resources/generatorConfig.xml</configurationFile>
  120. </configuration>
  121. <!-- 数据库连接选择8.0以上的,因为用的mysql8.0-->
  122. <dependencies>
  123. <dependency>
  124. <groupId>mysql</groupId>
  125. <artifactId>mysql-connector-java</artifactId>
  126. <version>8.0.16</version>
  127. </dependency>
  128. </dependencies>
  129. </plugin>
  130. </plugins>
  131. </build>
  132. </project>