You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a stack overflow bug in the code of aQute.maven.provider.POM which triggers when a property contains a value likeFOO-${project.parent.version} but no parent can be found.
In this case, the POM code puts a message into the properties map:
if (parent.revision != null) {
...
} else {
String parentVersionString = "parent version from " + revision + " but not parent?";
properties.put("project.parent.version", parentVersionString);
properties.put("parent.version", parentVersionString);
}
This message contains the original property, so the result will be parent version from FOO-${project.parent.version} but not parent?.
Later, when POM.replaceMacros() is called, this embedding of the ${project.parent.version} in the property value causes an infinite recursion because the message that is the macro replacement always contains again the macro itself: