pom-war.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.2.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.jlwl</groupId>
  12. <!-- 导入项目的名称 -->
  13. <artifactId>springbootus5uu</artifactId>
  14. <version>0.0.1-SNAPSHOT</version>
  15. <name>springboot-schema</name>
  16. <description>springboot学习框架(war包对应的pom,打war包,执行【mvn clean package -f pom-war.xml】)</description>
  17. <packaging>jar</packaging>
  18. <properties>
  19. <java.version>1.8</java.version>
  20. <fastjson.version>1.2.8</fastjson.version>
  21. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>org.springframework.boot</groupId>
  26. <artifactId>spring-boot-starter-web</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.mybatis.spring.boot</groupId>
  30. <artifactId>mybatis-spring-boot-starter</artifactId>
  31. <version>2.1.1</version>
  32. </dependency>
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-jdbc</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-tomcat</artifactId>
  40. <scope>provided</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>mysql</groupId>
  44. <artifactId>mysql-connector-java</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.shiro</groupId>
  48. <artifactId>shiro-spring</artifactId>
  49. <version>1.3.2</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.baomidou</groupId>
  53. <artifactId>mybatis-plus</artifactId>
  54. <version>2.3</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.baomidou</groupId>
  58. <artifactId>mybatisplus-spring-boot-starter</artifactId>
  59. <version>1.0.5</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.google.protobuf</groupId>
  63. <artifactId>protobuf-java</artifactId>
  64. <version>3.10.0</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.apache.commons</groupId>
  68. <artifactId>commons-lang3</artifactId>
  69. <version>3.0</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>javax.validation</groupId>
  73. <artifactId>validation-api</artifactId>
  74. <version>2.0.1.Final</version>
  75. </dependency>
  76. <dependency>
  77. <groupId>commons-io</groupId>
  78. <artifactId>commons-io</artifactId>
  79. <version>2.5</version>
  80. </dependency>
  81. <dependency>
  82. <groupId>cn.hutool</groupId>
  83. <artifactId>hutool-all</artifactId>
  84. <version>4.0.12</version>
  85. </dependency>
  86. <!-- FastJson -->
  87. <dependency>
  88. <groupId>com.alibaba</groupId>
  89. <artifactId>fastjson</artifactId>
  90. <version>${fastjson.version}</version>
  91. </dependency>
  92. <!-- 百度人工智能 -->
  93. <dependency>
  94. <groupId>com.baidu.aip</groupId>
  95. <artifactId>java-sdk</artifactId>
  96. <version>4.4.1</version>
  97. </dependency>
  98. <dependency>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-starter-test</artifactId>
  101. <scope>test</scope>
  102. <exclusions>
  103. <exclusion>
  104. <groupId>org.junit.vintage</groupId>
  105. <artifactId>junit-vintage-engine</artifactId>
  106. </exclusion>
  107. </exclusions>
  108. </dependency>
  109. </dependencies>
  110. <build>
  111. <finalName>springbootus5uu</finalName>
  112. <plugins>
  113. <plugin>
  114. <groupId>org.springframework.boot</groupId>
  115. <artifactId>spring-boot-maven-plugin</artifactId>
  116. </plugin>
  117. <!-- 跳过单元测试 -->
  118. <plugin>
  119. <groupId>org.apache.maven.plugins</groupId>
  120. <artifactId>maven-surefire-plugin</artifactId>
  121. <configuration>
  122. <skipTests>true</skipTests>
  123. </configuration>
  124. </plugin>
  125. </plugins>
  126. </build>
  127. </project>