I cant shade my maven project for Paperlib

Hello! I tried to use the shade:shade plugin on maven (That stands on the PaperLib github readme):

org.apache.maven.plugins
maven-shade-plugin
3.1.1

${project.build.directory}/dependency-reduced-pom.xml


io.papermc.lib
me.mickmmars.factions.paperlib





package

shade



But i always get this error:
The project main artifact does not exist. This could have the following
reasons:

  • You have invoked the goal directly from the command line. This is not
    supported. Please add the goal to the default lifecycle via an
    element in your POM and use “mvn package” to have it run.
  • You have bound the goal to a lifecycle phase before “package”. Please
    remove this binding from your POM such that the goal will be run in
    the proper phase.
  • You removed the configuration of the maven-jar-plugin that produces the main artifact.