I'm using SchemaSpy with Maven Exec Plugin, wich pass for main class the right parameters. The execution of main class share the classpath wraped by Maven, but the instance of Driver class is obtained only in reserved Classloader for specific driverPath argument. I need obtain Driver class by default Classload too, allowing share classpath of Maven execution without referring a copy of driver library. I believe this is also useful for other occasions as well, is a patch that works for me.
Log in to post a comment.