> I have a third party jar that depends on hundreds of other jars. The > third party jar does not use maven and the dependencies do not have > version numbers. Is there a method to manage the dependencies without > install:install-file each dependency?
Welcome to jar-hell circa 2002 or so. How in the world did you get so lucky to inherit this horrible beast? If I were you, I'd mash all those jars together into a single jar, give it a version like 1.0.0 or perhaps one based on today's date, and depend on it. This assumes the code in all those jars will work properly when they are merged together like that. If they don't work merged up or you can't do that for some other reason, you just need to write a shell script to pick each jar, assign a version like 1.0.0, mvn install:install-file it, and then output (at the end) a huge <dependency> list that you will cut and paste into your pom. Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
