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

sjaranowski 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 3dc8939  [MCHANGES-454] Deprecate Trac integration
3dc8939 is described below

commit 3dc893987dae854d1143706f1915e16b1837c892
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Sat Dec 7 13:03:06 2024 +0100

    [MCHANGES-454] Deprecate Trac integration
---
 .../apache/maven/plugins/changes/announcement/AnnouncementMojo.java   | 2 ++
 .../java/org/apache/maven/plugins/changes/trac/TracChangesReport.java | 2 ++
 src/site/apt/index.apt.vm                                             | 4 ++++
 3 files changed, 8 insertions(+)

diff --git 
a/src/main/java/org/apache/maven/plugins/changes/announcement/AnnouncementMojo.java
 
b/src/main/java/org/apache/maven/plugins/changes/announcement/AnnouncementMojo.java
index aa2e990..cb35490 100644
--- 
a/src/main/java/org/apache/maven/plugins/changes/announcement/AnnouncementMojo.java
+++ 
b/src/main/java/org/apache/maven/plugins/changes/announcement/AnnouncementMojo.java
@@ -477,6 +477,8 @@ public class AnnouncementMojo extends 
AbstractAnnouncementMojo {
             }
 
             if (issueManagementSystems.contains(TRAC)) {
+                getLog().warn(
+                                "Trac integration is prepared for removal in 
next major version due to lack of maintainers");
                 String message = ProjectUtils.validateIssueManagement(project, 
TRAC, "Trac announcement");
                 if (message == null) {
                     List<Release> tracReleases = getTracReleases();
diff --git 
a/src/main/java/org/apache/maven/plugins/changes/trac/TracChangesReport.java 
b/src/main/java/org/apache/maven/plugins/changes/trac/TracChangesReport.java
index 0add68d..92f2b16 100644
--- a/src/main/java/org/apache/maven/plugins/changes/trac/TracChangesReport.java
+++ b/src/main/java/org/apache/maven/plugins/changes/trac/TracChangesReport.java
@@ -41,7 +41,9 @@ import org.apache.xmlrpc.XmlRpcException;
  * @author Noriko Kinugasa
  * @version $Id$
  * @since 2.1
+ * @deprecated prepared for removal in next major version due to lack of 
maintainers
  */
+@Deprecated
 @Mojo(name = "trac-changes", threadSafe = true)
 public class TracChangesReport extends AbstractChangesReport {
 
diff --git a/src/site/apt/index.apt.vm b/src/site/apt/index.apt.vm
index 4c62cc7..1f47e16 100644
--- a/src/site/apt/index.apt.vm
+++ b/src/site/apt/index.apt.vm
@@ -105,6 +105,10 @@ ${project.name}
 | trac-report -> trac-changes     | trac-report.html -> trac-changes.html     |
 *---------------------------------+-------------------------------------------+
 
+** Deprecate Trac integration
+
+  <<Trac>> integration is prepared for removal in next major version due to 
lack of maintainers.
+
 * Examples
 
   To provide you with better understanding of some usages of the Changes 
Plugin,

Reply via email to