ai.javadocExists = ArtifactAvailablility.PRESENT;
}
}
}
Model model = ac.getPomModel();
if ( model != null )
{
ai.name = model.getName();
ai.description = model.getDescription();
// for main artifacts (without classifier) only:
if ( ai.classifier == null )
{
// only when this is not a classified artifact
if ( model.getPackaging() != null )
{
// set the read value that is coming from POM
ai.packaging = model.getPackaging();
}
else
{
// default it, since POM is present, is read, but does not contain explicit packaging
// TODO: this change breaks junit tests, but not sure why is "null" expected value?