I made some jar files (using java and jar commands in CMD) but when I try to install them in a local directory (to use it as may local maven repository) by following command:
mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>
but maven gives me following error:
The goal you specified requires a project to execute but there is no POM in this directory
which means that this command needs a pom file but which pom file (do I need to repackage my code with maven again!)