pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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>fframwork</artifactId>
  7. <groupId>com.tofly</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>tofly-es</artifactId>
  12. <dependencies>
  13. <!--<dependency>-->
  14. <!--<groupId>org.elasticsearch</groupId>-->
  15. <!--<artifactId>elasticsearch</artifactId>-->
  16. <!--</dependency>-->
  17. <dependency>
  18. <groupId>org.springframework.data</groupId>
  19. <artifactId>spring-data-elasticsearch</artifactId>
  20. </dependency>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. <exclusions>
  25. <!--排除tomcat依赖-->
  26. <exclusion>
  27. <artifactId>spring-boot-starter-tomcat</artifactId>
  28. <groupId>org.springframework.boot</groupId>
  29. </exclusion>
  30. </exclusions>
  31. </dependency>
  32. <!--undertow容器,经测验,undertow比tomct性能更好-->
  33. <dependency>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-starter-undertow</artifactId>
  36. </dependency>
  37. <dependency>
  38. <groupId>com.tofly</groupId>
  39. <artifactId>common-core</artifactId>
  40. <version>1.0-SNAPSHOT</version>
  41. </dependency>
  42. </dependencies>
  43. <build>
  44. <plugins>
  45. <plugin>
  46. <groupId>org.springframework.boot</groupId>
  47. <artifactId>spring-boot-maven-plugin</artifactId>
  48. <executions>
  49. <execution>
  50. <goals>
  51. <goal>repackage</goal>
  52. </goals>
  53. </execution>
  54. </executions>
  55. </plugin>
  56. </plugins>
  57. </build>
  58. </project>