What is the advantage of the 'src/main/java'' convention?

前端 未结 5 1207
无人及你
无人及你 2020-12-04 11:51

I\'ve noticed that a lot of projects have the following structure:

  • Project-A
    • bin
    • lib
    • src
      • main
        • java
          • Ro
5条回答
  •  日久生厌
    2020-12-04 12:44

    Its a Maven convention.

    Maven is based on Convention over configuration paradigm. Thats means: if you dont follow this convention you must configure where the sources are located. Thats the main benefit IMHO.

提交回复
热议问题