Best way to create a maven artifact from existing jar
If you’re not using a remote repository (which is a common situation for personal development), simply install these artifacts in your local repository using the install:install-file mojo: mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging> -DgeneratePom=true Where: <path-to-file> the path to the file to load <group-id> the group that the file should be registered under <artifact-id> … Read more