            MavenPublication p = publications.create(PUBLICATION_NAME, MavenPublication.class, publication -> {
                publication.from(project.getComponents().getByName("java"));
                publication.artifact(sourcesJar);
                publication.artifact(javadocJar);
                DeferredConfiguration.deferredConfiguration(project, () -> {
                    publication.setArtifactId(((Jar) project.getTasks().getByName("jar")).getBaseName());
                });
                PomCustomizer.customizePom(project, conf, publication);
            });
            LOG.info("{} - configured '{}' publication", project.getPath(), p.getArtifactId());
        });
