This is an automated email from the ASF dual-hosted git repository.

elharo pushed a commit to branch MCHANGES-433
in repository https://gitbox.apache.org/repos/asf/maven-changes-plugin.git

commit ab941fda898ebfe43dd3912742748728e488a804
Author: Elliotte Rusty Harold <elh...@ibiblio.org>
AuthorDate: Fri Nov 22 07:06:42 2024 -0500

    [MCHANGES-433] Remove deprecated parameter - issueLinkTemplate from 
changes-report
---
 .../apache/maven/plugins/changes/ChangesReport.java | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java 
b/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
index 35e3ccc..72cf3ff 100644
--- a/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
+++ b/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
@@ -105,22 +105,6 @@ public class ChangesReport extends AbstractChangesReport {
     @Parameter(defaultValue = "false")
     private boolean filteringChanges;
 
-    /**
-     * Template string that is used to discover the URL to use to display an 
issue report. There are 2 template tokens
-     * you can use. <code>%URL%</code>: this is computed by getting the 
<code>&lt;issueManagement&gt;/&lt;url&gt;</code>
-     * value from the POM, and removing the last '/' and everything that comes 
after it. <code>%ISSUE%</code>: this is
-     * the issue number.
-     * <p>
-     * <strong>Note:</strong> In versions of this plugin prior to 2.0-beta-2 
this parameter was called
-     * <code>link_template</code>.
-     * </p>
-     *
-     * @since 2.0-beta-2
-     * @deprecated As of 2.1 use issueLinkTemplatePerSystem: this one will be 
with system default
-     */
-    @Parameter(property = "changes.issueLinkTemplate")
-    private String issueLinkTemplate;
-
     /**
      * 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-insensitive) identifier of the issue tracking 
system and its value gives the URL template.
@@ -230,11 +214,6 @@ public class ChangesReport extends AbstractChangesReport {
     public void executeReport(Locale locale) throws MavenReportException {
         failIfUsingDeprecatedParameter(
                 escapeHTML, "escapeHTML", "Using markup inside CDATA sections 
does not work for all output formats!");
-        failIfUsingDeprecatedParameter(
-                issueLinkTemplate,
-                "issueLinkTemplate",
-                "You must use 'issueLinkTemplatePerSystem' for the system '"
-                        + ChangesReportGenerator.DEFAULT_ISSUE_SYSTEM_KEY + "' 
instead.");
         Date now = new Date();
         SimpleDateFormat simpleDateFormat = new 
SimpleDateFormat(publishDateFormat, new Locale(publishDateLocale));
         Properties additionalProperties = new Properties();

Reply via email to