Open ppkarwasz opened 5 months ago
Just ran into this general issue, however I'd suggest SCM drops the attributes instead.
Given my use of the flattened oss
pom to give maven central a clean "consumption only" pom, the extra attributes are unnecessary.
In general, to flatten the pom should mean to remove them as well.
I guess both behaviors should be supported:
The Maven Flatten Plugin does not handle the [
Model#getChildProjectUrlInheritAppendPath
](https://maven.apache.org/ref/3.9.0/maven-model/apidocs/org/apache/maven/model/Model.html#getChildProjectUrlInheritAppendPath()) from the original POM and the property is always removed.Since similar properties in the
<scm>
element are silently copied, whenever the element is copied, I believe thatgetChildProjectUrlInheritAppendPath
should also always be copied.