in src/main/java/org/apache/sling/feature/analyser/task/impl/CheckApisJarsProperties.java [201:216]
private void checkIdValidity(final AnalyserTaskContext ctx, final Artifact a, final String propName) {
final String sourceId = a.getMetadata().get(propName);
if ( sourceId != null ) {
Arrays.stream(sourceId.split(","))
.map( String::trim )
.filter( el -> el.length() > 0)
.forEach( el -> {
try {
// at the moment we can not validate the availability of the artifact since there is no access to Maven APIs
ArtifactId.parse(el);
} catch ( IllegalArgumentException e) {
ctx.reportArtifactError(a.getId()," has invalid " + propName + " entry '" + el + "' : " + e.getMessage());
}
});
}
}