Skip to content

Commit

Permalink
fix: 使用中遇到的几个问题,修复方便后边人使用
Browse files Browse the repository at this point in the history
1、com.taobao.pandora 没有找到
2、logback.version  修改为1.2.3
有一问题,咨询一下。
一个parent项目中的子项目,是否应该直接继承和使用parent的version,这之间的什么时候使用,什么时候不使用。望指教
  • Loading branch information
fushun1990 committed Jan 14, 2019
1 parent 1331ddf commit d975c18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<pandora-boot.version>2017-10-stable</pandora-boot.version>
<spring-test.version>4.3.2.RELEASE</spring-test.version>
<junit.version>4.12</junit.version>
<logback.version>1.2.3.5-struct</logback.version>
<logback.version>1.2.3</logback.version>
<slf4j.version>1.7.22</slf4j.version>
<cola.framework.version>1.0.0-SNAPSHOT</cola.framework.version>
</properties>
Expand Down Expand Up @@ -84,13 +84,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.taobao.pandora</groupId>
<artifactId>pandora-boot-starter-bom</artifactId>
<version>${pandora-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @date 2018-08-08 12:33 PM
*/
@Configuration
@ComponentScan(basePackages = {"com.alibaba.cola", "com.alibaba.demo"})
@ComponentScan(basePackages = {"com.alibaba.cola", "${package}"})
public class TestConfig {

public TestConfig() {
Expand Down

0 comments on commit d975c18

Please sign in to comment.