pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  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/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <artifactId>jeecg-boot-module-system</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. <repositories>
  13. <repository>
  14. <id>aliyun</id>
  15. <name>aliyun Repository</name>
  16. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  17. <snapshots>
  18. <enabled>false</enabled>
  19. </snapshots>
  20. </repository>
  21. <repository>
  22. <id>jeecg</id>
  23. <name>jeecg Repository</name>
  24. <url>http://maven.jeecg.org/nexus/content/repositories/jeecg</url>
  25. <snapshots>
  26. <enabled>false</enabled>
  27. </snapshots>
  28. </repository>
  29. </repositories>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.jeecgframework.boot</groupId>
  33. <artifactId>jeecg-boot-base-common</artifactId>
  34. <version>2.0.2</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.slf4j</groupId>
  38. <artifactId>jcl-over-slf4j</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>cn.com.ctop</groupId>
  42. <artifactId>module-media</artifactId>
  43. <version>2.0.2</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>cn.com.ctop</groupId>
  47. <artifactId>module-kuaishou</artifactId>
  48. <version>2.0.2</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>cn.com.ctop</groupId>
  52. <artifactId>module-toutiao</artifactId>
  53. <version>2.0.2</version>
  54. <scope>compile</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.aliyun.oss</groupId>
  58. <artifactId>aliyun-sdk-oss</artifactId>
  59. <version>3.5.0</version>
  60. </dependency>
  61. <!-- https://mvnrepository.com/artifact/org.apache.commons/commons-csv -->
  62. <dependency>
  63. <groupId>org.apache.commons</groupId>
  64. <artifactId>commons-csv</artifactId>
  65. <version>1.5</version>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-maven-plugin</artifactId>
  73. </plugin>
  74. </plugins>
  75. <resources>
  76. <!-- 解决MyBatis配置文件引入问题 -->
  77. <resource>
  78. <directory>src/main/java</directory>
  79. <includes>
  80. <include>**/*.properties</include>
  81. <include>**/*.xml</include>
  82. </includes>
  83. <!-- 是否替换资源中的属性-->
  84. <filtering>true</filtering>
  85. </resource>
  86. <resource>
  87. <directory>src/main/resources</directory>
  88. <filtering>true</filtering>
  89. </resource>
  90. </resources>
  91. </build>
  92. <profiles>
  93. <profile>
  94. <id>dev</id>
  95. <properties>
  96. <!-- 环境标识,需要与配置文件的名称相对应 -->
  97. <activatedProperties>dev</activatedProperties>
  98. </properties>
  99. <activation>
  100. <!-- 默认环境 -->
  101. <activeByDefault>true</activeByDefault>
  102. </activation>
  103. </profile>
  104. <profile>
  105. <id>test</id>
  106. <properties>
  107. <activatedProperties>test</activatedProperties>
  108. </properties>
  109. </profile>
  110. <profile>
  111. <id>prod</id>
  112. <properties>
  113. <activatedProperties>prod</activatedProperties>
  114. </properties>
  115. </profile>
  116. </profiles>
  117. </project>