Add the effective pom.xml in the META-INF directory

前端 未结 2 584
[愿得一人]
[愿得一人] 2021-01-14 10:31

When I build a JAR library using Maven 2 (version 2.0.9 or 2.2.1), the pom.xml of the library is copied in the META-INF/maven/[g

2条回答
  •  臣服心动
    2021-01-14 10:47

    Use https://www.mojohaus.org/flatten-maven-plugin/

    It will set updatePomFile true by default.

    Its not what you asked for, but its what you want.

提交回复
热议问题