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