pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~
  4. ~ Copyright (c) 2018-2025, lengleng All rights reserved.
  5. ~
  6. ~ Redistribution and use in source and binary forms, with or without
  7. ~ modification, are permitted provided that the following conditions are met:
  8. ~
  9. ~ Redistributions of source code must retain the above copyright notice,
  10. ~ this list of conditions and the following disclaimer.
  11. ~ Redistributions in binary form must reproduce the above copyright
  12. ~ notice, this list of conditions and the following disclaimer in the
  13. ~ documentation and/or other materials provided with the distribution.
  14. ~ Neither the name of the pig4cloud.com developer nor the names of its
  15. ~ contributors may be used to endorse or promote products derived from
  16. ~ this software without specific prior written permission.
  17. ~ Author: lengleng (wangiegie@gmail.com)
  18. ~
  19. -->
  20. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
  21. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  22. <modelVersion>4.0.0</modelVersion>
  23. <parent>
  24. <groupId>com.pig4cloud</groupId>
  25. <artifactId>pigx-upms</artifactId>
  26. <version>${pigx.version}</version>
  27. </parent>
  28. <artifactId>pigx-upms-biz</artifactId>
  29. <packaging>jar</packaging>
  30. <name>pigx-upms-biz</name>
  31. <description>pigx 通用用户权限管理系统业务处理模块</description>
  32. <dependencies>
  33. <!--upms api、model 模块-->
  34. <dependency>
  35. <groupId>com.pig4cloud</groupId>
  36. <artifactId>pigx-upms-api</artifactId>
  37. <version>${pigx.version}</version>
  38. </dependency>
  39. <!--日志处理-->
  40. <dependency>
  41. <groupId>com.pig4cloud</groupId>
  42. <artifactId>pigx-common-log</artifactId>
  43. <version>${pigx.version}</version>
  44. </dependency>
  45. <!--swagger-->
  46. <dependency>
  47. <groupId>com.pig4cloud</groupId>
  48. <artifactId>pigx-common-swagger</artifactId>
  49. <version>${pigx.version}</version>
  50. </dependency>
  51. <!--eureka 客户端-->
  52. <dependency>
  53. <groupId>org.springframework.cloud</groupId>
  54. <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
  55. </dependency>
  56. <!--配置中心客户端-->
  57. <dependency>
  58. <groupId>org.springframework.cloud</groupId>
  59. <artifactId>spring-cloud-starter-config</artifactId>
  60. </dependency>
  61. <!--spring security 、oauth、jwt依赖-->
  62. <dependency>
  63. <groupId>org.springframework.cloud</groupId>
  64. <artifactId>spring-cloud-starter-security</artifactId>
  65. </dependency>
  66. <!--监控客户端-->
  67. <dependency>
  68. <groupId>de.codecentric</groupId>
  69. <artifactId>spring-boot-admin-starter-client</artifactId>
  70. <version>${monitor.version}</version>
  71. </dependency>
  72. <!--mybatis-->
  73. <dependency>
  74. <groupId>com.baomidou</groupId>
  75. <artifactId>mybatis-plus-boot-starter</artifactId>
  76. <version>${mbp.boot.version}</version>
  77. </dependency>
  78. <!--数据库-->
  79. <dependency>
  80. <groupId>mysql</groupId>
  81. <artifactId>mysql-connector-java</artifactId>
  82. </dependency>
  83. <!--web 模块-->
  84. <dependency>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-starter-web</artifactId>
  87. <exclusions>
  88. <!--排除tomcat依赖-->
  89. <exclusion>
  90. <artifactId>spring-boot-starter-tomcat</artifactId>
  91. <groupId>org.springframework.boot</groupId>
  92. </exclusion>
  93. </exclusions>
  94. </dependency>
  95. <!--undertow容器-->
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-undertow</artifactId>
  99. </dependency>
  100. </dependencies>
  101. <build>
  102. <plugins>
  103. <plugin>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-maven-plugin</artifactId>
  106. <configuration>
  107. <finalName>${project.name}</finalName>
  108. </configuration>
  109. </plugin>
  110. <plugin>
  111. <groupId>com.spotify</groupId>
  112. <artifactId>docker-maven-plugin</artifactId>
  113. <version>0.4.12</version>
  114. <configuration>
  115. <imageName>${registry.url}/${project.name}:0.0.1</imageName>
  116. <dockerHost>${docker.url}</dockerHost>
  117. <dockerDirectory>${project.basedir}</dockerDirectory>
  118. <resources>
  119. <resource>
  120. <targetPath>/</targetPath>
  121. <directory>${project.build.directory}</directory>
  122. <include>${project.build.finalName}.jar</include>
  123. </resource>
  124. </resources>
  125. <serverId>docker-hub</serverId>
  126. <registryUrl>https://index.docker.io/v1/</registryUrl>
  127. </configuration>
  128. </plugin>
  129. </plugins>
  130. </build>
  131. </project>