if (olderjar.exists()) {
System.out.println("found older jar");
rScript.addURL(olderjar.toURI().toURL());
String clname = "scala_maven.ScalaScriptMojo";
//assertNotSame(s.loadClass(clname), getClass().getClassLoader().loadClass(clname));
assertNotSame(rScript.loadClass(clname), getClass().getClassLoader().loadClass(clname));
assertSame(rMojo.loadClass(clname), getClass().getClassLoader().loadClass(clname));
assertSame(rScript.loadClass(MavenProject.class.getCanonicalName()), MavenProject.class);
assertSame(rScript.loadClass(MavenSession.class.getCanonicalName()), MavenSession.class);
assertSame(rScript.loadClass(Log.class.getCanonicalName()), Log.class);
}