Referencing resources directory from project object model variables

前端 未结 3 1105
北荒
北荒 2020-12-13 12:03

If I can use ${project.build.sourceDirectory} to reference the source directory, what do I use to reference the \"resources\" directory?

Looking at the

3条回答
  •  再見小時候
    2020-12-13 13:03

    Extending @chiebaud's answer, using the maven help plugin, I think the correct option today is

    ${project.resources[0].directory}
    

    (without the ".build" part).

提交回复
热议问题