Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven: Using netherboard without installing the JAR #26

Open
Paultje52 opened this issue May 15, 2021 · 2 comments
Open

Maven: Using netherboard without installing the JAR #26

Paultje52 opened this issue May 15, 2021 · 2 comments

Comments

@Paultje52
Copy link

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
Copy link
Author

Nobody responded yet. Is there anyone with a solution?

@MinusKube
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants