Maven: Including a META-INF folder in the classes folder

后端 未结 5 1820
长情又很酷
长情又很酷 2020-12-23 11:40

I have a very simple WAR project and I want to include a directory named META-INF at the top of the classes output folder where all the compiled Java classes ar

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-23 12:11

    I'll indirectly answer your question by saying that if you've already made the jump to Maven2 I'd definitely recommend using the Archetype Plugin. Using the webapp archetype will ensure you end up with a canonical directory structure. Anyone else looking at your source will immediiately know where everything is and there won't be any question as to where your files go.

提交回复
热议问题