gitignore for java developer using intelliJIDEA

this is the gitingnore for java developers who is using maven and intelliJ IDEA .
i have use that for years, it is useful , i am happy to share it  .