[MCHANGES-398] link to developer (by column) broken
This closes #1
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 @@
*
* @since 2.4
*/
- @Parameter( defaultValue = "team-list.html" )
- private String teamlist;
+ @Parameter( defaultValue = "team.html" )
+ private String team;
/**
*/
@@ -328,7 +328,7 @@
report.setSystem( system );
- report.setTeamlist( teamlist );
+ report.setTeam( team );
report.setUrl( url );
@@ -487,9 +487,9 @@
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 @@
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 @@
*/
private String system;
- private String teamlist;
+ private String team;
private String url;
@@ -120,14 +120,14 @@
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 @@
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 @@
<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>