georgberky / dependency-update-maven-plugin

A Maven plugin that creates merge requests for dependency updates.
Apache License 2.0
26 stars 9 forks source link

Make Push Option configurable #69

Open sparsick opened 1 year ago

sparsick commented 1 year ago

As developer, I want to set push option depending on my Git Management System. The configurable push options should be enabled for native Git and JGit.

The push option has to be set manually by the developer in the configuration section of the plugin.

georgberky commented 1 year ago

We have agreed on the following configuration format:

    <build>
        <plugins>
            <plugin>
                <groupId>${project.groupId}</groupId>
                <artifactId>${project.artifactId}</artifactId>
                <version>${project.version}</version>
                <configuration>
                    <gitProvider>JGIT</gitProvider>
                    <gitOptions>
                        <pushOptions>
                            <foo>bar</foo>
                        </pushOptions>
                    </gitOptions>
                </configuration>
            </plugin>
        </plugins>
    </build>