pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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>GeoHazardMonitor</artifactId>
  7. <groupId>com.ozs</groupId>
  8. <version>1.0</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <packaging>jar</packaging>
  13. <version>1.0</version>
  14. <artifactId>hazard-admin</artifactId>
  15. <description>
  16. web服务入口
  17. </description>
  18. <dependencies>
  19. <!-- spring-boot-devtools -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-devtools</artifactId>
  23. <optional>true</optional> <!-- 表示依赖不会传递 -->
  24. </dependency>
  25. <!-- swagger3-->
  26. <!-- <dependency>-->
  27. <!-- <groupId>io.springfox</groupId>-->
  28. <!-- <artifactId>springfox-boot-starter</artifactId>-->
  29. <!-- </dependency>-->
  30. <!-- 防止进入swagger页面报类型转换错误,排除3.0.0中的引用,手动增加1.6.2版本 -->
  31. <dependency>
  32. <groupId>io.swagger</groupId>
  33. <artifactId>swagger-models</artifactId>
  34. <version>1.6.2</version>
  35. </dependency>
  36. <!-- Mysql驱动包 -->
  37. <dependency>
  38. <groupId>mysql</groupId>
  39. <artifactId>mysql-connector-java</artifactId>
  40. </dependency>
  41. <!-- 核心模块-->
  42. <dependency>
  43. <groupId>com.ozs</groupId>
  44. <artifactId>base-framework</artifactId>
  45. </dependency>
  46. <!-- 定时任务-->
  47. <dependency>
  48. <groupId>com.ozs</groupId>
  49. <artifactId>base-quartz</artifactId>
  50. </dependency>
  51. <!-- 代码生成-->
  52. <dependency>
  53. <groupId>com.ozs</groupId>
  54. <artifactId>base-generator</artifactId>
  55. </dependency>
  56. <!-- 业务代码-->
  57. <dependency>
  58. <groupId>com.ozs</groupId>
  59. <artifactId>business-service</artifactId>
  60. <exclusions>
  61. <exclusion>
  62. <artifactId>mybatis-plus-extension</artifactId>
  63. <groupId>com.baomidou</groupId>
  64. </exclusion>
  65. </exclusions>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-maven-plugin</artifactId>
  73. <version>2.1.1.RELEASE</version>
  74. <configuration>
  75. <fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
  76. </configuration>
  77. <executions>
  78. <execution>
  79. <goals>
  80. <goal>repackage</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. </plugin>
  85. <plugin>
  86. <groupId>org.apache.maven.plugins</groupId>
  87. <artifactId>maven-war-plugin</artifactId>
  88. <version>3.1.0</version>
  89. <configuration>
  90. <failOnMissingWebXml>false</failOnMissingWebXml>
  91. <warName>${project.artifactId}</warName>
  92. </configuration>
  93. </plugin>
  94. </plugins>
  95. <finalName>${project.artifactId}</finalName>
  96. </build>
  97. </project>