Maven assembly plugin warning “The assembly descriptor contains a filesystem-root relative reference”

前端 未结 3 2011
挽巷
挽巷 2020-12-30 18:35

Starting from some assembly plugin version maven builds issue the following warning:

[WARNING] The assembly descriptor contains a filesystem-root rela

3条回答
  •  孤城傲影
    2020-12-30 19:29

    Using an empty outputDirectory element works, but I wouldn't be surprised if somebody assumed it could be safely deleted.

    So, to be more explicit, you could also avoid the warning by writing:

    ${file.separator}
    

提交回复
热议问题