diff --git a/ruoyi-auth/pom.xml b/ruoyi-auth/pom.xml index 6ceb6562..e1e9efa6 100644 --- a/ruoyi-auth/pom.xml +++ b/ruoyi-auth/pom.xml @@ -1,79 +1,85 @@ - - - com.ruoyi - ruoyi-cloud-plus - 0.3.0 - - 4.0.0 - - ruoyi-auth - - - ruoyi-auth认证授权中心 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - com.ruoyi - ruoyi-common-security - - - - com.ruoyi - ruoyi-common-web - - - - com.ruoyi - ruoyi-common-dubbo - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot.version} - - - - repackage - - - - - - - - + + + com.ruoyi + ruoyi-cloud-plus + 0.3.0 + + 4.0.0 + + ruoyi-auth + + + ruoyi-auth认证授权中心 + + + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-config + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + com.ruoyi + ruoyi-common-security + + + + com.ruoyi + ruoyi-common-web + + + + com.ruoyi + ruoyi-common-dubbo + + + + + + + + + + + + ${project.artifactId} + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + + + repackage + + + + + + + + diff --git a/ruoyi-common/pom.xml b/ruoyi-common/pom.xml index ad292fd9..b12a900d 100644 --- a/ruoyi-common/pom.xml +++ b/ruoyi-common/pom.xml @@ -1,33 +1,34 @@ - - - - com.ruoyi - ruoyi-cloud-plus - 0.3.0 - - 4.0.0 - - - ruoyi-common-bom - ruoyi-common-log - ruoyi-common-dict - ruoyi-common-core - ruoyi-common-redis - ruoyi-common-swagger - ruoyi-common-security - ruoyi-common-datascope - ruoyi-common-datasource - ruoyi-common-web - ruoyi-common-job - ruoyi-common-dubbo - - - ruoyi-common - pom - - - ruoyi-common通用模块 - - - + + + + com.ruoyi + ruoyi-cloud-plus + 0.3.0 + + 4.0.0 + + + ruoyi-common-bom + ruoyi-common-log + ruoyi-common-dict + ruoyi-common-core + ruoyi-common-redis + ruoyi-common-swagger + ruoyi-common-security + ruoyi-common-datascope + ruoyi-common-datasource + ruoyi-common-web + ruoyi-common-job + ruoyi-common-dubbo + ruoyi-common-loadbalancer + + + ruoyi-common + pom + + + ruoyi-common通用模块 + + + diff --git a/ruoyi-common/ruoyi-common-bom/pom.xml b/ruoyi-common/ruoyi-common-bom/pom.xml index 53836a77..086b1989 100644 --- a/ruoyi-common/ruoyi-common-bom/pom.xml +++ b/ruoyi-common/ruoyi-common-bom/pom.xml @@ -89,7 +89,11 @@ ruoyi-common-dubbo ${project.version} - + + com.ruoyi + ruoyi-common-loadbalancer + ${project.version} + diff --git a/ruoyi-common/ruoyi-common-dubbo/pom.xml b/ruoyi-common/ruoyi-common-dubbo/pom.xml index fd3cd56e..7cd7c21a 100644 --- a/ruoyi-common/ruoyi-common-dubbo/pom.xml +++ b/ruoyi-common/ruoyi-common-dubbo/pom.xml @@ -8,14 +8,14 @@ 0.3.0 4.0.0 - + ruoyi-common-dubbo - + ruoyi-common-dubbo - + com.ruoyi ruoyi-common-core diff --git a/ruoyi-common/ruoyi-common-loadbalancer/pom.xml b/ruoyi-common/ruoyi-common-loadbalancer/pom.xml new file mode 100644 index 00000000..22fb5ce1 --- /dev/null +++ b/ruoyi-common/ruoyi-common-loadbalancer/pom.xml @@ -0,0 +1,36 @@ + + + + com.ruoyi + ruoyi-common + 0.3.0 + + 4.0.0 + + ruoyi-common-loadbalancer + + + ruoyi-common-loadbalancer 自定义负载均衡(多团队开发使用) + + + + + org.springframework.cloud + spring-cloud-starter-loadbalancer + + + com.alibaba.cloud + spring-cloud-starter-dubbo + provided + + + + org.projectlombok + lombok + provided + + + + diff --git a/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/config/CustomLoadBalanceAutoConfiguration.java b/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/config/CustomLoadBalanceAutoConfiguration.java new file mode 100644 index 00000000..9ad18b04 --- /dev/null +++ b/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/config/CustomLoadBalanceAutoConfiguration.java @@ -0,0 +1,15 @@ +package com.ruoyi.common.loadbalance.config; + +import org.springframework.cloud.loadbalancer.annotation.LoadBalancerClients; +import org.springframework.context.annotation.PropertySource; + +/** + * 自定义负载均衡自动配置 + * + * @author Lion Li + */ +@PropertySource(value = "classpath:loadbalance.properties", encoding = "UTF-8") +@LoadBalancerClients(defaultConfiguration = CustomLoadBalanceClientConfiguration.class) +public class CustomLoadBalanceAutoConfiguration { + +} diff --git a/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/config/CustomLoadBalanceClientConfiguration.java b/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/config/CustomLoadBalanceClientConfiguration.java new file mode 100644 index 00000000..54a492ce --- /dev/null +++ b/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/config/CustomLoadBalanceClientConfiguration.java @@ -0,0 +1,30 @@ +package com.ruoyi.common.loadbalance.config; + +import com.ruoyi.common.loadbalance.core.CustomSpringCloudLoadBalancer; +import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; +import org.springframework.cloud.client.ServiceInstance; +import org.springframework.cloud.loadbalancer.core.ReactorLoadBalancer; +import org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier; +import org.springframework.cloud.loadbalancer.support.LoadBalancerClientFactory; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.core.env.Environment; + +/** + * 自定义负载均衡客户端配置 + * + * @author LionLi + */ +@SuppressWarnings("all") +@Configuration(proxyBeanMethods = false) +public class CustomLoadBalanceClientConfiguration { + + @Bean + @ConditionalOnBean(LoadBalancerClientFactory.class) + public ReactorLoadBalancer customLoadBalancer(Environment environment, + LoadBalancerClientFactory loadBalancerClientFactory) { + String name = environment.getProperty(LoadBalancerClientFactory.PROPERTY_NAME); + return new CustomSpringCloudLoadBalancer(name, + loadBalancerClientFactory.getLazyProvider(name, ServiceInstanceListSupplier.class)); + } +} diff --git a/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/constant/LoadBalancerConstant.java b/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/constant/LoadBalancerConstant.java new file mode 100644 index 00000000..640958ff --- /dev/null +++ b/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/constant/LoadBalancerConstant.java @@ -0,0 +1,30 @@ +package com.ruoyi.common.loadbalance.constant; + +import java.net.InetAddress; +import java.net.UnknownHostException; + +/** + * 常量类 + * + * @author Lion Li + */ +public class LoadBalancerConstant { + + /** + * 获取服务host + * 默认自动获取 + */ + public static String getHost() { + String host = "127.0.0.1"; + try { + // 如需自定义ip可修改此处 + String address = InetAddress.getLocalHost().getHostAddress(); + if (address != null) { + host = address; + } + } catch (UnknownHostException e) { + e.printStackTrace(); + } + return host; + } +} diff --git a/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/core/CustomDubboLoadBalancer.java b/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/core/CustomDubboLoadBalancer.java new file mode 100644 index 00000000..e348069c --- /dev/null +++ b/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/core/CustomDubboLoadBalancer.java @@ -0,0 +1,30 @@ +package com.ruoyi.common.loadbalance.core; + +import com.ruoyi.common.loadbalance.constant.LoadBalancerConstant; +import lombok.extern.slf4j.Slf4j; +import org.apache.dubbo.common.URL; +import org.apache.dubbo.rpc.Invocation; +import org.apache.dubbo.rpc.Invoker; +import org.apache.dubbo.rpc.cluster.loadbalance.AbstractLoadBalance; + +import java.util.List; +import java.util.concurrent.ThreadLocalRandom; + +/** + * 自定义 Dubbo 负载均衡算法 + * + * @author Lion Li + */ +@Slf4j +public class CustomDubboLoadBalancer extends AbstractLoadBalance { + + @Override + protected Invoker doSelect(List> invokers, URL url, Invocation invocation) { + for (Invoker invoker : invokers) { + if (invoker.getUrl().getHost().equals(LoadBalancerConstant.getHost())) { + return invoker; + } + } + return invokers.get(ThreadLocalRandom.current().nextInt(invokers.size())); + } +} diff --git a/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/core/CustomSpringCloudLoadBalancer.java b/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/core/CustomSpringCloudLoadBalancer.java new file mode 100644 index 00000000..8bf4c002 --- /dev/null +++ b/ruoyi-common/ruoyi-common-loadbalancer/src/main/java/com/ruoyi/common/loadbalance/core/CustomSpringCloudLoadBalancer.java @@ -0,0 +1,64 @@ +package com.ruoyi.common.loadbalance.core; + +import com.ruoyi.common.loadbalance.constant.LoadBalancerConstant; +import lombok.AllArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.ObjectProvider; +import org.springframework.cloud.client.ServiceInstance; +import org.springframework.cloud.client.loadbalancer.DefaultResponse; +import org.springframework.cloud.client.loadbalancer.EmptyResponse; +import org.springframework.cloud.client.loadbalancer.Request; +import org.springframework.cloud.client.loadbalancer.Response; +import org.springframework.cloud.loadbalancer.core.NoopServiceInstanceListSupplier; +import org.springframework.cloud.loadbalancer.core.ReactorServiceInstanceLoadBalancer; +import org.springframework.cloud.loadbalancer.core.SelectedInstanceCallback; +import org.springframework.cloud.loadbalancer.core.ServiceInstanceListSupplier; +import reactor.core.publisher.Mono; + +import java.util.List; +import java.util.concurrent.ThreadLocalRandom; + +/** + * 自定义 SpringCloud 负载均衡算法 + * + * @author Lion Li + */ +@Slf4j +@AllArgsConstructor +public class CustomSpringCloudLoadBalancer implements ReactorServiceInstanceLoadBalancer { + + private final String serviceId; + + private final ObjectProvider serviceInstanceListSupplierProvider; + + @Override + public Mono> choose(Request request) { + ServiceInstanceListSupplier supplier = serviceInstanceListSupplierProvider.getIfAvailable(NoopServiceInstanceListSupplier::new); + return supplier.get(request).next().map(serviceInstances -> processInstanceResponse(supplier, serviceInstances)); + } + + private Response processInstanceResponse(ServiceInstanceListSupplier supplier, + List serviceInstances) { + Response serviceInstanceResponse = getInstanceResponse(serviceInstances); + if (supplier instanceof SelectedInstanceCallback && serviceInstanceResponse.hasServer()) { + ((SelectedInstanceCallback) supplier).selectedServiceInstance(serviceInstanceResponse.getServer()); + } + return serviceInstanceResponse; + } + + private Response getInstanceResponse(List instances) { + if (instances.isEmpty()) { + if (log.isWarnEnabled()) { + log.warn("No servers available for service: " + serviceId); + } + return new EmptyResponse(); + } + for (ServiceInstance instance : instances) { + if (instance.getHost().equals(LoadBalancerConstant.getHost())) { + return new DefaultResponse(instance); + } + } + return new DefaultResponse(instances.get(ThreadLocalRandom.current().nextInt(instances.size()))); + } + +} diff --git a/ruoyi-common/ruoyi-common-loadbalancer/src/main/resources/META-INF/dubbo/org.apache.dubbo.rpc.cluster.LoadBalance b/ruoyi-common/ruoyi-common-loadbalancer/src/main/resources/META-INF/dubbo/org.apache.dubbo.rpc.cluster.LoadBalance new file mode 100644 index 00000000..f68dccba --- /dev/null +++ b/ruoyi-common/ruoyi-common-loadbalancer/src/main/resources/META-INF/dubbo/org.apache.dubbo.rpc.cluster.LoadBalance @@ -0,0 +1 @@ +customDubboLoadBalancer=com.ruoyi.common.loadbalance.core.CustomDubboLoadBalancer diff --git a/ruoyi-common/ruoyi-common-loadbalancer/src/main/resources/META-INF/spring.factories b/ruoyi-common/ruoyi-common-loadbalancer/src/main/resources/META-INF/spring.factories new file mode 100644 index 00000000..2146835e --- /dev/null +++ b/ruoyi-common/ruoyi-common-loadbalancer/src/main/resources/META-INF/spring.factories @@ -0,0 +1,2 @@ +org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ + com.ruoyi.common.loadbalance.config.CustomLoadBalanceAutoConfiguration diff --git a/ruoyi-common/ruoyi-common-loadbalancer/src/main/resources/loadbalance.properties b/ruoyi-common/ruoyi-common-loadbalancer/src/main/resources/loadbalance.properties new file mode 100644 index 00000000..4e11f9e6 --- /dev/null +++ b/ruoyi-common/ruoyi-common-loadbalancer/src/main/resources/loadbalance.properties @@ -0,0 +1 @@ +dubbo.consumer.loadbalance=customDubboLoadBalancer diff --git a/ruoyi-gateway/pom.xml b/ruoyi-gateway/pom.xml index 92ec8a5e..87693c7f 100644 --- a/ruoyi-gateway/pom.xml +++ b/ruoyi-gateway/pom.xml @@ -1,113 +1,119 @@ - - - com.ruoyi - ruoyi-cloud-plus - 0.3.0 - - 4.0.0 - - ruoyi-gateway - - - ruoyi-gateway网关模块 - - - - - - - org.springframework.cloud - spring-cloud-starter-gateway - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - com.alibaba.cloud - spring-cloud-alibaba-sentinel-gateway - - - - - com.alibaba.csp - sentinel-datasource-nacos - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - com.ruoyi - ruoyi-common-redis - - - com.ruoyi - ruoyi-common-dubbo - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - io.springfox - springfox-swagger2 - ${swagger.fox.version} - - - - cn.hutool - hutool-captcha - - - - cn.hutool - hutool-http - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot.version} - - - - repackage - - - - - - - - + + + com.ruoyi + ruoyi-cloud-plus + 0.3.0 + + 4.0.0 + + ruoyi-gateway + + + ruoyi-gateway网关模块 + + + + + + + org.springframework.cloud + spring-cloud-starter-gateway + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-config + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + com.alibaba.cloud + spring-cloud-alibaba-sentinel-gateway + + + + + com.alibaba.csp + sentinel-datasource-nacos + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + com.ruoyi + ruoyi-common-redis + + + com.ruoyi + ruoyi-common-dubbo + + + + + + + + + + + io.springfox + springfox-swagger-ui + ${swagger.fox.version} + + + io.springfox + springfox-swagger2 + ${swagger.fox.version} + + + + cn.hutool + hutool-captcha + + + + cn.hutool + hutool-http + + + + + + ${project.artifactId} + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + + + repackage + + + + + + + + diff --git a/ruoyi-modules/pom.xml b/ruoyi-modules/pom.xml index ae99e972..48e6b74e 100644 --- a/ruoyi-modules/pom.xml +++ b/ruoyi-modules/pom.xml @@ -1,24 +1,32 @@ - - - - com.ruoyi - ruoyi-cloud-plus - 0.3.0 - - 4.0.0 - - - ruoyi-system - ruoyi-gen - ruoyi-file - - - ruoyi-modules - pom - - - ruoyi-modules业务模块 - - - + + + + com.ruoyi + ruoyi-cloud-plus + 0.3.0 + + 4.0.0 + + + ruoyi-system + ruoyi-gen + ruoyi-file + + + ruoyi-modules + pom + + + ruoyi-modules业务模块 + + + + + + + + + + + diff --git a/ruoyi-modules/ruoyi-file/pom.xml b/ruoyi-modules/ruoyi-file/pom.xml index acde9695..84d063b1 100644 --- a/ruoyi-modules/ruoyi-file/pom.xml +++ b/ruoyi-modules/ruoyi-file/pom.xml @@ -1,98 +1,98 @@ - - - - com.ruoyi - ruoyi-modules - 0.3.0 - - 4.0.0 - - ruoyi-file - - - ruoyi-file文件服务 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - com.github.tobato - fastdfs-client - - - - - io.minio - minio - ${minio.version} - - - - com.ruoyi - ruoyi-api-file - - - - - com.ruoyi - ruoyi-common-swagger - - - - com.ruoyi - ruoyi-common-dubbo - - - - com.ruoyi - ruoyi-common-web - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot.version} - - - - repackage - - - - - - - - \ No newline at end of file + + + + com.ruoyi + ruoyi-modules + 0.3.0 + + 4.0.0 + + ruoyi-file + + + ruoyi-file文件服务 + + + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-config + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + com.github.tobato + fastdfs-client + + + + + io.minio + minio + ${minio.version} + + + + com.ruoyi + ruoyi-api-file + + + + + com.ruoyi + ruoyi-common-swagger + + + + com.ruoyi + ruoyi-common-dubbo + + + + com.ruoyi + ruoyi-common-web + + + + + + ${project.artifactId} + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + + + repackage + + + + + + + + diff --git a/ruoyi-modules/ruoyi-gen/pom.xml b/ruoyi-modules/ruoyi-gen/pom.xml index 30f72c4b..dbbcb137 100644 --- a/ruoyi-modules/ruoyi-gen/pom.xml +++ b/ruoyi-modules/ruoyi-gen/pom.xml @@ -1,117 +1,117 @@ - - - - com.ruoyi - ruoyi-modules - 0.3.0 - - 4.0.0 - - ruoyi-gen - - - ruoyi-gen代码生成 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - org.apache.velocity - velocity-engine-core - - - - - commons-collections - commons-collections - - - - - mysql - mysql-connector-java - - - - - com.ruoyi - ruoyi-common-log - - - - - com.ruoyi - ruoyi-common-swagger - - - - com.ruoyi - ruoyi-common-web - - - - - com.ruoyi - ruoyi-common-datasource - - - - com.ruoyi - ruoyi-common-dubbo - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot.version} - - - - repackage - - - - - - - - \ No newline at end of file + + + + com.ruoyi + ruoyi-modules + 0.3.0 + + 4.0.0 + + ruoyi-gen + + + ruoyi-gen代码生成 + + + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-config + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + io.springfox + springfox-swagger-ui + ${swagger.fox.version} + + + + + org.apache.velocity + velocity-engine-core + + + + + commons-collections + commons-collections + + + + + mysql + mysql-connector-java + + + + + com.ruoyi + ruoyi-common-log + + + + + com.ruoyi + ruoyi-common-swagger + + + + com.ruoyi + ruoyi-common-web + + + + + com.ruoyi + ruoyi-common-datasource + + + + com.ruoyi + ruoyi-common-dubbo + + + + + + ${project.artifactId} + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + + + repackage + + + + + + + + diff --git a/ruoyi-modules/ruoyi-system/pom.xml b/ruoyi-modules/ruoyi-system/pom.xml index 0b00a0b4..853a6fc2 100644 --- a/ruoyi-modules/ruoyi-system/pom.xml +++ b/ruoyi-modules/ruoyi-system/pom.xml @@ -1,132 +1,132 @@ - - - - com.ruoyi - ruoyi-modules - 0.3.0 - - 4.0.0 - - ruoyi-system - - - ruoyi-system系统模块 - - - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-discovery - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-nacos-config - - - - - com.alibaba.cloud - spring-cloud-starter-alibaba-sentinel - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - - io.springfox - springfox-swagger-ui - ${swagger.fox.version} - - - - - mysql - mysql-connector-java - - - - - com.ruoyi - ruoyi-common-datasource - - - - - com.ruoyi - ruoyi-common-datascope - - - - - com.ruoyi - ruoyi-common-log - - - - com.ruoyi - ruoyi-common-dict - - - - - com.ruoyi - ruoyi-common-swagger - - - - com.ruoyi - ruoyi-common-web - - - - com.ruoyi - ruoyi-common-dubbo - - - - com.ruoyi - ruoyi-common-job - - - - - com.ruoyi - ruoyi-api-system - - - - com.ruoyi - ruoyi-api-file - - - - - - ${project.artifactId} - - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot.version} - - - - repackage - - - - - - - - \ No newline at end of file + + + + com.ruoyi + ruoyi-modules + 0.3.0 + + 4.0.0 + + ruoyi-system + + + ruoyi-system系统模块 + + + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-discovery + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-nacos-config + + + + + com.alibaba.cloud + spring-cloud-starter-alibaba-sentinel + + + + + org.springframework.boot + spring-boot-starter-actuator + + + + + io.springfox + springfox-swagger-ui + ${swagger.fox.version} + + + + + mysql + mysql-connector-java + + + + + com.ruoyi + ruoyi-common-datasource + + + + + com.ruoyi + ruoyi-common-datascope + + + + + com.ruoyi + ruoyi-common-log + + + + com.ruoyi + ruoyi-common-dict + + + + + com.ruoyi + ruoyi-common-swagger + + + + com.ruoyi + ruoyi-common-web + + + + com.ruoyi + ruoyi-common-dubbo + + + + com.ruoyi + ruoyi-common-job + + + + + com.ruoyi + ruoyi-api-system + + + + com.ruoyi + ruoyi-api-file + + + + + + ${project.artifactId} + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + + + repackage + + + + + + + +