If the content of the overlaid jar is deployed, then the marker is maybe a stale one, from previous builds.
If you delete it manually, then change the project dependencies and it reappears, then something's wrong.
In this case, please reopen the aforementioned issue and add a sample project so I can reproduce the issue.