pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.1.3.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.mwt</groupId>
  12. <artifactId>oes</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>oes</name>
  15. <description>onlineexam-system-backend</description>
  16. <packaging>war</packaging>
  17. <properties>
  18. <java.version>1.8</java.version>
  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.mybatis.spring.boot</groupId>
  27. <artifactId>mybatis-spring-boot-starter</artifactId>
  28. <version>2.0.0</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-test</artifactId>
  33. <scope>test</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. <scope>runtime</scope>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.projectlombok</groupId>
  42. <artifactId>lombok</artifactId>
  43. <version>1.16.20</version>
  44. <scope>provided</scope>
  45. </dependency>
  46. <!-- 热部署模块 -->
  47. <dependency>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-devtools</artifactId>
  50. <optional>true</optional> <!-- 这个需要为 true 热部署才有效 -->
  51. </dependency>
  52. <!--七牛云依赖-->
  53. <dependency>
  54. <groupId>com.qiniu</groupId>
  55. <artifactId>qiniu-java-sdk</artifactId>
  56. <version>7.2.11</version>
  57. <scope>compile</scope>
  58. </dependency>
  59. <!-- websocket 模块 -->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-websocket</artifactId>
  63. </dependency>
  64. <!--<dependency>-->
  65. <!--<groupId>org.springframework</groupId>-->
  66. <!--<artifactId>spring-websocket</artifactId>-->
  67. <!--<version>5.1.5.RELEASE</version>-->
  68. <!--</dependency>-->
  69. <!--用于移除嵌入式tomcat插件-->
  70. <!--<dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-web</artifactId>
  73. <exclusions>
  74. <exclusion>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-starter-tomcat</artifactId>
  77. </exclusion>
  78. </exclusions>
  79. </dependency>-->
  80. <!--<dependency>-->
  81. <!--<groupId>org.springframework.boot</groupId>-->
  82. <!--<artifactId>spring-boot-starter-tomcat</artifactId>-->
  83. <!--<scope>provided</scope>-->
  84. <!--</dependency>-->
  85. </dependencies>
  86. <build>
  87. <finalName>oes</finalName>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-maven-plugin</artifactId>
  92. <configuration>
  93. <fork>true</fork>
  94. </configuration>
  95. </plugin>
  96. </plugins>
  97. </build>
  98. </project>