EssentialsX

EssentialsX

2M Downloads

pom.xml: Missing artifact org.bstats:bstats-bukkit:jar:1.8

rhystedstone opened this issue ยท 1 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

This is an API issue

Error log (if applicable)

Logs from VSCode devtools:
languageServerLogs.log
(These logs may not be useful as they only really show language server errors)

Bug description

When updating the Essentials API from v2.18.2 to v2.19.0, the pom.xml throws the following error: Missing artifact org.bstats:bstats-bukkit:jar:1.8:
An image, displaying the error above
image
This can be worked-around by inserting the maven dependency for bstats:
This image shows the editor with the dependency installed. There is no error,

BTW: The message at the bottom of the bug-report refers to another box, however, it is missing:
This image is not relevant to the bug-report

Steps to reproduce

  1. Update the EssentialsX API to version 2.19.0 in pom.xml

Expected behaviour

I expected nothing to happen, apart from deprecations becoming visible.

Actual behaviour

An error is shown: Missing artifact org.bstats:bstats-bukkit:jar:1.8

commented

Add bStats to exclusions of the dependency.

<dependency>
    <groupId>net.essentialsx</groupId>
    <artifactId>EssentialsX</artifactId>
    <version>2.19.0</version>
    <scope>provided</scope>
    <exclusions>
        <exclusion>
            <groupId>org.bstats</groupId>
            <artifactId>bstats-bukkit</artifactId>
        </exclusion>
    </exclusions>
</dependency>

Unfortunately, natively Maven doesn't work well with Gradle projects.