[MNG-4163] Deprecate all methods in MavenProject that relate to reporting.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@824941 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-10-13 21:49:31 +00:00
parent d74d8f4a4d
commit d5ce7b9092
1 changed files with 6 additions and 0 deletions

View File

@ -1024,11 +1024,13 @@ public class MavenProject
getBuild().addTestResource( testResource ); getBuild().addTestResource( testResource );
} }
@Deprecated
public void setReporting( Reporting reporting ) public void setReporting( Reporting reporting )
{ {
getModel().setReporting( reporting ); getModel().setReporting( reporting );
} }
@Deprecated
public Reporting getReporting() public Reporting getReporting()
{ {
return getModel().getReporting(); return getModel().getReporting();
@ -1125,6 +1127,7 @@ public class MavenProject
return pluginArtifactMap; return pluginArtifactMap;
} }
@Deprecated
public void setReportArtifacts( Set<Artifact> reportArtifacts ) public void setReportArtifacts( Set<Artifact> reportArtifacts )
{ {
this.reportArtifacts = reportArtifacts; this.reportArtifacts = reportArtifacts;
@ -1132,6 +1135,7 @@ public class MavenProject
reportArtifactMap = null; reportArtifactMap = null;
} }
@Deprecated
public Set<Artifact> getReportArtifacts() public Set<Artifact> getReportArtifacts()
{ {
if ( reportArtifacts != null ) if ( reportArtifacts != null )
@ -1173,6 +1177,7 @@ public class MavenProject
return reportArtifacts; return reportArtifacts;
} }
@Deprecated
public Map<String, Artifact> getReportArtifactMap() public Map<String, Artifact> getReportArtifactMap()
{ {
if ( reportArtifactMap == null ) if ( reportArtifactMap == null )
@ -1260,6 +1265,7 @@ public class MavenProject
// Plugins // Plugins
// ---------------------------------------------------------------------- // ----------------------------------------------------------------------
@Deprecated
public List<ReportPlugin> getReportPlugins() public List<ReportPlugin> getReportPlugins()
{ {
if ( getModel().getReporting() == null ) if ( getModel().getReporting() == null )