pom.xml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Copyright 1999-2018 Alibaba Group Holding Ltd.
  4. ~
  5. ~ Licensed under the Apache License, Version 2.0 (the "License");
  6. ~ you may not use this file except in compliance with the License.
  7. ~ You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <project xmlns="http://maven.apache.org/POM/4.0.0"
  18. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  20. <modelVersion>4.0.0</modelVersion>
  21. <parent>
  22. <groupId>vip.xiaonuo</groupId>
  23. <artifactId>snowy-server</artifactId>
  24. <version>2.0.0</version>
  25. </parent>
  26. <artifactId>snowy-nacos-app</artifactId>
  27. <packaging>jar</packaging>
  28. <description>Nacos应用启动组件</description>
  29. <properties>
  30. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  31. <nacos.version>2.1.2.GA</nacos.version>
  32. </properties>
  33. <dependencies>
  34. <dependency>
  35. <groupId>vip.xiaonuo.nacos</groupId>
  36. <artifactId>nacos-config</artifactId>
  37. <version>${nacos.version}</version>
  38. </dependency>
  39. <dependency>
  40. <groupId>vip.xiaonuo.nacos</groupId>
  41. <artifactId>nacos-naming</artifactId>
  42. <version>${nacos.version}</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>vip.xiaonuo.nacos</groupId>
  46. <artifactId>nacos-plugin-default-impl</artifactId>
  47. <version>${nacos.version}</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>vip.xiaonuo.nacos</groupId>
  51. <artifactId>nacos-istio</artifactId>
  52. <version>${nacos.version}</version>
  53. </dependency>
  54. <!-- log -->
  55. <!-- log4j通过slf4j来代理 -->
  56. <dependency>
  57. <groupId>org.slf4j</groupId>
  58. <artifactId>log4j-over-slf4j</artifactId>
  59. </dependency>
  60. <!-- apache commons logging通过slf4j来代理 -->
  61. <dependency>
  62. <groupId>org.slf4j</groupId>
  63. <artifactId>jcl-over-slf4j</artifactId>
  64. </dependency>
  65. <!-- java.util.logging 通过slf4j来代理 -->
  66. <dependency>
  67. <groupId>org.slf4j</groupId>
  68. <artifactId>jul-to-slf4j</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-security</artifactId>
  73. </dependency>
  74. </dependencies>
  75. <build>
  76. <finalName>${project.artifactId}</finalName>
  77. <plugins>
  78. <plugin>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-maven-plugin</artifactId>
  81. <executions>
  82. <execution>
  83. <goals>
  84. <goal>repackage</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. <configuration>
  89. <fork>true</fork>
  90. </configuration>
  91. </plugin>
  92. </plugins>
  93. <resources>
  94. <resource>
  95. <directory>src/main/resources</directory>
  96. <excludes>
  97. <exclude>static/console-ui/.vscode/**</exclude>
  98. </excludes>
  99. </resource>
  100. </resources>
  101. </build>
  102. </project>