maven 多模块打包失败解决1例

一开源项目,多maven模块的。打包报错。

看子模块涉及:mybatis-generator-maven-plugin

看了原因是:和数据库相关的。忘了记录。

大致是这里报错。

        
        

百度到:https://blog.csdn.net/w605283073/article/details/80139472

 


    
        Generate MyBatis Artifacts
        deploy
        
            generate
        
    

设置phase为deploy

可能是跳过打包时的数据库测试。问题得以解决。记录备忘。

转载于:https://my.oschina.net/macleo/blog/3070912

你可能感兴趣的:(java,数据库)