def execute_post_build(software)
      collect_licenses_for(software)
      unless software.skip_transitive_dependency_licensing
        collect_transitive_dependency_licenses_for(software)
        check_transitive_dependency_licensing_errors_for(software)
      end
    end
def execute_post_build(software)
      collect_licenses_for(software)
      unless software.skip_transitive_dependency_licensing
        collect_transitive_dependency_licenses_for(software)
        check_transitive_dependency_licensing_errors_for(software)
      end
    end
Callback that gets called by Software#build_me after the build is done.
 Invokes license copying for the given software. This ensures that
 licenses are copied before a git cache snapshot is taken, so that the
 license files are correctly restored when a build is skipped due to a
 cache hit.

 @param [Software] software

 @return [void]