修正 starter 的 spring.factories 文件, 设定autoconfiguration

This commit is contained in:
Administrator
2020-11-02 16:37:06 +08:00
parent 8851727cf0
commit 2bb3ca8f5b
23 changed files with 60 additions and 35 deletions

View File

@ -1,9 +1,11 @@
package com.chinaunicom.mall.ebtp.cloud.mvc.starter;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
@Configuration
@ComponentScan(basePackages = "com.chinaunicom.mall.ebtp.cloud.mvc.starter")
@PropertySource("classpath:mcv-configuration.properties")
public class MvcStarterConfiguration {
}

View File

@ -0,0 +1,3 @@
# AutoConfiguration
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com.chinaunicom.mall.ebtp.cloud.mvc.starter.MvcStarterConfiguration