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
A quick&dirty batch solution (based on Alex's answer):
libs.bat
@ECHO OFF
FOR %%I IN (*.jar) DO (
echo ^
echo ^local.dummy^
echo ^%%I^
echo ^0.0.1^
echo ^system^
echo ^${project.basedir}/lib/%%I^
echo ^
)
Execute it like this: libs.bat > libs.txt
.
Then open libs.txt
and copy its content as dependencies.
In my case, I only needed the libraries to compile my code, and this solution was the best for that purpose.