Author: tchemit Date: 2014-03-01 18:56:48 +0100 (Sat, 01 Mar 2014) New Revision: 429 Url: http://nuiton.org/projects/jredmine/repository/revisions/429 Log: fixes #2846: updates mavenpom to 5.0 Added: trunk/jredmine-maven-plugin/src/site/apt/usage.apt.vm Removed: trunk/jredmine-maven-plugin/src/site/apt/usage.apt Modified: trunk/jredmine-client/src/main/redmine/jredmine-1.x/init.rb trunk/jredmine-client/src/main/redmine/jredmine-2.x/init.rb trunk/jredmine-client/src/site/site_fr.xml trunk/jredmine-client/src/test/resources/test-config.properties trunk/jredmine-maven-plugin/src/it/multi/pom.xml trunk/jredmine-maven-plugin/src/it/report/pom.xml trunk/jredmine-maven-plugin/src/it/settings.xml trunk/jredmine-maven-plugin/src/it/single/pom.xml trunk/jredmine-maven-plugin/src/it/skip-report/pom.xml trunk/jredmine-maven-plugin/src/site/site_fr.xml trunk/jredmine-maven-plugin/src/test/resources/test-config.properties trunk/pom.xml trunk/src/site/apt/index.apt trunk/src/site/apt/tests.apt trunk/src/site/site_fr.xml Modified: trunk/jredmine-client/src/main/redmine/jredmine-1.x/init.rb =================================================================== --- trunk/jredmine-client/src/main/redmine/jredmine-1.x/init.rb 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-client/src/main/redmine/jredmine-1.x/init.rb 2014-03-01 17:56:48 UTC (rev 429) @@ -27,7 +27,7 @@ Redmine::Plugin.register :jredmine do name 'JRedmine Rails plugin' author 'Tony Chemit' - author_url 'http://nuiton.org/users/7' + author_url 'https://forge.nuiton.org/users/7' description 'A plugin to expose projects in REST protocol' version '${project.version}' project_module :jredmine do Modified: trunk/jredmine-client/src/main/redmine/jredmine-2.x/init.rb =================================================================== --- trunk/jredmine-client/src/main/redmine/jredmine-2.x/init.rb 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-client/src/main/redmine/jredmine-2.x/init.rb 2014-03-01 17:56:48 UTC (rev 429) @@ -27,7 +27,7 @@ Redmine::Plugin.register :jredmine do name 'JRedmine Rails plugin' author 'Tony Chemit' - author_url 'http://nuiton.org/users/7' + author_url 'https://forge.nuiton.org/users/7' description 'A plugin to expose projects in REST protocol' version '${project.version}' project_module :jredmine do Modified: trunk/jredmine-client/src/site/site_fr.xml =================================================================== --- trunk/jredmine-client/src/site/site_fr.xml 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-client/src/site/site_fr.xml 2014-03-01 17:56:48 UTC (rev 429) @@ -35,11 +35,11 @@ <head> <script type="text/javascript" - src="http://maven-site.chorem.org/public/js/mavenpom-site.js"> + src="${mavenpomSiteCommonResourcesUrl}/public/js/mavenpom-site.js"> </script> <link rel="stylesheet" type="text/css" - href="http://maven-site.chorem.org/public/css/mavenpom-site.css"/> + href="${mavenpomSiteCommonResourcesUrl}/public/css/mavenpom-site.css"/> </head> <breadcrumbs> @@ -55,7 +55,7 @@ </menu> <menu name="Téléchargement"> - <item href="http://nuiton.org/projects/jredmine/files" + <item href="https://forge.nuiton.org/projects/jredmine/files" name="Sources bundles"/> </menu> @@ -72,7 +72,9 @@ scmwebeditorurl='${project.scmwebeditorUrl}' siteSourcesType='${project.siteSourcesType}' piwikEnabled='${project.piwikEnabled}' - piwikId='${project.piwikId}'> + piwikId='${project.piwikId}' + scmwebeditor_vmFiles=",," + scmwebeditor_skipDefaultFiles="true"> </div> </footer> Modified: trunk/jredmine-client/src/test/resources/test-config.properties =================================================================== --- trunk/jredmine-client/src/test/resources/test-config.properties 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-client/src/test/resources/test-config.properties 2014-03-01 17:56:48 UTC (rev 429) @@ -23,6 +23,6 @@ # #L% ### # default values for test configuration (see org.nuiton.jredmine.TestHelper) -jredmine-test.url=http://nuiton.org +jredmine-test.url=https://forge.nuiton.org jredmine-test.encoding=UTF-8 jredmine-test.verbose=false \ No newline at end of file Modified: trunk/jredmine-maven-plugin/src/it/multi/pom.xml =================================================================== --- trunk/jredmine-maven-plugin/src/it/multi/pom.xml 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-maven-plugin/src/it/multi/pom.xml 2014-03-01 17:56:48 UTC (rev 429) @@ -47,7 +47,7 @@ <issueManagement> <system>redmine</system> - <url>http://nuiton.org/projects/jredmine/issues</url> + <url>https://forge.nuiton.org/projects/jredmine/issues</url> </issueManagement> <!--Distribution--> @@ -144,7 +144,7 @@ <issueLinkTemplate>${maven.redmine.issue.url}</issueLinkTemplate> <xmlPath>${maven.changeFile}</xmlPath> - <urlDownload>http://nuiton.org/projects/jredmine/files + <urlDownload>https://forge.nuiton.org/projects/jredmine/files </urlDownload> </configuration> </execution> Modified: trunk/jredmine-maven-plugin/src/it/report/pom.xml =================================================================== --- trunk/jredmine-maven-plugin/src/it/report/pom.xml 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-maven-plugin/src/it/report/pom.xml 2014-03-01 17:56:48 UTC (rev 429) @@ -37,11 +37,11 @@ <packaging>pom</packaging> <description>Test JRedmine plugin reports</description> - <url>http://nuiton.org/projects/jredmine</url> + <url>https://forge.nuiton.org/projects/jredmine</url> <issueManagement> <system>redmine</system> - <url>http://nuiton.org/projects/jredmine/issues</url> + <url>https://forge.nuiton.org/projects/jredmine/issues</url> </issueManagement> <build> @@ -76,10 +76,10 @@ <version>@pom.version@</version> <configuration> <issueLinkTemplate> - http://nuiton.org/issues/show/%ISSUE% + https://forge.nuiton.org/issues/show/%ISSUE% </issueLinkTemplate> <versionLinkTemplate> - http://nuiton.org/projects/versions/show/%VERSION% + https://forge.nuiton.org/projects/versions/show/%VERSION% </versionLinkTemplate> <columnNames> key,summary,status,assignee,reporter,tracker,priority,version,category,createdOn Modified: trunk/jredmine-maven-plugin/src/it/settings.xml =================================================================== --- trunk/jredmine-maven-plugin/src/it/settings.xml 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-maven-plugin/src/it/settings.xml 2014-03-01 17:56:48 UTC (rev 429) @@ -69,9 +69,9 @@ <redmine.serverId>jredmine-test</redmine.serverId> <redmine.projectId>jredmine</redmine.projectId> <redmine.versionId>1.3</redmine.versionId> - <redmine.url>http://nuiton.org</redmine.url> + <redmine.url>https://forge.nuiton.org</redmine.url> <maven.redmine.issue.url> - http://nuiton.org/issues/show/%ISSUE% + https://forge.nuiton.org/issues/show/%ISSUE% </maven.redmine.issue.url> <maven.changeFile> target/generated-sources/changes/changes.xml Modified: trunk/jredmine-maven-plugin/src/it/single/pom.xml =================================================================== --- trunk/jredmine-maven-plugin/src/it/single/pom.xml 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-maven-plugin/src/it/single/pom.xml 2014-03-01 17:56:48 UTC (rev 429) @@ -37,11 +37,11 @@ <packaging>jar</packaging> <description>Test JRedmine plugin for a single module.</description> - <url>http://nuiton.org/projects/jredmine</url> + <url>https://forge.nuiton.org/projects/jredmine</url> <issueManagement> <system>redmine</system> - <url>http://nuiton.org/projects/jredmine/issues</url> + <url>https://forge.nuiton.org/projects/jredmine/issues</url> </issueManagement> <!--Distribution--> @@ -140,7 +140,7 @@ <!-- generate announcements --> <urlDownload> - http://nuiton.org/projects/jredmine/files + https://forge.nuiton.org/projects/jredmine/files </urlDownload> </configuration> </execution> Modified: trunk/jredmine-maven-plugin/src/it/skip-report/pom.xml =================================================================== --- trunk/jredmine-maven-plugin/src/it/skip-report/pom.xml 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-maven-plugin/src/it/skip-report/pom.xml 2014-03-01 17:56:48 UTC (rev 429) @@ -37,11 +37,11 @@ <packaging>pom</packaging> <description>Test JRedmine plugin reports</description> - <url>http://nuiton.org/projects/jredmine</url> + <url>https://forge.nuiton.org/projects/jredmine</url> <issueManagement> <system>redmine</system> - <url>http://nuiton.org/projects/jredmine/issues</url> + <url>https://forge.nuiton.org/projects/jredmine/issues</url> </issueManagement> <properties> @@ -83,10 +83,10 @@ <projectId>one</projectId> <versionId>1.0.0</versionId> <issueLinkTemplate> - http://nuiton.org/issues/show/%ISSUE% + https://forge.nuiton.org/issues/show/%ISSUE% </issueLinkTemplate> <versionLinkTemplate> - http://nuiton.org/versions/show/%VERSION% + https://forge.nuiton.org/versions/show/%VERSION% </versionLinkTemplate> <columnNames> key,summary,status,assignee,reporter,tracker,priority,version,category,createdOn Deleted: trunk/jredmine-maven-plugin/src/site/apt/usage.apt =================================================================== --- trunk/jredmine-maven-plugin/src/site/apt/usage.apt 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-maven-plugin/src/site/apt/usage.apt 2014-03-01 17:56:48 UTC (rev 429) @@ -1,418 +0,0 @@ -~~~ -~~ #%L -~~ JRedmine :: Maven plugin -~~ -~~ $Id$ -~~ $HeadURL$ -~~ %% -~~ Copyright (C) 2009 - 2012 Tony Chemit, CodeLutin -~~ %% -~~ This program is free software: you can redistribute it and/or modify -~~ it under the terms of the GNU Lesser General Public License as -~~ published by the Free Software Foundation, either version 3 of the -~~ License, or (at your option) any later version. -~~ -~~ This program is distributed in the hope that it will be useful, -~~ but WITHOUT ANY WARRANTY; without even the implied warranty of -~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -~~ GNU General Lesser Public License for more details. -~~ -~~ You should have received a copy of the GNU General Lesser Public -~~ License along with this program. If not, see -~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. -~~ #L% -~~~ - ----- -Usage ----- ----- -2009-09-06 ----- - -Abstract - - This page describes usages of different goals of the plugin. - -Authentication notes - - There is some goals which needs to be authenticated in redmine server, - since version <<1.5>> there is two way to do this: - - - using the normal method via <<username>>, <<password>> parameters - - - using the new method via <<apiKey>> parameter - -Generate things - -* Generate the changes.xml file - - This execution will change the changes.xml file in - ------------------------------------------------------------------------------- -target/generated-sources/changes/changes.xml ------------------------------------------------------------------------------- - ------------------------------------------------------------------------------- - -<plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>generate-changes</goal> - </goals> - <phase>process-classes</phase> - </execution> - </executions> - <configuration> - <projectId>myProject</projectId> - <generateOnce>true</generateOnce> - <actionMapping>fix:1, add:2</actionMapping> - <statusIds>3,4,5</statusIds> - </configuration> -</plugin> ------------------------------------------------------------------------------- - - Full detail about this goal can be found {{{./generate-changes-mojo.html}here}}. - -* Generate the release email announcement content - ------------------------------------------------------------------------------- - -<plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>generate-email-announcement</goal> - </goals> - <phase>process-classes</phase> - </execution> - </executions> - <configuration> - <projectId>myProject</projectId> - <urlDownload> - ${redmine.url}/projects/list_files/${projectId} - </urlDownload> - </configuration> -</plugin> ------------------------------------------------------------------------------- - - Full detail about this goal can be found {{{./generate-email-announcement-mojo.html}here}}. - -* Generate the release news announcement content - ------------------------------------------------------------------------------- - -<plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>generate-news-announcement</goal> - </goals> - <phase>process-classes</phase> - </execution> - </executions> - <configuration> - <projectId>myProject</projectId> - <urlDownload> - ${redmine.url}/projects/list_files/${projectId} - </urlDownload> - </configuration> -</plugin> ------------------------------------------------------------------------------- - - Full detail about this goal can be found {{{./generate-news-announcement-mojo.html}here}}. - -Work around a release - - In this section we show how to interact when releasing a project. - - For all this actions, you will need a authenticated connexion to redmine - server (fill the <<username>> and <<password>> properties), or give them - on commandline via - ------------------------------------------------------------------------------- - -Dredmine.username=login -Dredmine.password=password ------------------------------------------------------------------------------- - -* Release the current version - ------------------------------------------------------------------------------- - -<plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>update-version</goal> - </goals> - <phase>validate</phase> - </execution> - </executions> - <configuration> - <projectId>myProject</projectId> - <versionId>1.1</versionId> - <username>login</username> - <password>password</password> - <closeVersion>true</closeVersion> - </configuration> -</plugin> ------------------------------------------------------------------------------- - - or - ------------------------------------------------------------------------------- - -mvn jredmine:update-version -DprojectId=myPoject\ - -DcloseVersion -DversionId=1.1 \ - -Dredmine.username=login -Dredmine.password=password ------------------------------------------------------------------------------- - - Full detail about this goal can be found {{{./update-version-mojo.html}here}}. - -* Create a new version - ------------------------------------------------------------------------------- - -<plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>next-version</goal> - </goals> - <phase>validate</phase> - </execution> - </executions> - <configuration> - <projectId>myProject</projectId> - <versionId>1.1</versionId> - <username>login</username> - <password>password</password> - <previousVersionName>1.0</previousVersionName> - </configuration> -</plugin> ------------------------------------------------------------------------------- - - or - ------------------------------------------------------------------------------- - -mvn jredmine:next-version -DprojectId=myPoject\ - -DversionId=1.1 -DpreviousVersionName=1.0\ - -Dredmine.username=login -Dredmine.password=password ------------------------------------------------------------------------------- - - Full detail about this goal can be found {{{./next-version-mojo.html}here}}. - -* Publish some files to a redmine server - ------------------------------------------------------------------------------- - -<plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>publish-attachments</goal> - </goals> - <phase>validate</phase> - </execution> - </executions> - <configuration> - <projectId>myProject</projectId> - <versionId>1.1</versionId> - <username>login</username> - <password>password</password> - - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - - <!-- publish-attachments --> - <filesFromProperties>${redmine.collectedFiles}</filesFromProperties> - </configuration> -</plugin> ------------------------------------------------------------------------------- - - Full detail about this goal can be found {{{./publish-attachments-mojo.html}here}}. - -* Publish a news to a redmine server - ------------------------------------------------------------------------------- - -<plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>publish-news</goal> - </goals> - <phase>validate</phase> - </execution> - </executions> - <configuration> - <projectId>myProject</projectId> - <username>login</username> - <password>password</password> - <!-- for a multi-module just run on root project --> - <runOnce>true</runOnce> - - <!-- publish-news --> - <newsContentFile> - target/generated-sources/announcement/release-news-announcement.vm - </newsContentFile> - <newsSummary>${project.description}</newsSummary> - <newsTitle>${project.name} ${project.version} released</newsTitle> - </configuration> -</plugin> ------------------------------------------------------------------------------- - - Full detail about this goal can be found {{{./publish-news-mojo.html}here}}. - -Obtain help - -* get mojo help - - This goal display the help of the plugin (available goals). - - Use it directly (and only) from commandline : - ------------------------------------------------------------------------------- - - mvn jredmine:help ------------------------------------------------------------------------------- - - To display verbose help : - ------------------------------------------------------------------------------- - mvn jredmine:help -Ddetail ------------------------------------------------------------------------------- - - Full detail about this goal can be found {{{./help-mojo.html}here}}. - - -* Obtain datas from redmine server - - This goal display some datas from a redmine server. - - - for example, to obtain all users of the jredmine project, launch directly - from commandline : - ------------------------------------------------------------------------------- - - mvn jredmine:display-data -DprojectId=jredmine -Dtypes=user ------------------------------------------------------------------------------- - - will display this - ------------------------------------------------------------------------------- -Values of 'user' for project 'jredmine' - - 3 = Jean Couteau - - 5 = Éric Chatellier - - 7 = Tony Chemit ------------------------------------------------------------------------------- - - Full detail about this goal can be found {{{./display-data-mojo.html}here}}. - -Do reports - - There is some reports on the issues of the redmine server. - -* Reports all issues form a project - - Basic issue report with no grouping. - ------------------------------------------------------------------------------- - -<plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <configuration> - <projectId>myProject</projectId> - <columnNames> - key,summary,status,assignee,tracker,priority,version,category,createdOn - </columnNames> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>issues-report</report> - </reports> - </reportSet> - </reportSets> -</plugin> ------------------------------------------------------------------------------- - - Full detail about this goal can be found {{{./issues-report-mojo.html}here}}. - -* Reports all issues form a project group by XXX - - Issue report with a grouping property among : - - - assignee - - - category - - - priority - - - reporter - - - status - - - tracker - - - version - - [] - . - for example generate a report of issues grouped by version : - ------------------------------------------------------------------------------- - -<plugin> - <groupId>org.nuiton.jredmine</groupId> - <artifactId>jredmine-maven-plugin</artifactId> - <configuration> - <projectId>myProject</projectId> - <columnNamesByVersion> - key,summary,status,assignee,tracker,priority,category,createdOn - </columnNamesByVersion> - </configuration> - <reportSets> - <reportSet> - <reports> - <report>issues-report-by-version</report> - </reports> - </reportSet> - </reportSets> -</plugin> ------------------------------------------------------------------------------- - - Full detail about this goal can be found here : - - - {{{./issues-report-by-assignee-mojo.html}group by assignee}}. - - - {{{./issues-report-by-category-mojo.html}group by category}}. - - - {{{./issues-report-by-priority-mojo.html}group by priority}}. - - - {{{./issues-report-by-reporter-mojo.html}group by reporter}}. - - - {{{./issues-report-by-status-mojo.html}group by status}}. - - - {{{./issues-report-by-tracker-mojo.html}group by tracker}}. - - - {{{./issues-report-by-version-mojo.html}group by version}}. - - [] \ No newline at end of file Copied: trunk/jredmine-maven-plugin/src/site/apt/usage.apt.vm (from rev 428, trunk/jredmine-maven-plugin/src/site/apt/usage.apt) =================================================================== --- trunk/jredmine-maven-plugin/src/site/apt/usage.apt.vm (rev 0) +++ trunk/jredmine-maven-plugin/src/site/apt/usage.apt.vm 2014-03-01 17:56:48 UTC (rev 429) @@ -0,0 +1,419 @@ +~~~ +~~ #%L +~~ JRedmine :: Maven plugin +~~ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2009 - 2012 Tony Chemit, CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + +---- +Usage +---- +---- +2009-09-06 +---- + +Abstract + + This page describes usages of different goals of the plugin. + +Authentication notes + + There is some goals which needs to be authenticated in redmine server, + since version <<1.5>> there is two way to do this: + + - using the normal method via <<username>>, <<password>> parameters + + - using the new method via <<apiKey>> parameter + +Generate things + +* Generate the changes.xml file + + This execution will change the changes.xml file in + +------------------------------------------------------------------------------ +target/generated-sources/changes/changes.xml +------------------------------------------------------------------------------ + +------------------------------------------------------------------------------ + +<plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <version>${project.version}</version> + <executions> + <execution> + <goals> + <goal>generate-changes</goal> + </goals> + <phase>process-classes</phase> + </execution> + </executions> + <configuration> + <projectId>myProject</projectId> + <generateOnce>true</generateOnce> + <actionMapping>fix:1, add:2</actionMapping> + <statusIds>3,4,5</statusIds> + </configuration> +</plugin> +------------------------------------------------------------------------------ + + Full detail about this goal can be found {{{./generate-changes-mojo.html}here}}. + +* Generate the release email announcement content + +------------------------------------------------------------------------------ + +<plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <version>${project.version}</version> + <executions> + <execution> + <goals> + <goal>generate-email-announcement</goal> + </goals> + <phase>process-classes</phase> + </execution> + </executions> + <configuration> + <projectId>myProject</projectId> + <urlDownload> + ${redmine.url}/projects/list_files/${projectId} + </urlDownload> + </configuration> +</plugin> +------------------------------------------------------------------------------ + + Full detail about this goal can be found {{{./generate-email-announcement-mojo.html}here}}. + +* Generate the release news announcement content + +------------------------------------------------------------------------------ + +<plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <version>${project.version}</version> + <executions> + <execution> + <goals> + <goal>generate-news-announcement</goal> + </goals> + <phase>process-classes</phase> + </execution> + </executions> + <configuration> + <projectId>myProject</projectId> + <urlDownload> + ${redmine.url}/projects/list_files/${projectId} + </urlDownload> + </configuration> +</plugin> +------------------------------------------------------------------------------ + + Full detail about this goal can be found {{{./generate-news-announcement-mojo.html}here}}. + +Work around a release + + In this section we show how to interact when releasing a project. + + For all this actions, you will need a authenticated connexion to redmine + server (fill the <<username>> and <<password>> properties), or give them + on commandline via + +------------------------------------------------------------------------------ + -Dredmine.username=login -Dredmine.password=password +------------------------------------------------------------------------------ + +* Release the current version + +------------------------------------------------------------------------------ + +<plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <version>${project.version}</version> + <executions> + <execution> + <goals> + <goal>update-version</goal> + </goals> + <phase>validate</phase> + </execution> + </executions> + <configuration> + <projectId>myProject</projectId> + <versionId>1.1</versionId> + <username>login</username> + <password>password</password> + <closeVersion>true</closeVersion> + </configuration> +</plugin> +------------------------------------------------------------------------------ + + or + +------------------------------------------------------------------------------ + +mvn jredmine:update-version -DprojectId=myPoject\ + -DcloseVersion -DversionId=1.1 \ + -Dredmine.username=login -Dredmine.password=password +------------------------------------------------------------------------------ + + Full detail about this goal can be found {{{./update-version-mojo.html}here}}. + +* Create a new version + +------------------------------------------------------------------------------ + +<plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>next-version</goal> + </goals> + <phase>validate</phase> + </execution> + </executions> + <configuration> + <projectId>myProject</projectId> + <versionId>1.1</versionId> + <username>login</username> + <password>password</password> + <previousVersionName>1.0</previousVersionName> + </configuration> +</plugin> +------------------------------------------------------------------------------ + + or + +------------------------------------------------------------------------------ + +mvn jredmine:next-version -DprojectId=myPoject\ + -DversionId=1.1 -DpreviousVersionName=1.0\ + -Dredmine.username=login -Dredmine.password=password +------------------------------------------------------------------------------ + + Full detail about this goal can be found {{{./next-version-mojo.html}here}}. + +* Publish some files to a redmine server + +------------------------------------------------------------------------------ + +<plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>publish-attachments</goal> + </goals> + <phase>validate</phase> + </execution> + </executions> + <configuration> + <projectId>myProject</projectId> + <versionId>1.1</versionId> + <username>login</username> + <password>password</password> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> + <!-- publish-attachments --> + <filesFromProperties>${redmine.collectedFiles}</filesFromProperties> + </configuration> +</plugin> +------------------------------------------------------------------------------ + + Full detail about this goal can be found {{{./publish-attachments-mojo.html}here}}. + +* Publish a news to a redmine server + +------------------------------------------------------------------------------ + +<plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>publish-news</goal> + </goals> + <phase>validate</phase> + </execution> + </executions> + <configuration> + <projectId>myProject</projectId> + <username>login</username> + <password>password</password> + <!-- for a multi-module just run on root project --> + <runOnce>true</runOnce> + <!-- publish-news --> + <newsContentFile> + target/generated-sources/announcement/release-news-announcement.vm + </newsContentFile> + <newsSummary>${project.description}</newsSummary> + <newsTitle>${project.name} ${project.version} released</newsTitle> + </configuration> +</plugin> +------------------------------------------------------------------------------ + + Full detail about this goal can be found {{{./publish-news-mojo.html}here}}. + +Obtain help + +* get mojo help + + This goal display the help of the plugin (available goals). + + Use it directly (and only) from commandline : + +------------------------------------------------------------------------------ + + mvn jredmine:help +------------------------------------------------------------------------------ + + To display verbose help : + +------------------------------------------------------------------------------ + mvn jredmine:help -Ddetail +------------------------------------------------------------------------------ + + Full detail about this goal can be found {{{./help-mojo.html}here}}. + + +* Obtain datas from redmine server + + This goal display some datas from a redmine server. + + + for example, to obtain all users of the jredmine project, launch directly + from commandline : + +------------------------------------------------------------------------------ + + mvn jredmine:display-data -DprojectId=jredmine -Dtypes=user +------------------------------------------------------------------------------ + + will display this + +------------------------------------------------------------------------------ +Values of 'user' for project 'jredmine' + - 3 = Jean Couteau + - 5 = Éric Chatellier + - 7 = Tony Chemit +------------------------------------------------------------------------------ + + Full detail about this goal can be found {{{./display-data-mojo.html}here}}. + +Do reports + + There is some reports on the issues of the redmine server. + +* Reports all issues form a project + + Basic issue report with no grouping. + +------------------------------------------------------------------------------ + +<plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <configuration> + <projectId>myProject</projectId> + <columnNames> + key,summary,status,assignee,tracker,priority,version,category,createdOn + </columnNames> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>issues-report</report> + </reports> + </reportSet> + </reportSets> +</plugin> +------------------------------------------------------------------------------ + + Full detail about this goal can be found {{{./issues-report-mojo.html}here}}. + +* Reports all issues form a project group by XXX + + Issue report with a grouping property among : + + - assignee + + - category + + - priority + + - reporter + + - status + + - tracker + + - version + + [] + . + for example generate a report of issues grouped by version : + +------------------------------------------------------------------------------ + +<plugin> + <groupId>org.nuiton.jredmine</groupId> + <artifactId>jredmine-maven-plugin</artifactId> + <configuration> + <projectId>myProject</projectId> + <columnNamesByVersion> + key,summary,status,assignee,tracker,priority,category,createdOn + </columnNamesByVersion> + </configuration> + <reportSets> + <reportSet> + <reports> + <report>issues-report-by-version</report> + </reports> + </reportSet> + </reportSets> +</plugin> +------------------------------------------------------------------------------ + + Full detail about this goal can be found here : + + - {{{./issues-report-by-assignee-mojo.html}group by assignee}}. + + - {{{./issues-report-by-category-mojo.html}group by category}}. + + - {{{./issues-report-by-priority-mojo.html}group by priority}}. + + - {{{./issues-report-by-reporter-mojo.html}group by reporter}}. + + - {{{./issues-report-by-status-mojo.html}group by status}}. + + - {{{./issues-report-by-tracker-mojo.html}group by tracker}}. + + - {{{./issues-report-by-version-mojo.html}group by version}}. + + [] \ No newline at end of file Modified: trunk/jredmine-maven-plugin/src/site/site_fr.xml =================================================================== --- trunk/jredmine-maven-plugin/src/site/site_fr.xml 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-maven-plugin/src/site/site_fr.xml 2014-03-01 17:56:48 UTC (rev 429) @@ -35,11 +35,11 @@ <head> <script type="text/javascript" - src="http://maven-site.chorem.org/public/js/mavenpom-site.js"> + src="${mavenpomSiteCommonResourcesUrl}/public/js/mavenpom-site.js"> </script> <link rel="stylesheet" type="text/css" - href="http://maven-site.chorem.org/public/css/mavenpom-site.css"/> + href="${mavenpomSiteCommonResourcesUrl}/public/css/mavenpom-site.css"/> </head> <breadcrumbs> @@ -87,7 +87,7 @@ <footer> - <div id='projectMetas' locale='en' + <div id='projectMetas' locale='fr' projectversion='${project.version}' platform='${project.platform}' projectid='${project.projectId}' @@ -96,7 +96,9 @@ scmwebeditorurl='${project.scmwebeditorUrl}' siteSourcesType='${project.siteSourcesType}' piwikEnabled='${project.piwikEnabled}' - piwikId='${project.piwikId}'> + piwikId='${project.piwikId}' + scmwebeditor_vmFiles=",usage.html," + scmwebeditor_skipDefaultFiles="true"> </div> </footer> Modified: trunk/jredmine-maven-plugin/src/test/resources/test-config.properties =================================================================== --- trunk/jredmine-maven-plugin/src/test/resources/test-config.properties 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/jredmine-maven-plugin/src/test/resources/test-config.properties 2014-03-01 17:56:48 UTC (rev 429) @@ -23,6 +23,6 @@ # #L% ### # default values for test configuration (see org.nuiton.jredmine.TestHelper) -jredmine-test.url=http://nuiton.org +jredmine-test.url=https://forge.nuiton.org jredmine-test.encoding=UTF-8 jredmine-test.verbose=false \ No newline at end of file Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/pom.xml 2014-03-01 17:56:48 UTC (rev 429) @@ -26,7 +26,7 @@ <parent> <groupId>org.nuiton</groupId> <artifactId>mavenpom4redmineAndCentral</artifactId> - <version>4.1</version> + <version>5.0</version> </parent> <artifactId>jredmine</artifactId> @@ -35,7 +35,7 @@ <name>JRedmine</name> <description>JRedmine is a java redmine client</description> - <url>http://maven-site.nuiton.org/jredmine</url> + <url>http://doc.nuiton.org/jredmine</url> <inceptionYear>2009</inceptionYear> <developers> @@ -63,15 +63,15 @@ </modules> <scm> - <connection>scm:svn:http://svn.nuiton.org/svn/jredmine/trunk</connection> + <connection>scm:svn:http://svn.nuiton.org/jredmine/trunk</connection> <developerConnection> - scm:svn:http://svn.nuiton.org/svn/jredmine/trunk + scm:svn:https://svn.nuiton.org/jredmine/trunk </developerConnection> - <url>http://nuiton.org/projects/jredmine/repository/show/trunk</url> + <url>https://forge.nuiton.org/projects/jredmine/repository/show/trunk</url> </scm> <distributionManagement> <site> - <id>${platform}</id> + <id>doc.${platform}</id> <url>${our.site.repository}/${projectId}</url> </site> </distributionManagement> @@ -81,7 +81,7 @@ <projectId>jredmine</projectId> <!-- must be on a fixed version, not on the snapshot to make possible release --> - <jredminePluginVersion>1.5.1</jredminePluginVersion> + <jredminePluginVersion>1.6</jredminePluginVersion> <!-- remove this when using mavenpom >= 4.0 --> <helperPluginVersion>2.1</helperPluginVersion> Modified: trunk/src/site/apt/index.apt =================================================================== --- trunk/src/site/apt/index.apt 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/src/site/apt/index.apt 2014-03-01 17:56:48 UTC (rev 429) @@ -63,7 +63,7 @@ désormais configurer le fait de lancer ou pas les goals sur les modules root. On a aussi ajouté la possible de choisir de manière automatique la dernière - version clôturée (voir http://nuiton.org/issues/2630). + version clôturée (voir https://forge.nuiton.org/issues/2630). * Version 1.5 @@ -90,10 +90,10 @@ * Version 1.3 La version <<1.3>> est compatible avec {{{http://www.redmine.org/versions/42}<redmine 1.3.2>}} après la - résolution du ticket {{http://nuiton.org/issues/1925}}. + résolution du ticket {{https://forge.nuiton.org/issues/1925}}. Le nom du plugin a été renommé de <maven-jredmine-plugin> en <jredmine-maven-plugin> - (voir ticket {{http://nuiton.org/issues/1969}}). Pensez à bien changer les coordonnées + (voir ticket {{https://forge.nuiton.org/issues/1969}}). Pensez à bien changer les coordonnées du plugin comme indiqué {{{./jredmine-maven-plugin/plugin-info.html#Utilisation}ici}}. Modified: trunk/src/site/apt/tests.apt =================================================================== --- trunk/src/site/apt/tests.apt 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/src/site/apt/tests.apt 2014-03-01 17:56:48 UTC (rev 429) @@ -42,7 +42,7 @@ Voici la configuration par défaut actuelle : ------------------------------------------------------------------------------- -jredmine-test.url=http://nuiton.org +jredmine-test.url=https://forge.nuiton.org jredmine-test.encoding=UTF-8 jredmine-test.verbose=false ------------------------------------------------------------------------------- @@ -90,7 +90,7 @@ fait de plusieurs manières différentes. A noter que dans la version 2.0, on pourra aussi utiliser un <<apiKey>> (voir - {{{http://nuiton.org/issues/2197}évolution 2197}}). + {{{https://forge.nuiton.org/issues/2197}évolution 2197}}). * Via des variables d'environnement @@ -166,6 +166,6 @@ En version <<2.0>> le jeu de test sera clairement spécifié pour permettre une meilleure testabilité du projet - (voir {{{http://nuiton.org/issues/2201}évolution 2201}}). + (voir {{{https://forge.nuiton.org/issues/2201}évolution 2201}}). Pour le moment, le projet testé est <<jredmine>> en version<<1.3>>. Modified: trunk/src/site/site_fr.xml =================================================================== --- trunk/src/site/site_fr.xml 2014-02-25 08:05:48 UTC (rev 428) +++ trunk/src/site/site_fr.xml 2014-03-01 17:56:48 UTC (rev 429) @@ -40,7 +40,7 @@ <skin> <groupId>org.apache.maven.skins</groupId> <artifactId>maven-fluido-skin</artifactId> - <version>1.3.0</version> + <version>${fluidoSkinVersion}</version> </skin> <custom> @@ -65,11 +65,11 @@ <head> <script type="text/javascript" - src="http://maven-site.chorem.org/public/js/mavenpom-site.js"> + src="${mavenpomSiteCommonResourcesUrl}/public/js/mavenpom-site.js"> </script> <link rel="stylesheet" type="text/css" - href="http://maven-site.chorem.org/public/css/mavenpom-site.css"/> + href="${mavenpomSiteCommonResourcesUrl}/public/css/mavenpom-site.css"/> </head> <breadcrumbs> @@ -102,7 +102,9 @@ scmwebeditorurl='${project.scmwebeditorUrl}' siteSourcesType='${project.siteSourcesType}' piwikEnabled='${project.piwikEnabled}' - piwikId='${project.piwikId}'> + piwikId='${project.piwikId}' + scmwebeditor_vmFiles=",," + scmwebeditor_skipDefaultFiles="true"> </div> </footer>