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

michaelo 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 21d9a09  [MCHANGES-398] link to developer (by column) broken
21d9a09 is described below

commit 21d9a0996558a3a95af925d4e7f7a931af4d8f80
Author: Nyamiou <[email protected]>
AuthorDate: Mon Dec 30 19:43:34 2019 +0100

    [MCHANGES-398] link to developer (by column) broken
    
    This closes #1
---
 .../org/apache/maven/plugins/changes/ChangesMojo.java    | 10 +++++-----
 .../maven/plugins/changes/ChangesReportGenerator.java    | 16 ++++++++--------
 src/main/mdo/changes.mdo                                 |  2 +-
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/src/main/java/org/apache/maven/plugins/changes/ChangesMojo.java 
b/src/main/java/org/apache/maven/plugins/changes/ChangesMojo.java
index 8c826e2..3f0cfa1 100644
--- a/src/main/java/org/apache/maven/plugins/changes/ChangesMojo.java
+++ b/src/main/java/org/apache/maven/plugins/changes/ChangesMojo.java
@@ -191,8 +191,8 @@ public class ChangesMojo
      *
      * @since 2.4
      */
-    @Parameter( defaultValue = "team-list.html" )
-    private String teamlist;
+    @Parameter( defaultValue = "team.html" )
+    private String team;
 
     /**
      */
@@ -328,7 +328,7 @@ public class ChangesMojo
 
         report.setSystem( system );
 
-        report.setTeamlist( teamlist );
+        report.setTeam( team );
 
         report.setUrl( url );
 
@@ -487,9 +487,9 @@ public class ChangesMojo
         return ResourceBundle.getBundle( "changes-report", locale, 
this.getClass().getClassLoader() );
     }
 
-    protected String getTeamlist()
+    protected String getTeam()
     {
-        return teamlist;
+        return team;
     }
 
     private void logIssueLinkTemplatePerSystem( Map<String, String> 
issueLinkTemplatePerSystem )
diff --git 
a/src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java 
b/src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java
index ef36288..233679c 100644
--- a/src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java
+++ b/src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java
@@ -60,7 +60,7 @@ public class ChangesReportGenerator
 
     static final String DEFAULT_ISSUE_SYSTEM_KEY = "default";
 
-    private static final String NO_TEAMLIST = "none";
+    private static final String NO_TEAM = "none";
 
     /**
      * The issue management system to use, for actions that do not specify a 
system.
@@ -69,7 +69,7 @@ public class ChangesReportGenerator
      */
     private String system;
 
-    private String teamlist;
+    private String team;
 
     private String url;
 
@@ -120,14 +120,14 @@ public class ChangesReportGenerator
         this.system = system;
     }
 
-    public void setTeamlist( final String teamlist )
+    public void setTeam( final String team )
     {
-        this.teamlist = teamlist;
+        this.team = team;
     }
 
-    public String getTeamlist()
+    public String getTeam()
     {
-        return teamlist;
+        return team;
     }
 
     public void setUrl( String url )
@@ -287,13 +287,13 @@ public class ChangesReportGenerator
 
         sink.tableCell_();
 
-        if ( NO_TEAMLIST.equals( teamlist ) )
+        if ( NO_TEAM.equals( team ) )
         {
             sinkCell( sink, action.getDev() );
         }
         else
         {
-            sinkCellLink( sink, action.getDev(), teamlist + "#" + 
action.getDev() );
+            sinkCellLink( sink, action.getDev(), team + "#" + action.getDev() 
);
         }
 
         if ( this.isAddActionDate() )
diff --git a/src/main/mdo/changes.mdo b/src/main/mdo/changes.mdo
index e6120a5..7ce3fef 100644
--- a/src/main/mdo/changes.mdo
+++ b/src/main/mdo/changes.mdo
@@ -271,7 +271,7 @@ under the License.
           <description>
             <![CDATA[
             Name of developer who committed the change.
-            <p>This can be either the id of the developer, as specified in the 
developers section of the pom.xml file, or the name of the developer. If you 
generate a changes report and specify the id of the developer, a link is 
created to that developer in the team-list.html page.</p>
+            <p>This can be either the id of the developer, as specified in the 
developers section of the pom.xml file, or the name of the developer. If you 
generate a changes report and specify the id of the developer, a link is 
created to that developer in the team.html page.</p>
             ]]>
           </description>
         </field>

Reply via email to