Take two plugins, A and B.
Both A and B depend on a mojang mapped spigot. B depends on A.
When building A and remapping, all is fine.
But when B depends on A, A's pom still uses the remapped NMS, but of course, since A's source now uses obfuscated NMS, it can't build properly. Using certain methods (which use NMS) from A leads to a build error for B, looking like: "Cannot access class:".
SpecialSource could:
- Remap the pom too (Unsure if this is even possible) This isn't ideal as now you're working with two versions of NMS in your IDE when working on B, one of which is wrong.
- Build a mojang mapped version also (Non-remapped, if you will) for any plugins that depend on it.
- Something else I'm not aware of, it's a messy situation and I'm unsure.
Currently, I have to import the obfuscated nms as well, which leads back to: "This isn't ideal as now you're working with two versions of NMS in your IDE when working on B, one of which is wrong."
Take two plugins, A and B.
Both A and B depend on a mojang mapped spigot. B depends on A.
When building A and remapping, all is fine.
But when B depends on A, A's pom still uses the remapped NMS, but of course, since A's source now uses obfuscated NMS, it can't build properly. Using certain methods (which use NMS) from A leads to a build error for B, looking like: "Cannot access class:".
SpecialSource could:
Currently, I have to import the obfuscated nms as well, which leads back to: "This isn't ideal as now you're working with two versions of NMS in your IDE when working on B, one of which is wrong."