pom.xml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>deventor</artifactId>
  7. <groupId>com.bluefire</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>deventor-unicom-carmi</artifactId>
  12. <properties>
  13. <java.version>1.8</java.version>
  14. </properties>
  15. <dependencies>
  16. <dependency>
  17. <groupId>org.springframework.boot</groupId>
  18. <artifactId>spring-boot-starter-web</artifactId>
  19. </dependency>
  20. <dependency>
  21. <groupId>com.bluefire</groupId>
  22. <artifactId>deventor-cor</artifactId>
  23. <version>${project.version}</version>
  24. </dependency>
  25. <!-- 数据库加密 -->
  26. <dependency>
  27. <groupId>com.github.ulisesbocchio</groupId>
  28. <artifactId>jasypt-spring-boot-starter</artifactId>
  29. </dependency>
  30. <!--swagger-->
  31. <dependency>
  32. <groupId>io.springfox</groupId>
  33. <artifactId>springfox-swagger2</artifactId>
  34. </dependency>
  35. <!-- swagger ui -->
  36. <dependency>
  37. <groupId>io.springfox</groupId>
  38. <artifactId>springfox-swagger-ui</artifactId>
  39. </dependency>
  40. <!--okhttp-->
  41. <dependency>
  42. <groupId>com.squareup.okhttp3</groupId>
  43. <artifactId>okhttp</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-configuration-processor</artifactId>
  48. <optional>true</optional>
  49. </dependency>
  50. <dependency>
  51. <groupId>junit</groupId>
  52. <artifactId>junit</artifactId>
  53. <scope>test</scope>
  54. </dependency>
  55. </dependencies>
  56. <profiles>
  57. <!--本地调试环境-->
  58. <profile>
  59. <id>dev</id>
  60. <properties>
  61. <package.environment>dev</package.environment>
  62. <package.exclude></package.exclude>
  63. </properties>
  64. </profile>
  65. <!--打包的时候默认打包测试的包-->
  66. <profile>
  67. <id>test</id>
  68. <activation>
  69. <activeByDefault>true</activeByDefault>
  70. </activation>
  71. <properties>
  72. <package.environment>test</package.environment>
  73. <package.exclude>application*</package.exclude>
  74. </properties>
  75. </profile>
  76. <!--发布-->
  77. <profile>
  78. <id>release</id>
  79. <properties>
  80. <package.environment>release</package.environment>
  81. <package.exclude>application*</package.exclude>
  82. </properties>
  83. </profile>
  84. </profiles>
  85. <build>
  86. <!--suppress UnresolvedMavenProperty -->
  87. <finalName>${project.name}-${package.environment}-${project.version}</finalName>
  88. <plugins>
  89. <!--打包插件-->
  90. <plugin>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-maven-plugin</artifactId>
  93. </plugin>
  94. </plugins>
  95. </build>
  96. <repositories>
  97. <!--阿里云主仓库,代理了maven central和jcenter仓库-->
  98. <repository>
  99. <id>aliyun</id>
  100. <name>aliyun</name>
  101. <url>https://maven.aliyun.com/repository/public</url>
  102. <releases>
  103. <enabled>true</enabled>
  104. </releases>
  105. <snapshots>
  106. <enabled>false</enabled>
  107. </snapshots>
  108. </repository>
  109. <!--阿里云代理Spring 官方仓库-->
  110. <repository>
  111. <id>spring-milestones</id>
  112. <name>Spring Milestones</name>
  113. <url>https://maven.aliyun.com/repository/spring</url>
  114. <releases>
  115. <enabled>true</enabled>
  116. </releases>
  117. <snapshots>
  118. <enabled>false</enabled>
  119. </snapshots>
  120. </repository>
  121. </repositories>
  122. <pluginRepositories>
  123. <!--阿里云代理Spring 插件仓库-->
  124. <pluginRepository>
  125. <id>spring-plugin</id>
  126. <name>spring-plugin</name>
  127. <url>https://maven.aliyun.com/repository/spring-plugin</url>
  128. <releases>
  129. <enabled>true</enabled>
  130. </releases>
  131. <snapshots>
  132. <enabled>false</enabled>
  133. </snapshots>
  134. </pluginRepository>
  135. </pluginRepositories>
  136. </project>