Maven2 is driving me crazy during the experimentation / quick and dirty mock-up phase of development.
I have a pom.xml
file that defines the dependenc
I found another way to do this, see here from a Heroku post
To summarize (sorry about some copy & paste)
repo
directory under your root folder:yourproject +- pom.xml +- src +- repo
mvn deploy:deploy-file -Durl=file:///path/to/yourproject/repo/ -Dfile=mylib-1.0.jar -DgroupId=com.example -DartifactId=mylib -Dpackaging=jar -Dversion=1.0
pom.xml
:
project.local project file:${project.basedir}/repo com.example mylib 1.0