pom.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>leisp</artifactId>
  7. <groupId>com.leisp</groupId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <packaging>war</packaging>
  12. <artifactId>leisp-admin</artifactId>
  13. <description>
  14. web服务入口
  15. </description>
  16. <dependencies>
  17. <!-- SpringBoot集成thymeleaf模板 -->
  18. <dependency>
  19. <groupId>org.springframework.boot</groupId>
  20. <artifactId>spring-boot-starter-thymeleaf</artifactId>
  21. </dependency>
  22. <!-- spring-boot-devtools -->
  23. <!--孙一石 注释 打包问题-->
  24. <!--<dependency>-->
  25. <!--<groupId>org.springframework.boot</groupId>-->
  26. <!--<artifactId>spring-boot-devtools</artifactId>-->
  27. <!--<optional>true</optional> &lt;!&ndash; 表示依赖不会传递 &ndash;&gt;-->
  28. <!--</dependency>-->
  29. <!-- swagger2-->
  30. <dependency>
  31. <groupId>io.springfox</groupId>
  32. <artifactId>springfox-swagger2</artifactId>
  33. </dependency>
  34. <!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
  35. <dependency>
  36. <groupId>io.swagger</groupId>
  37. <artifactId>swagger-annotations</artifactId>
  38. <version>1.5.21</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>io.swagger</groupId>
  42. <artifactId>swagger-models</artifactId>
  43. <version>1.5.21</version>
  44. </dependency>
  45. <!-- swagger2-UI-->
  46. <dependency>
  47. <groupId>io.springfox</groupId>
  48. <artifactId>springfox-swagger-ui</artifactId>
  49. </dependency>
  50. <!-- Mysql驱动包 -->
  51. <dependency>
  52. <groupId>mysql</groupId>
  53. <artifactId>mysql-connector-java</artifactId>
  54. </dependency>
  55. <!-- 核心模块-->
  56. <dependency>
  57. <groupId>com.leisp</groupId>
  58. <artifactId>leisp-framework</artifactId>
  59. </dependency>
  60. <!-- 定时任务-->
  61. <dependency>
  62. <groupId>com.leisp</groupId>
  63. <artifactId>leisp-quartz</artifactId>
  64. </dependency>
  65. <!-- 代码生成-->
  66. <!--<dependency>-->
  67. <!--<groupId>com.leisp</groupId>-->
  68. <!--<artifactId>leisp-generator</artifactId>-->
  69. <!--</dependency>-->
  70. <!-- 业务依赖 -->
  71. <dependency>
  72. <groupId>com.leisp</groupId>
  73. <artifactId>mybusiness</artifactId>
  74. </dependency>
  75. </dependencies>
  76. <build>
  77. <plugins>
  78. <!--孙一石 注释 打包问题-->
  79. <!--<plugin>-->
  80. <!--<groupId>org.springframework.boot</groupId>-->
  81. <!--<artifactId>spring-boot-maven-plugin</artifactId>-->
  82. <!--<version>2.1.1.RELEASE</version>-->
  83. <!--<configuration>-->
  84. <!--<fork>true</fork> &lt;!&ndash; 如果没有该配置,devtools不会生效 &ndash;&gt;-->
  85. <!--</configuration>-->
  86. <!--<executions>-->
  87. <!--<execution>-->
  88. <!--<goals>-->
  89. <!--<goal>repackage</goal>-->
  90. <!--</goals>-->
  91. <!--</execution>-->
  92. <!--</executions>-->
  93. <!--</plugin>-->
  94. <plugin>
  95. <groupId>org.apache.maven.plugins</groupId>
  96. <artifactId>maven-war-plugin</artifactId>
  97. <version>3.0.0</version>
  98. <configuration>
  99. <failOnMissingWebXml>false</failOnMissingWebXml>
  100. <!--<warName>${project.artifactId}</warName>-->
  101. </configuration>
  102. </plugin>
  103. </plugins>
  104. <finalName>${project.artifactId}</finalName>
  105. </build>
  106. </project>