private void addParent ( MavenPomDescriptor pomDescriptor , Model model , ScannerContext context ) { Parent parent = model . getParent ( ) ; if ( null != parent ) { ArtifactResolver resolver = getArtifactResolver ( context ) ; MavenArtifactDescriptor parentDescriptor = resolver . resolve ( new ParentCoordinates ( parent ) , context ) ; pomDescriptor . setParent ( parentDescriptor ) ; } }
Adds information about parent POM .