Maven generates duplicate pom.xml and pom.properties files in a jar

前端 未结 6 968
北海茫月
北海茫月 2020-12-15 04:50

I package my Maven-based Spring app with:

mvn install-DskipTests -Peverything. 

And something strange arises. In META-INF of generated jar,

6条回答
  •  孤城傲影
    2020-12-15 05:25

    Not sure what you mean by duplicate but the jar created by maven does come with pom.xml and pom.properties in META-INF folder. See this section of the maven getting started guide.

提交回复
热议问题