<commit_before>package org.mockito.release.internal.gradle.pom;

import groovy.lang.Closure;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.publish.maven.MavenPublication;
import org.mockito.release.gradle.PomPlugin;

/**
 * Documentation for this method needs to be kept in {@link org.mockito.release.gradle.PomPlugin}
 */
public class DefaultPomPlugin implements PomPlugin, Plugin<Project> {

    public void apply(final Project project) {<commit_msg>Added notes how to solve the issue<commit_after>package org.mockito.release.internal.gradle.pom;

import groovy.lang.Closure;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.publish.maven.MavenPublication;
import org.mockito.release.gradle.PomPlugin;

/**
 * Documentation for this method needs to be kept in {@link org.mockito.release.gradle.PomPlugin}
 */
public class DefaultPomPlugin implements PomPlugin, Plugin<Project> {

    public void apply(final Project project) {

        /**
         * See issue https://github.com/mockito/mockito-release-tools/issues/36
         *
         * To implement automatic contributors in the pom, we would need something like (brainstorming):
         *  - getting all contributors for the project using GitHub api and feeding this plugin with it
         *  - parse the release notes file and just include all contributors we can find there :)
         *  - make the release generation create an additional file with release notes metadata in some structured format
         *      (like JSON or xml), then we could parse that file to get the contributors
         *  - make the release create additional file with contributors
         *  - the list of core developers would be static, but the list of contributors would grow
         */
{'fraction_non_alphanumeric': 0.0781163434903047, 'fraction_numerical': 0.00110803324099723, 'mean_word_length': 3.5491183879093198, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1795923', 'n_tokens_mistral': 492, 'n_tokens_neox': 465, 'n_words': 172}