def METHOD_NAME(self):
    """Custom build procedure for Hadoop: build native libraries, if requested."""
    if self.cfg['build_native_libs']:
        cmd = "mvn package -DskipTests -Dmaven.javadoc.skip -Dtar -Pdist,native"
        # Building snappy, bzip2 jars w/ native libs requires -Drequire.snappy -Drequire.bzip2, etc.
        for native_lib, lib_path in self.cfg['extra_native_libs']:
            lib_root = get_software_root(native_lib)
            if not lib_root:
                raise EasyBuildError("%s not found. Failing install" % native_lib)
            cmd += ' -Drequire.%s=true -D%s.prefix=%s' % (native_lib, native_lib, lib_root)
        if self.cfg['parallel'] > 1:
            cmd += " -T%d" % self.cfg['parallel']
        run_cmd(cmd, log_all=True, simple=True, log_ok=True)