Maven: Using netherboard without installing the JAR
Opened this issue · 2 comments
Paultje52 commented
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
Nobody responded yet. Is there anyone with a solution?
MinusKube commented
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