To add the local jar to local maven, you can use this command:
mvn
install:install-file -Dfile="C:/Users/NROLL97/Main.jar"
-DgroupId=keydoxWeb -DartifactId=keydoxWebCodec -Dversion=1.0 -Dpackaging=jar
Then added it as a dependency like this:
<groupId>keydoxWeb</groupId>
<artifactId>keydoxWebCodec</artifactId>
<version>1.0</version>
</dependency>
And then it worked!