父工程:oauth-Demo
<dependency> <groupId>com.linyuan</groupId> <artifactId>common-config</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency>
module:
authentication-server
<dependencies> <dependency> <groupId>com.linyuan</groupId> <artifactId>common-config</artifactId> <version>0.0.1-SNAPSHOT</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build>
common-config
不写具体依赖关系