Multiple Source Path in One Maven Project

新手上路,请多包涵

Why is it that the build management tool Maven restricted only ONE path for source, ONE path for script, and ONE path for test source?

 <sourceDirectory>xxx</sourceDirectory>               
 <scriptSourceDirectory>yyy</scriptSourceDirectory> 
 <testSourceDirectory>zzz</testSourceDirectory>       

When using a plugin such as the mojo build-helper-maven-plugin, I add multiple source path to one Maven project. What's the risk for not organizing all the source code, script, and test source code?

阅读 1.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题