in src/main/java/org/apache/maven/plugin/doap/options/ASFExtOptionsUtil.java [287:303]
private static boolean isHostedAtASF(String str) {
if (str == null || str.isEmpty()) {
return false;
}
str = str.trim();
try {
URL url = new URL(str);
if (url.getHost().endsWith(APACHE_DOMAIN_NAME)) {
return true;
}
} catch (MalformedURLException e) {
// ignore
}
return false;
}