如何优化网站推广,湖南城乡建设厅官方网站,汕头建站模板厂家,wordpress 网址 代码比如模块A中有个MyDemoEntity类#xff0c;在B中以依赖的形式引入了A#xff0c;并在B的接口中以MyDemoEntity作为返回值#xff0c;导出到YAPI发现MyDemoEntity的备注没了。 解决#xff1a;
将A的内容安装到本地MAVEN仓库#xff0c;并且需要将源码也一起安装 buil…比如模块A中有个MyDemoEntity类在B中以依赖的形式引入了A并在B的接口中以MyDemoEntity作为返回值导出到YAPI发现MyDemoEntity的备注没了。 解决
将A的内容安装到本地MAVEN仓库并且需要将源码也一起安装 buildresourcesresourcedirectorytarget/classes/directory/resource/resourcespluginsplugingroupIdorg.apache.maven.plugins/groupIdartifactIdmaven-source-plugin/artifactIdversion3.2.1/version !-- 使用最新的插件版本 --executionsexecutionidattach-sources/idphaseverify/phase !-- 通常在 verify 阶段执行 --goalsgoaljar/goal/goals/execution/executions/plugin/plugins/build 刷新B导出到YAPI解决