MinusKube / Netherboard

Scoreboard API for your Minecraft Sponge and Bukkit Plugins, supporting all versions from 1.7 to 1.19.
Apache License 2.0
77 stars 21 forks source link

Maven: Using netherboard without installing the JAR #26

Open Paultje52 opened 3 years ago

Paultje52 commented 3 years ago

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?

Paultje52 commented 3 years ago

Nobody responded yet. Is there anyone with a solution?

MinusKube commented 3 years ago

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