pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>cn.com.ctop</groupId>
  5. <artifactId>module-callback</artifactId>
  6. <version>2.0.2</version>
  7. <parent>
  8. <groupId>org.jeecgframework.boot</groupId>
  9. <artifactId>jeecg-boot-parent</artifactId>
  10. <version>2.0.2</version>
  11. </parent>
  12. <name>module-callback</name>
  13. <!-- FIXME change it to the project's website -->
  14. <url>http://www.example.com</url>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <maven.compiler.source>1.7</maven.compiler.source>
  18. <maven.compiler.target>1.7</maven.compiler.target>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>cn.com.ctop</groupId>
  23. <artifactId>module-common</artifactId>
  24. <version>2.0.2</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>org.slf4j</groupId>
  28. <artifactId>jcl-over-slf4j</artifactId>
  29. <version>1.7.25</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.slf4j</groupId>
  33. <artifactId>slf4j-api</artifactId>
  34. <version>1.7.25</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.jeecgframework.boot</groupId>
  38. <artifactId>jeecg-boot-base-common</artifactId>
  39. <version>2.0.2</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.slf4j</groupId>
  43. <artifactId>jcl-over-slf4j</artifactId>
  44. <version>1.7.25</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.xuxueli</groupId>
  48. <artifactId>xxl-mq-client</artifactId>
  49. <version>1.2.2</version>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.mybatis.generator</groupId>
  56. <artifactId>mybatis-generator-maven-plugin</artifactId>
  57. <version>1.3.6</version>
  58. <configuration>
  59. <!-- 是否覆盖,true表示会替换生成的JAVA文件,false则不覆盖 -->
  60. <overwrite>true</overwrite>
  61. </configuration>
  62. <dependencies>
  63. <!--mysql驱动包-->
  64. <dependency>
  65. <groupId>mysql</groupId>
  66. <artifactId>mysql-connector-java</artifactId>
  67. <version>5.1.45</version>
  68. </dependency>
  69. </dependencies>
  70. </plugin>
  71. <plugin>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-maven-plugin</artifactId>
  74. </plugin>
  75. </plugins>
  76. <resources>
  77. <!-- 解决MyBatis配置文件引入问题 -->
  78. <resource>
  79. <directory>src/main/java</directory>
  80. <includes>
  81. <include>**/*.properties</include>
  82. <include>**/*.xml</include>
  83. </includes>
  84. <!-- 是否替换资源中的属性-->
  85. <filtering>true</filtering>
  86. </resource>
  87. <resource>
  88. <directory>src/main/resources</directory>
  89. <filtering>true</filtering>
  90. </resource>
  91. </resources>
  92. </build>
  93. <profiles>
  94. <profile>
  95. <id>dev</id>
  96. <properties>
  97. <!-- 环境标识,需要与配置文件的名称相对应 -->
  98. <activatedProperties>dev</activatedProperties>
  99. </properties>
  100. <activation>
  101. <!-- 默认环境 -->
  102. <activeByDefault>true</activeByDefault>
  103. </activation>
  104. </profile>
  105. <profile>
  106. <id>test</id>
  107. <properties>
  108. <activatedProperties>test</activatedProperties>
  109. </properties>
  110. </profile>
  111. <profile>
  112. <id>prod</id>
  113. <properties>
  114. <activatedProperties>prod</activatedProperties>
  115. </properties>
  116. </profile>
  117. </profiles>
  118. </project>