数据库第二次大作业boostore
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

143 lines
5.3 KiB

11 months ago
11 months ago
11 months ago
  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. <groupId>cn.edu.ecnu.stu</groupId>
  6. <artifactId>bookstore</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. <name>bookstore</name>
  9. <description>bookstore</description>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  14. <spring-boot.version>2.6.13</spring-boot.version>
  15. </properties>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-starter-web</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.mybatis.spring.boot</groupId>
  23. <artifactId>mybatis-spring-boot-starter</artifactId>
  24. <version>2.2.2</version>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.mysql</groupId>
  28. <artifactId>mysql-connector-j</artifactId>
  29. <scope>runtime</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.projectlombok</groupId>
  33. <artifactId>lombok</artifactId>
  34. <optional>true</optional>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-test</artifactId>
  39. <scope>test</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-starter-security</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.alibaba</groupId>
  47. <artifactId>druid</artifactId>
  48. <version>1.1.9</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.auth0</groupId>
  52. <artifactId>java-jwt</artifactId>
  53. <version>3.4.0</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.alibaba</groupId>
  57. <artifactId>fastjson</artifactId>
  58. <version>1.2.47</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-data-redis</artifactId>
  63. </dependency>
  64. <dependency>
  65. <groupId>org.apache.httpcomponents</groupId>
  66. <artifactId>httpclient</artifactId>
  67. <version>4.5.13</version>
  68. </dependency>
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-amqp</artifactId>
  72. </dependency>
  73. </dependencies>
  74. <dependencyManagement>
  75. <dependencies>
  76. <dependency>
  77. <groupId>org.springframework.boot</groupId>
  78. <artifactId>spring-boot-dependencies</artifactId>
  79. <version>${spring-boot.version}</version>
  80. <type>pom</type>
  81. <scope>import</scope>
  82. </dependency>
  83. </dependencies>
  84. </dependencyManagement>
  85. <build>
  86. <plugins>
  87. <plugin>
  88. <groupId>org.apache.maven.plugins</groupId>
  89. <artifactId>maven-compiler-plugin</artifactId>
  90. <version>3.8.1</version>
  91. <configuration>
  92. <source>1.8</source>
  93. <target>1.8</target>
  94. <encoding>UTF-8</encoding>
  95. </configuration>
  96. </plugin>
  97. <plugin>
  98. <groupId>org.springframework.boot</groupId>
  99. <artifactId>spring-boot-maven-plugin</artifactId>
  100. <version>${spring-boot.version}</version>
  101. <configuration>
  102. <mainClass>cn.edu.ecnu.stu.bookstore.BookstoreApplication</mainClass>
  103. <skip>true</skip>
  104. </configuration>
  105. <executions>
  106. <execution>
  107. <id>repackage</id>
  108. <goals>
  109. <goal>repackage</goal>
  110. </goals>
  111. </execution>
  112. </executions>
  113. </plugin>
  114. <plugin>
  115. <groupId>org.jacoco</groupId>
  116. <artifactId>jacoco-maven-plugin</artifactId>
  117. <version>0.8.7</version>
  118. <executions>
  119. <execution>
  120. <goals>
  121. <goal>prepare-agent</goal>
  122. </goals>
  123. </execution>
  124. <execution>
  125. <id>report</id>
  126. <phase>test</phase>
  127. <goals>
  128. <goal>report</goal>
  129. </goals>
  130. <configuration>
  131. <!--定义输出的文件夹-->
  132. <outputDirectory>target/jacoco-report</outputDirectory>
  133. </configuration>
  134. </execution>
  135. </executions>
  136. </plugin>
  137. </plugins>
  138. </build>
  139. </project>