pom.xml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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-uniorder-executor</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. </parent>
  10. <artifactId>superdesk-uniorder-executor-instance</artifactId>
  11. <dependencies>
  12. <dependency>
  13. <groupId>org.springframework.boot</groupId>
  14. <artifactId>spring-boot-starter-web</artifactId>
  15. </dependency>
  16. <!-- Dubbo Spring Boot Starter -->
  17. <!-- <dependency>-->
  18. <!-- <groupId>com.alibaba.boot</groupId>-->
  19. <!-- <artifactId>dubbo-spring-boot-starter</artifactId>-->
  20. <!-- <version>0.2.1.RELEASE</version>-->
  21. <!-- </dependency>-->
  22. <!-- <dependency>-->
  23. <!-- <groupId>com.alibaba</groupId>-->
  24. <!-- <artifactId>dubbo</artifactId>-->
  25. <!-- <version>${dubbo.version}</version>-->
  26. <!-- </dependency>-->
  27. <dependency>
  28. <groupId>io.netty</groupId>
  29. <artifactId>netty-all</artifactId>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.mybatis.spring.boot</groupId>
  33. <artifactId>mybatis-spring-boot-starter</artifactId>
  34. <version>2.1.2</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-data-jpa</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>mysql</groupId>
  42. <artifactId>mysql-connector-java</artifactId>
  43. <version>${mysql.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>druid</artifactId>
  48. <version>${druid.version}</version>
  49. <!-- <exclusions>-->
  50. <!-- <exclusion>-->
  51. <!-- <groupId>com.alibaba</groupId>-->
  52. <!-- <artifactId>tools</artifactId>-->
  53. <!-- </exclusion>-->
  54. <!-- </exclusions>-->
  55. </dependency>
  56. <!-- druid -->
  57. <dependency>
  58. <groupId>com.alibaba</groupId>
  59. <artifactId>druid-spring-boot-starter</artifactId>
  60. <version>1.1.21</version>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.springframework.boot</groupId>
  64. <artifactId>spring-boot-starter-test</artifactId>
  65. <scope>test</scope>
  66. </dependency>
  67. <!-- pagehelper -->
  68. <dependency>
  69. <groupId>com.github.pagehelper</groupId>
  70. <artifactId>pagehelper-spring-boot-starter</artifactId>
  71. <version>1.2.3</version>
  72. </dependency>
  73. <!-- kafka -->
  74. <dependency>
  75. <groupId>org.springframework.kafka</groupId>
  76. <artifactId>spring-kafka</artifactId>
  77. </dependency>
  78. <dependency>
  79. <groupId>cn.superdesk.uniorder</groupId>
  80. <artifactId>superdesk-uniorder-executor-scheduler-kafka</artifactId>
  81. <version>${project.parent.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>cn.superdesk.uniorder</groupId>
  85. <artifactId>superdesk-uniorder-executor-scheduler-kafka-constants</artifactId>
  86. <version>${project.parent.version}</version>
  87. </dependency>
  88. <dependency>
  89. <groupId>cn.superdesk.uniorder</groupId>
  90. <artifactId>superdesk-uniorder-executor-scheduler-xxl-job</artifactId>
  91. <version>${project.parent.version}</version>
  92. </dependency>
  93. <dependency>
  94. <groupId>cn.superdesk.uniorder</groupId>
  95. <artifactId>superdesk-uniorder-executor-scheduler-xxl-job-constants</artifactId>
  96. <version>${project.parent.version}</version>
  97. </dependency>
  98. </dependencies>
  99. <profiles>
  100. <profile>
  101. <!-- 本地开发环境 -->
  102. <id>dev</id>
  103. <properties>
  104. <profiles.active>dev</profiles.active>
  105. </properties>
  106. <!--默认启用的是dev环境配置-->
  107. <activation>
  108. <activeByDefault>true</activeByDefault>
  109. </activation>
  110. </profile>
  111. <profile>
  112. <!-- 测试环境 -->
  113. <id>test</id>
  114. <properties>
  115. <profiles.active>test</profiles.active>
  116. </properties>
  117. </profile>
  118. <profile>
  119. <!-- UAT环境 -->
  120. <id>uat</id>
  121. <properties>
  122. <profiles.active>uat</profiles.active>
  123. </properties>
  124. </profile>
  125. <profile>
  126. <!-- 生产环境 -->
  127. <id>prod</id>
  128. <properties>
  129. <profiles.active>prod</profiles.active>
  130. </properties>
  131. </profile>
  132. <profile>
  133. <!-- 生产环境 侨城汇 -->
  134. <id>qch</id>
  135. <properties>
  136. <profiles.active>qch</profiles.active>
  137. </properties>
  138. </profile>
  139. </profiles>
  140. <build>
  141. <!-- <finalName>${project.artifactId}</finalName>-->
  142. <plugins>
  143. <plugin>
  144. <groupId>org.apache.maven.plugins</groupId>
  145. <artifactId>maven-deploy-plugin</artifactId>
  146. <configuration>
  147. <skip>true</skip>
  148. </configuration>
  149. </plugin>
  150. <plugin>
  151. <groupId>org.apache.maven.plugins</groupId>
  152. <artifactId>maven-install-plugin</artifactId>
  153. <configuration>
  154. <skip>true</skip>
  155. </configuration>
  156. </plugin>
  157. <plugin>
  158. <groupId>org.springframework.boot</groupId>
  159. <artifactId>spring-boot-maven-plugin</artifactId>
  160. <executions>
  161. <execution>
  162. <goals>
  163. <goal>repackage</goal>
  164. </goals>
  165. </execution>
  166. </executions>
  167. </plugin>
  168. </plugins>
  169. </build>
  170. </project>