Maven报错:执行命令出现的 duplicated in the reactor 问题

版权声明:转载请链接 https://blog.csdn.net/DPnice/article/details/81317720

执行maven命令出现的duplicated in the reactor问题

如题:原因是父pom.xml指定了多个作为子module,某一个子module 的pom又指定了父 或者 同级 作为自己的子module,导致出现冲突,仔细检查 每个pom的 parent 和 modules 删除掉多余的就可以了。

依赖只需要父pom或者子pom来定义一次就可以了。不要重复定义。个人习惯从父pom中 指定。

猜你喜欢

转载自blog.csdn.net/DPnice/article/details/81317720
今日推荐