code: 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);
          }
      }
docs: Adds information about parent POM.
  
  @param pomDescriptor
  The descriptor for the current POM.
  @param model
  The Maven Model.
  @param context
  The scanner context.