pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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>tofly-base</artifactId>
  7. <groupId>com.tofly</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>base-service</artifactId>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.tofly</groupId>
  16. <artifactId>common-oauth</artifactId>
  17. <version>1.0-SNAPSHOT</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.tofly</groupId>
  21. <artifactId>common-log</artifactId>
  22. <version>1.0-SNAPSHOT</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.cloud</groupId>
  26. <artifactId>spring-cloud-starter-config</artifactId>
  27. </dependency>
  28. <!--<dependency>-->
  29. <!--<groupId>com.oracle</groupId>-->
  30. <!--<artifactId>ojdbc6</artifactId>-->
  31. <!--<version>11.2.0.4.0-atlassian-hosted</version>-->
  32. <!--</dependency>-->
  33. <!--<dependency>-->
  34. <!--<groupId>mysql</groupId>-->
  35. <!--<artifactId>mysql-connector-java</artifactId>-->
  36. <!--</dependency>-->
  37. <dependency>
  38. <groupId>org.apache.httpcomponents</groupId>
  39. <artifactId>httpclient</artifactId>
  40. </dependency>
  41. <dependency>
  42. <groupId>org.thymeleaf</groupId>
  43. <artifactId>thymeleaf-spring5</artifactId>
  44. </dependency>
  45. <!--<dependency>
  46. <groupId>org.zenframework.z8.dependencies.commons</groupId>
  47. <artifactId>ojdbc6</artifactId>
  48. <version>2.0</version>
  49. </dependency>-->
  50. <!--web 模块-->
  51. <dependency>
  52. <groupId>org.springframework.boot</groupId>
  53. <artifactId>spring-boot-starter-web</artifactId>
  54. <exclusions>
  55. <!--排除tomcat依赖-->
  56. <exclusion>
  57. <artifactId>spring-boot-starter-tomcat</artifactId>
  58. <groupId>org.springframework.boot</groupId>
  59. </exclusion>
  60. </exclusions>
  61. </dependency>
  62. <!--undertow容器,经测验,undertow比tomct性能更好-->
  63. <dependency>
  64. <groupId>org.springframework.boot</groupId>
  65. <artifactId>spring-boot-starter-undertow</artifactId>
  66. </dependency>
  67. </dependencies>
  68. <build>
  69. <plugins>
  70. <plugin>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-maven-plugin</artifactId>
  73. <executions>
  74. <execution>
  75. <goals>
  76. <goal>repackage</goal>
  77. </goals>
  78. </execution>
  79. </executions>
  80. </plugin>
  81. </plugins>
  82. </build>
  83. </project>