pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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>manage-root</artifactId>
  7. <groupId>cn.efunbox.manage</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>manage-web</artifactId>
  12. <version>1.0.0-SNAPSHOT</version>
  13. <packaging>war</packaging>
  14. <dependencies>
  15. <dependency>
  16. <groupId>cn.efunbox.manage</groupId>
  17. <artifactId>manage-common</artifactId>
  18. <version>${project.version}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>cn.efunbox.manage</groupId>
  22. <artifactId>manage-api</artifactId>
  23. <version>${project.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. <exclusions>
  29. <exclusion>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-tomcat</artifactId>
  32. </exclusion>
  33. </exclusions>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-autoconfigure</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>org.springframework.boot</groupId>
  41. <artifactId>spring-boot-starter-tomcat</artifactId>
  42. <scope>provided</scope>
  43. </dependency>
  44. </dependencies>
  45. <build>
  46. <finalName>manage</finalName>
  47. <plugins>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-compiler-plugin</artifactId>
  51. <version>3.3</version>
  52. <configuration>
  53. <source>${java.version}</source>
  54. <target>${java.version}</target>
  55. <encoding>UTF-8</encoding>
  56. <showWarnings>true</showWarnings>
  57. </configuration>
  58. </plugin>
  59. <plugin>
  60. <groupId>org.apache.maven.plugins</groupId>
  61. <artifactId>maven-war-plugin</artifactId>
  62. <version>3.0.0</version>
  63. <configuration>
  64. <failOnMissingWebXml>false</failOnMissingWebXml>
  65. <outputDirectory>../target</outputDirectory>
  66. </configuration>
  67. </plugin>
  68. <!--<plugin>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-maven-plugin</artifactId>
  71. <version>1.5.7.RELEASE</version>
  72. <configuration>
  73. <outputDirectory>../target</outputDirectory>
  74. </configuration>
  75. <executions>
  76. <execution>
  77. <goals>
  78. <goal>repackage</goal>
  79. </goals>
  80. </execution>
  81. </executions>
  82. </plugin>-->
  83. </plugins>
  84. </build>
  85. </project>