I am trying to export to the dependencies of my project using:
mvn dependency:copy-dependencies -Dmdep.useRepositoryLayout=true -DoutputDirectory=c:\output
The result of this is a subset of my local maven repository containing some jars that only I have on my machine.
I am trying to SHARE this subset of my local repository with my colleague.
All I want is to send this folder structure so he can import it to this own local maven maven repository.
We tried to copy these folders in his own local repository knowing this won't work.
My question is there any way to tell maven to "index" these files that were copied in the directory?
There are descriptors next to these files and inside the META-INF folders that makes me believe that group-ids, artifact-ids and version could be resolved.
Is there a solution or a workaround for this?
We could use mvn install:install-file for each individual jar, but there is too many.
Thank you very much, Peter