r444 - in trunk/jredmine-maven-plugin/src/main/java/org/nuiton/jredmine/plugin: . report
Author: tchemit Date: 2014-04-16 14:51:47 +0200 (Wed, 16 Apr 2014) New Revision: 444 Url: http://forge.nuiton.org/projects/jredmine/repository/revisions/444 Log: fixes #3159 Modified: trunk/jredmine-maven-plugin/src/main/java/org/nuiton/jredmine/plugin/GenerateChangesMojo.java trunk/jredmine-maven-plugin/src/main/java/org/nuiton/jredmine/plugin/report/AbstractRedmineReport.java Modified: trunk/jredmine-maven-plugin/src/main/java/org/nuiton/jredmine/plugin/GenerateChangesMojo.java =================================================================== --- trunk/jredmine-maven-plugin/src/main/java/org/nuiton/jredmine/plugin/GenerateChangesMojo.java 2014-04-16 09:43:25 UTC (rev 443) +++ trunk/jredmine-maven-plugin/src/main/java/org/nuiton/jredmine/plugin/GenerateChangesMojo.java 2014-04-16 12:51:47 UTC (rev 444) @@ -81,19 +81,6 @@ /////////////////////////////////////////////////////////////////////////// /** - * Flag to know if anonymous connexion to redmine server is required. - * <p/> - * For this goal, the default value is {@code true} - * <p/> - * <b>Note:</b> If set to {@code false}, you should fill {@link #username} - * and {@link #password} properties. - * - * @since 1.1.3 - */ - @Parameter(property = "redmine.anonymous", defaultValue = "true") - protected boolean anonymous; - - /** * The path of the <code>changes.xml</code> file that will be converted into an HTML report. * * @since 1.0.0 @@ -209,8 +196,8 @@ * * @since 1.7 */ - @Parameter(property = "redmine.issueLinkTemplate", defaultValue = "%URL%/issues/show/%ISSUE%") - protected String issueLinkTemplate = "%URL%/issues/show/%ISSUE%"; + @Parameter(property = "redmine.issueLinkTemplate", defaultValue = "%URL%/issues/%ISSUE%") + protected String issueLinkTemplate = "%URL%/issues/%ISSUE%"; /////////////////////////////////////////////////////////////////////////// /// Mojo internal attributes @@ -234,20 +221,6 @@ } /////////////////////////////////////////////////////////////////////////// - /// RedmineClientConfiguration - /////////////////////////////////////////////////////////////////////////// - - @Override - public boolean isAnonymous() { - return anonymous; - } - - @Override - public void setAnonymous(boolean anonymous) { - this.anonymous = anonymous; - } - - /////////////////////////////////////////////////////////////////////////// /// IssueCollectionConfiguration /////////////////////////////////////////////////////////////////////////// Modified: trunk/jredmine-maven-plugin/src/main/java/org/nuiton/jredmine/plugin/report/AbstractRedmineReport.java =================================================================== --- trunk/jredmine-maven-plugin/src/main/java/org/nuiton/jredmine/plugin/report/AbstractRedmineReport.java 2014-04-16 09:43:25 UTC (rev 443) +++ trunk/jredmine-maven-plugin/src/main/java/org/nuiton/jredmine/plugin/report/AbstractRedmineReport.java 2014-04-16 12:51:47 UTC (rev 444) @@ -80,19 +80,6 @@ protected String versionId; /** - * Flag to know if anonymous connexion to redmine server is required. - * <p/> - * For this goal, the default value is {@code true} - * <p/> - * <b>Note:</b> If set to {@code false}, you should fill {@link #username} - * and {@link #password} properties. - * - * @since 1.1.3 - */ - @Parameter(property = "redmine.anonymous", defaultValue = "true") - protected boolean anonymous; - - /** * Template strings per system that is used to discover the URL to use to display an issue report. Each key in this * map denotes the (case-sensitive) identifier of the issue tracking system and its value gives the URL template. * <p> @@ -103,8 +90,8 @@ * * @since 1.0.0 */ - @Parameter(property = "redmine.issueLinkTemplate", defaultValue = "%URL%/issues/show/%ISSUE%") - protected String issueLinkTemplate = "%URL%/issues/show/%ISSUE%"; + @Parameter(property = "redmine.issueLinkTemplate", defaultValue = "%URL%/issues/%ISSUE%") + protected String issueLinkTemplate = "%URL%/issues/%ISSUE%"; /** * Template strings per system that is used to discover the URL to use to display an issue report. Each key in this @@ -117,8 +104,8 @@ * * @since 1.0.0 */ - @Parameter(property = "redmine.versionLinkTemplate", defaultValue = "%URL%/versions/show/%VERSION%") - protected String versionLinkTemplate = "%URL%/versions/show/%VERSION%"; + @Parameter(property = "redmine.versionLinkTemplate", defaultValue = "%URL%/versions/%VERSION%") + protected String versionLinkTemplate = "%URL%/versions/%VERSION%"; /** * Local Repository. @@ -196,20 +183,6 @@ } /////////////////////////////////////////////////////////////////////////// - /// RedmineClientConfiguration - /////////////////////////////////////////////////////////////////////////// - - @Override - public boolean isAnonymous() { - return anonymous; - } - - @Override - public void setAnonymous(boolean anonymous) { - this.anonymous = anonymous; - } - - /////////////////////////////////////////////////////////////////////////// /// RedmineVersionAware ///////////////////////////////////////////////////////////////////////////
participants (1)
-
tchemit@users.nuiton.org