Another way to create a package: *Add in settings.xml:
github github central https://repo1.maven.org/maven2 github https://maven.pkg.github.com/VasylIshchuk/c true github VasylIshchuk TOKEN
*Add in pom.xml:
github GitHub VasylIshchuk Apache Maven Packages https://maven.pkg.github.com/OWNER/REPOSITORY*add press the "deploy" in the tab "Maven".