描述:'packaging' with value 'jar' is invalid. Aggregator projects require 'pom' as packaging.
分析:模块的默认打包方式为jar,但是在多模块聚合时,父模块的packaging的打包方式为pom,所以要手动指定packaging为pom
解决:在父模块的 pom 文件中添加 <packaging>pom</packaging>
微信扫一扫
描述:'packaging' with value 'jar' is invalid. Aggregator projects require 'pom' as packaging.
分析:模块的默认打包方式为jar,但是在多模块聚合时,父模块的packaging的打包方式为pom,所以要手动指定packaging为pom
解决:在父模块的 pom 文件中添加 <packaging>pom</packaging>
相关推荐