pom.xml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.crunii.microservice</groupId>
  7. <artifactId>microservice</artifactId>
  8. <version>${micro.version}</version>
  9. </parent>
  10. <artifactId>interfaces</artifactId>
  11. <packaging>pom</packaging>
  12. <modules>
  13. <module>intf-http-demo</module>
  14. </modules>
  15. <dependencyManagement>
  16. <dependencies>
  17. <dependency>
  18. <groupId>org.springframework.boot</groupId>
  19. <artifactId>spring-boot-dependencies</artifactId>
  20. <version>${boot.dependencies.version}</version>
  21. <type>pom</type>
  22. <scope>import</scope>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.springframework.cloud</groupId>
  26. <artifactId>spring-cloud-dependencies</artifactId>
  27. <version>${cloud.dependencies.version}</version>
  28. <type>pom</type>
  29. <scope>import</scope>
  30. </dependency>
  31. <dependency>
  32. <groupId>com.alibaba.cloud</groupId>
  33. <artifactId>spring-cloud-alibaba-dependencies</artifactId>
  34. <version>${alibaba.dependencies.version}</version>
  35. <type>pom</type>
  36. <scope>import</scope>
  37. </dependency>
  38. <!-- interfaces -->
  39. <dependency>
  40. <groupId>com.crunii.microservice</groupId>
  41. <artifactId>intf-http-demo</artifactId>
  42. <version>${micro.version}</version>
  43. </dependency>
  44. </dependencies>
  45. </dependencyManagement>
  46. <dependencies>
  47. <dependency>
  48. <groupId>com.crunii.microservice</groupId>
  49. <artifactId>micro-common</artifactId>
  50. </dependency>
  51. <dependency>
  52. <groupId>com.crunii.microservice</groupId>
  53. <artifactId>micro-core</artifactId>
  54. </dependency>
  55. </dependencies>
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.springframework.boot</groupId>
  60. <artifactId>spring-boot-maven-plugin</artifactId>
  61. <version>${boot.maven.version}</version>
  62. <configuration>
  63. <mainClass>${start-class}</mainClass>
  64. <classifier>exec</classifier>
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <goals>
  69. <goal>repackage</goal>
  70. </goals>
  71. </execution>
  72. </executions>
  73. </plugin>
  74. </plugins>
  75. </build>
  76. </project>