I think I found a solution for this problem. In my maven build I just download the particular jar that I need and add the -endorseddirs option when I invoke the maven compiler to override the default class provided in the rt.jar.
-- View this message in context: http://maven.40175.n5.nabble.com/problems-loading-correct-class-using-maven-2-2-1-and-jdk1-6-tp4690291p4705586.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
