Standard directory layout for maven project content

本文介绍了标准的项目文件夹结构,包括核心文件如pom.xml、LICENSE.txt等的位置说明,以及源代码、测试文件、生成文件的标准存放目录,适用于Maven项目。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Standard LocationDescription
pom.xmlMaven’s POM, which is always at the top-level of a project.
LICENSE.txtA license file is encouraged for easy identification by users and is optional.
README.txtA simple note which might help first time users and is optional.
target/Directory for all generated output. This would include compiled classes, generated sources that may be compiled, the generated site or anything else that might be generated as part of your build.
target/generated-sources/plugin-id <plugin-id> <plugin-id> <plugin-id></plugin-id> </plugin-id> </plugin-id> Standard location for generated sources. For example, you may generate some sources from a JavaCC grammar.
src/main/java/Standard location for application sources.
src/main/resources/Standard location for application resources.
src/main/filters/Standard location for resource filters.
src/main/assembly/Standard location for assembly filters.
src/main/config/Standard location for application configuration filters.
src/test/java/Standard location for test sources.
src/test/resources/Standard location for test resources.
src/test/filters/Standard location for test resource filters.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值