pom.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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-author</artifactId>
  12. <!-- 使用springboot类型创建模块时 模块的版本是0.0.1-SNAPSHOT 而用maven类型创建时 版本是1.0-SNAPSHOT-->
  13. <!-- 可以通过删除子模块的版本 这样会默认使用父项目的版本-->
  14. <!-- <version>0.0.1-SNAPSHOT</version>-->
  15. <name>novel-author</name>
  16. <description>novel-author</description>
  17. <dependencies>
  18. <dependency>
  19. <groupId>com.sf</groupId>
  20. <artifactId>novel-core</artifactId>
  21. <version>${project.parent.version}</version>
  22. </dependency>
  23. <!-- 使用jwt来做用户登录信息加密和校验 -->
  24. <dependency>
  25. <groupId>io.jsonwebtoken</groupId>
  26. <artifactId>jjwt-api</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>io.jsonwebtoken</groupId>
  30. <artifactId>jjwt-impl</artifactId>
  31. <scope>runtime</scope>
  32. </dependency>
  33. <dependency>
  34. <groupId>io.jsonwebtoken</groupId>
  35. <artifactId>jjwt-jackson</artifactId>
  36. <scope>runtime</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.sf</groupId>
  40. <artifactId>novel-book-api</artifactId>
  41. <version>${parent.version}</version>
  42. </dependency>
  43. </dependencies>
  44. <build>
  45. <plugins>
  46. <plugin>
  47. <groupId>org.springframework.boot</groupId>
  48. <artifactId>spring-boot-maven-plugin</artifactId>
  49. </plugin>
  50. </plugins>
  51. </build>
  52. </project>