idea maven report system omitted for duplicate solutions

Since the introduction of lead conflict, the conflict can be discharged following code

        <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>

 

Guess you like

Origin www.cnblogs.com/kkvt/p/12393015.html