MinusKube/Netherboard

Maven: Using netherboard without installing the JAR

Opened this issue · 2 comments

Hello. I'm trying to add Netherboard to my plugin without downloading the jar, just with maven. But when I add the bukkit dependency, it overwrites my own plugin.yml. This is how I add Netherboard to my plugin via maven.

    <dependency>
      <groupId>fr.minuskube</groupId>
      <artifactId>netherboard-core</artifactId>
      <version>1.2.0</version>
    </dependency>
    <dependency>
      <groupId>fr.minuskube</groupId>
      <artifactId>netherboard-bukkit</artifactId>
      <version>1.2.0</version>
    </dependency>

What can I do to resolve the issue?

Nobody responded yet. Is there anyone with a solution?

Using the maven shade plugin, I think you can exclude the plugin.yml file, so yours doesn't get overridden, examples here: https://maven.apache.org/plugins/maven-shade-plugin/examples/includes-excludes.html