1

My unit test of the maven project is doing Class.forName to detect specific classes exist or not during testing.

I have the third-party local jars containing those specific classes.

How could I let maven (or ClassLoader) to know where to find those local third-party jars during testing?

Thank you.

Bostonian
  • 475
  • 4
  • 11

0 Answers0