EssentialsX

EssentialsX

2M Downloads

Failed to fetch pom.xml for paperlib-1.0.6

Greymagic27 opened this issue ยท 2 comments

commented

Type of bug

Other unexpected behaviour

/ess dump all output

N/A

Error log (if applicable)

No response

Bug description

This is a bug when trying to use essentialsX as a dependency for my maven project.

Upon trying to package this it gives an error that it could not find the module 'paperlib-1.0.6.jar'. This is because the pom.xml is not present so it cannot fetch the correct version to download. Manually downloading this .jar solves the issue.
image
image

Steps to reproduce

  1. Git clone https://github.com/Greymagic27/advanced-achievements/tree/master
  2. Try to run 'mvn clean package'
  3. Get presented with the error
  4. Try again but this time add the missing ,jar to C:\Users\Username\.m2\repository\io\papermc\paperlib\1.0.6 https://mvnrepository.com/artifact/io.papermc/paperlib/1.0.6
  5. Observe that it now works

Expected behaviour

The package command would be able to download the paperlib.jar

Actual behaviour

It cannot download the paperlib.jra leading to an error

Additional Information

No response

commented

Add paper's maven repo to your project

commented

I added the paper lib one but the project still didn't like it. I'll play around with it when I can though