pom.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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/maven-v4_0_0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>com.hfln.device</groupId>
  7. <artifactId>hfln-device-service</artifactId>
  8. <version>1.0.0-SNAPSHOT</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <artifactId>device-service-server</artifactId>
  12. <packaging>jar</packaging>
  13. <name>device-service-server</name>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.hfln.device</groupId>
  17. <artifactId>device-service-application</artifactId>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.hfln.device</groupId>
  21. <artifactId>device-service-infrastructure</artifactId>
  22. </dependency>
  23. <dependency>
  24. <groupId>org.springframework.boot</groupId>
  25. <artifactId>spring-boot-starter-test</artifactId>
  26. <scope>test</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-web</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>com.alibaba.cloud</groupId>
  34. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.cloud</groupId>
  38. <artifactId>spring-cloud-starter-openfeign</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>com.alibaba.cloud</groupId>
  42. <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
  43. </dependency>
  44. <dependency>
  45. <groupId>com.alibaba</groupId>
  46. <artifactId>druid-spring-boot-starter</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>cn.hfln.framework</groupId>
  50. <artifactId>knife4j-doc-spring-boot-starter</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.codehaus.janino</groupId>
  54. <artifactId>janino</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-actuator</artifactId>
  59. </dependency>
  60. </dependencies>
  61. <build>
  62. <finalName>device-service</finalName>
  63. <plugins>
  64. <!-- Compiler plugin uses parent properties -->
  65. <plugin>
  66. <groupId>org.apache.maven.plugins</groupId>
  67. <artifactId>maven-compiler-plugin</artifactId>
  68. <version>3.10.0</version>
  69. <configuration>
  70. <source>${maven.compiler.source}</source>
  71. <target>${maven.compiler.target}</target>
  72. </configuration>
  73. </plugin>
  74. <plugin>
  75. <groupId>org.springframework.boot</groupId>
  76. <artifactId>spring-boot-maven-plugin</artifactId>
  77. <executions>
  78. <execution>
  79. <goals>
  80. <goal>repackage</goal>
  81. </goals>
  82. </execution>
  83. </executions>
  84. <configuration>
  85. <classifier>boot</classifier>
  86. <mainClass>com.hfln.device.server.DeviceApplication</mainClass>
  87. </configuration>
  88. </plugin>
  89. </plugins>
  90. </build>
  91. </project>