pom.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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.lianxiang</groupId>
  13. <artifactId>mjava-lianxiang</artifactId>
  14. <properties>
  15. <maven.compiler.source>8</maven.compiler.source>
  16. <maven.compiler.target>8</maven.compiler.target>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-test</artifactId>
  27. <scope>test</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>junit</groupId>
  31. <artifactId>junit</artifactId>
  32. <scope>test</scope>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.malk</groupId>
  36. <artifactId>base</artifactId>
  37. <version>1.1-SNAPSHOT</version>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <finalName>lianxiang</finalName>
  42. <plugins>
  43. <plugin>
  44. <groupId>org.apache.maven.plugins</groupId>
  45. <artifactId>maven-compiler-plugin</artifactId>
  46. <version>3.1</version>
  47. <configuration>
  48. <source>1.8</source>
  49. <target>1.8</target>
  50. <encoding>UTF-8</encoding>
  51. </configuration>
  52. </plugin>
  53. <plugin>
  54. <groupId>org.springframework.boot</groupId>
  55. <artifactId>spring-boot-maven-plugin</artifactId>
  56. <configuration>
  57. <executable>true</executable>
  58. <includeSystemScope>true</includeSystemScope>
  59. </configuration>
  60. </plugin>
  61. </plugins>
  62. </build>
  63. </project>