Added notes how to solve the issue
@@ -12,6 +12,18 @@ import 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
+ */
project.getExtensions().getExtraProperties().set("pom_customizePom", new Closure(project) {
public Object call(Object... args) {
assert args.length == 2;
