java - Github actions- Java with maven: mvn verify multiple poms
问题描述
This is my project structure. The blue folder have their respective poms in their subfolders. My question is, in following maven.yml how can I do mvn verify on all those poms? as I have to provide pom location after mvn verify command.
Note- This whole project structure is under a folder named 'web'. Hence you can see in mvn verify command that pom location is under 'web' folder.
解决方案
If this is a multi-module project and the subprojects are correctly added as modules in the pom.xml
, then your command should work.
推荐阅读
- javascript - 如何使用 AJAX 将值表单控制器放入弹出窗口
- php - Laravel 通过使用多态关系在 Laravel 中查询(函数 find() )
- javascript - 如何遍历多个 json 数组,对其特定字段执行函数并将收集到的结果返回到 api 中?
- python - PyTorch GAN RuntimeError:在 DataLoader 工作进程 0 中捕获 RuntimeError
- blazorinputfile - 如何在 Blazor Web 程序集中获取 BlazorInputFile 的完整目录路径
- javascript - 如何从维基百科页面 URL 获取页面标题?
- swift - 类型的值没有成员委托错误
- c - MISRA:复合赋值运算符
- python-3.x - PyCharm 版本。Community 2020.2 调试器按钮(Step over、Step into code...)不起作用?
- angular - Angular Build-Config:添加条件文件(robots.txt)