在一个Maven项目中,如果多个模块依赖同一个库,如何正确处理这些依赖关系呢?可以采用以下两种方式来解决这个问题:
    
        org.springframework 
        spring-context 
        5.0.6.RELEASE 
     
 
在所有模块中,我们可以通过以下方式来引用这个依赖:
    
        org.springframework 
        spring-context 
     
 
    
        com.google.guava 
        guava 
        28.2-jre 
     
 
这个依赖会在编译和打包时被自动处理。我们可以通过以下方式来引用这个依赖:
import com.google.common.collect.ImmutableList;
public class