pom.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.sf</groupId>
  7. <artifactId>novel-cloud-demo</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <groupId>com.sf</groupId>
  11. <artifactId>novel-home</artifactId>
  12. <version>0.0.1-SNAPSHOT</version>
  13. <name>novel-home</name>
  14. <description>novel-home</description>
  15. <properties>
  16. <java.version>17</java.version>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.sf</groupId>
  21. <artifactId>novel-core</artifactId>
  22. <!-- <version>1.0-SNAPSHOT</version>-->
  23. <!-- 修改版本使用父项目即为 novel-cloud-demo的版本 -->
  24. <version>${project.parent.version}</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.sf</groupId>
  28. <artifactId>novel-book-api</artifactId>
  29. <version>${parent.version}</version>
  30. </dependency>
  31. </dependencies>
  32. <build>
  33. <plugins>
  34. <plugin>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-maven-plugin</artifactId>
  37. </plugin>
  38. </plugins>
  39. </build>
  40. </project>