So I finally took the dive and installed maven2 but I've got some problems.
My code relies on some third party jars which I installed using install:install-file. I then listed those jars as dependencies in my pom. Maven can compile and package it all fine and dandy. But when I run my jar like so:
java -cp "target/*" com.blah.App
It doesn't work because it cannot find some classes which are needed at runtime. Those classes are in a jar which has been installed and is used for compilation.
I have listed the scope of the dependency as for that jar as "provided". I tried using "system" as well, but that doesn't work either. What am I doing wrong?
I can get it to run if I do this though:
java -cp "target/*:path/to/jar1:path/to/jar2" com.blah.App
But there must be some way to get maven to put the required jars in the target directory.