View on GitHub

Redmine-maven-plugin

Maven plugin for redmine REST API, using https://github.com/taskadapter/redmine-java-api

Download this project as a .zip file Download this project as a tar.gz file

maven-redmine-plugin

Maven plugin for redmine REST API, using https://github.com/taskadapter/redmine-java-api

Necessary configuration for all plugins:

<redmine.hostUrl>...</redmine.hostUrl>
<redmine.apiKey>...</redmine.apiKey>

It's a good thing to have the following property defined for a project tied to redmine (redmine project identifier).

<redmine.projectId>...</redmine.projectId>

Personnaly I define them as properties in a super pom with a bunch of other different properties to make it handier.

Examples:

<plugin>
            <groupId>org.aferre</groupId>
                <artifactId>maven-redmine-plugin</artifactId>
                <version>0.0.1-SNAPSHOT</version>
                <executions>
                    <execution>
                        <configuration>
                            <hostUrl>...</hostUrl>
                            <projectId>...</projectId>
                            <apiKey>...</apiKey>
                        </configuration>
                        <id>install1</id>
                        <phase>install</phase>
                        <goals>
                            <goal>list-issues</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
mvn redmine:list-projects -Dredmine.apiKey=API_KEY -Dredmine.hostUrl=REDMINE_URL -Dredmine.all=true