You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2024/11/22 14:44:55 UTC
(maven-changes-plugin) branch master updated: [MCHANGES-432] Remove deprecated parameter - escapeHtml from changes-report (#48)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-changes-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 003bdd5 [MCHANGES-432] Remove deprecated parameter - escapeHtml from changes-report (#48)
003bdd5 is described below
commit 003bdd5353a07368f301162e8280006c7de265df
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Fri Nov 22 14:44:49 2024 +0000
[MCHANGES-432] Remove deprecated parameter - escapeHtml from changes-report (#48)
---
.../apache/maven/plugins/changes/ChangesReport.java | 19 -------------------
1 file changed, 19 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..b43c229 100644
--- a/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
+++ b/src/main/java/org/apache/maven/plugins/changes/ChangesReport.java
@@ -72,23 +72,6 @@ public class ChangesReport extends AbstractChangesReport {
@Parameter(property = "changes.addActionDate", defaultValue = "false")
private boolean addActionDate;
- /**
- * Whether HTML code within an action should be escaped. By changing this to <code>false</code> you can restore the
- * behavior that was in version 2.2 of this plugin, allowing you to use HTML code to format the content of an
- * action.
- * <p>
- * <strong>Note:</strong> If you use HTML code in an action you need to place it inside a CDATA section.
- * </p>
- * <strong>Note:</strong> Putting any kind of markup inside a CDATA section might mess up the Changes Report or
- * other generated documents, such as PDFs, that are based on your <code>changes.xml</code> file if you are not
- * careful.
- *
- * @since 2.4
- * @deprecated using markup inside CDATA sections does not work for all output formats!
- */
- @Parameter
- private Boolean escapeHTML;
-
/**
* The directory for interpolated changes.xml.
*
@@ -228,8 +211,6 @@ public class ChangesReport extends AbstractChangesReport {
@Override
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",