javaEEday04-依赖传递-排除依赖
This commit is contained in:
@@ -13,17 +13,31 @@
|
||||
<maven.compiler.target>11</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<!--三方的依赖配置-->
|
||||
<dependencies>
|
||||
<!--日志框架依赖-->
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>1.2.3</version>
|
||||
</dependency>
|
||||
|
||||
<!--B工程的依赖-->
|
||||
<dependency>
|
||||
<groupId>com.inmind</groupId>
|
||||
<artifactId>maven-projectB</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<!--排除依赖-->
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user