(Maven) Shading jar into plugin.

Discussion in 'Plugin Development' started by elementalgodz11, Dec 6, 2014.

Thread Status:
Not open for further replies.
  1. Offline


    Hello, so I am trying to shade a utility library that is dependent on Bukkit into my Maven project. I have looked around on the Apache website, Stackoverflow and here on the Bukkit Forums for a solution, but couldn't find one.

    As of now, I am only aware of how to shade plugins that have a repository, but as I don't own one I am unable to host it myself.

    I have tried adding it as an external jar then adding the dependency in the pom.xml with the maven shade plugin after but I still get NoClassDefFoundErrors.

    Thank you
  2. Offline


    You need the maven-shade-plugin, not just the dependency. Can you show the entire POM?
Thread Status:
Not open for further replies.

Share This Page