in winegrower-extension/winegrower-build/winegrower-maven-plugin/src/main/java/org/apache/winegrower/extension/build/maven/PourMojo.java [282:298]
protected Class<?> loadClass(final String name, final boolean resolve) throws ClassNotFoundException {
if (name.startsWith("org.")) {
final String sub = name.substring("org.".length());
if (sub.startsWith("osgi.")) {
throw new ClassNotFoundException(name);
} else if (sub.startsWith("apache.")) {
final String apache = sub.substring("apache.".length());
if (apache.startsWith("winegrower.")) {
throw new ClassNotFoundException(name);
}
if (apache.startsWith("xbean.")) {
throw new ClassNotFoundException(name);
}
}
}
return super.loadClass(name, resolve);
}