pom.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.yihu.hos</groupId>
  6. <artifactId>hos-camel-parent</artifactId>
  7. <version>1.3.0</version>
  8. <relativePath>../hos-camel-parent</relativePath><!-- lookup parent from repository -->
  9. </parent>
  10. <artifactId>hos-camel2</artifactId>
  11. <name>hos-camel2</name>
  12. <dependencyManagement>
  13. <dependencies>
  14. <!-- import Spring Boot before Camel -->
  15. <dependency>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-dependencies</artifactId>
  18. <version>${spring-boot-version}</version>
  19. <type>pom</type>
  20. <scope>import</scope>
  21. </dependency>
  22. <!-- import Camel -->
  23. <dependency>
  24. <groupId>org.apache.camel</groupId>
  25. <artifactId>camel-parent</artifactId>
  26. <version>${camel-version}</version>
  27. <type>pom</type>
  28. <scope>import</scope>
  29. </dependency>
  30. </dependencies>
  31. </dependencyManagement>
  32. <dependencies>
  33. <!-- spring-boot -->
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-web</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter-test</artifactId>
  41. <scope>test</scope>
  42. </dependency>
  43. <!-- camel -->
  44. <dependency>
  45. <groupId>org.apache.camel</groupId>
  46. <artifactId>camel-spring-boot-starter</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>com.yihu.hos</groupId>
  50. <artifactId>hos-core</artifactId>
  51. <version>1.3.0</version>
  52. </dependency>
  53. <!-- notice we use -starter components from Camel which are designed to use with Spring Boot -->
  54. <!--<dependency>-->
  55. <!--<groupId>org.apache.camel</groupId>-->
  56. <!--<artifactId>camel-geocoder-starter</artifactId>-->
  57. <!--</dependency>-->
  58. <dependency>
  59. <groupId>org.apache.camel</groupId>
  60. <artifactId>camel-jetty</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.apache.camel</groupId>
  64. <artifactId>camel-restlet</artifactId>
  65. </dependency>
  66. </dependencies>
  67. <build>
  68. <plugins>
  69. <plugin>
  70. <!-- allows to run with mvn spring-boot:run -->
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-maven-plugin</artifactId>
  73. <version>${spring-boot-version}</version>
  74. <executions>
  75. <execution>
  76. <goals>
  77. <!-- to build fat-jar -->
  78. <goal>repackage</goal>
  79. </goals>
  80. </execution>
  81. </executions>
  82. </plugin>
  83. </plugins>
  84. </build>
  85. </project>