更新时间:2023-09-17 16:20:28
将sourceDirectory
添加到pom文件中的build
标记中.
Add sourceDirectory
to the build
tag in the pom file.
<build>
...
<sourceDirectory>src</sourceDirectory>
...
</build>
此处是maven文档中的相关部分.
Here is the relevant section in the maven docs.