idea maven报 system omitted for duplicate解决方法

由于引入冲突导致,排出冲突即可代码如下

        <dependency>
            <groupId>${project.parent.groupId}</groupId>
            <artifactId>${project.parent.artifactId}-</artifactId>
            <version>${project.parent.version}</version>
            <exclusions>
                <!--这里排出有冲突的应用 防止maven报 system omitted for duplicate-->
                <exclusion>
                    <groupId>com.xx.xx</groupId>
                    <artifactId>xx-xx</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>xxx.xxx.xx</groupId>
                    <artifactId>xx-xx-xx</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

 

文章来自:https://www.cnblogs.com/kkvt/p/12393015.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3