pom.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>org.springframework.boot</groupId>
  8. <artifactId>spring-boot-starter-parent</artifactId>
  9. <version>2.2.0.RELEASE</version> <!-- 使用最新的稳定版或其他适用版本 -->
  10. <relativePath/> <!-- lookup parent from repository -->
  11. </parent>
  12. <groupId>com.malk.lingmingguangzi</groupId>
  13. <artifactId>mjava-lingmingguangzi</artifactId>
  14. <version>1.0-SNAPSHOT</version>
  15. <properties>
  16. <maven.compiler.source>8</maven.compiler.source>
  17. <maven.compiler.target>8</maven.compiler.target>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-test</artifactId>
  28. <scope>test</scope>
  29. </dependency>
  30. <dependency>
  31. <groupId>junit</groupId>
  32. <artifactId>junit</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>com.malk</groupId>
  37. <artifactId>base</artifactId>
  38. <version>1.1-SNAPSHOT</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>junit</groupId>
  42. <artifactId>junit</artifactId>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.apache.httpcomponents</groupId>
  47. <artifactId>httpclient</artifactId>
  48. <version>4.5.13</version> <!-- 请检查最新版本 -->
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.httpcomponents</groupId>
  52. <artifactId>httpmime</artifactId>
  53. <version>4.5.13</version> <!-- 请检查最新版本,该库提供了对multipart/form-data的支持 -->
  54. </dependency>
  55. <dependency>
  56. <groupId>com.aliyun</groupId>
  57. <artifactId>aliyun-http-apache</artifactId>
  58. <version>0.2.10-beta</version>
  59. <scope>compile</scope>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <finalName>lingmingguangzi</finalName>
  64. <plugins>
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-compiler-plugin</artifactId>
  68. <version>3.1</version>
  69. <configuration>
  70. <source>1.8</source>
  71. <target>1.8</target>
  72. <encoding>UTF-8</encoding>
  73. </configuration>
  74. </plugin>
  75. <plugin>
  76. <groupId>org.springframework.boot</groupId>
  77. <artifactId>spring-boot-maven-plugin</artifactId>
  78. <configuration>
  79. <executable>true</executable>
  80. <includeSystemScope>true</includeSystemScope>
  81. </configuration>
  82. </plugin>
  83. </plugins>
  84. </build>
  85. </project>