pom.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.hotent</groupId>
  8. <artifactId>eip</artifactId>
  9. <version>8.0.7</version>
  10. </parent>
  11. <artifactId>auth-server</artifactId>
  12. <properties>
  13. <maven.compiler.source>8</maven.compiler.source>
  14. <maven.compiler.target>8</maven.compiler.target>
  15. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  16. </properties>
  17. <name>auth-server</name>
  18. <description>认证中心-服务</description>
  19. <dependencies>
  20. <dependency>
  21. <groupId>com.hotent</groupId>
  22. <artifactId>i18n</artifactId>
  23. <version>${parent.version}</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.hotent</groupId>
  27. <artifactId>uc</artifactId>
  28. <version>${parent.version}</version>
  29. <exclusions>
  30. <exclusion>
  31. <groupId>com.hotent</groupId>
  32. <artifactId>rest-auth-service</artifactId>
  33. </exclusion>
  34. </exclusions>
  35. </dependency>
  36. <dependency>
  37. <groupId>com.hotent</groupId>
  38. <artifactId>uc</artifactId>
  39. <version>8.0.7</version>
  40. <scope>compile</scope>
  41. </dependency>
  42. </dependencies>
  43. <!-- 用于生成jar文件-->
  44. <build>
  45. <finalName>auth-server</finalName>
  46. <plugins>
  47. <plugin>
  48. <groupId>org.springframework.boot</groupId>
  49. <artifactId>spring-boot-maven-plugin</artifactId>
  50. <version>${spring.boot.version}</version>
  51. <configuration>
  52. <mainClass>com.hotent.auth.server.Application</mainClass>
  53. <layout>JAR</layout>
  54. </configuration>
  55. <executions>
  56. <execution>
  57. <goals>
  58. <goal>repackage</goal>
  59. </goals>
  60. <configuration>
  61. <attach>false</attach>
  62. <classifier>boot</classifier>
  63. </configuration>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. </project>