Le 2024-09-21 à 16 h 43, Tamás Cservenák a écrit :

AFAIK, as I see, the point is that it nullifies if "default" value is present, and those come from corresponding super POM? Basically, keep only the non-default values?

But just above that method, there is another method which performs the same transformation on <Resource> object [1]. Except that in this case, if there is no change, that method returns the previous instance (including its path) instead of returning null.

Martin

[1]https://github.com/apache/maven/blob/45f9b81b4a8451a75864ef1c861c5bb201a54790/maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelPathTranslator.java#L108

Reply via email to