Examples to demonstrate how to use the game-result-manager library.
Building the project needs access to GitHub Packages.
Note that GitHub Packages requires authentication using a personal access token (classic) that can be created here.
Important
You must create a personal access token (PAT) with the read:packages
scope.
Your PAT must be kept in a settings.xml
file as follows:
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<server>
<id>github</id>
<username><!-- Your GitHub username --></username>
<password><!-- Your GitHub personal access token (classic) --></password>
</server>
</servers>
</settings>
The settings.xml
file must be placed in the .m2
directory in your home directory, i.e., in the same directory that stores your local Maven repository.