mirror of https://github.com/apache/maven.git
Fix: MavenProject.reportArtifacts was always returning null.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@693687 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b96692a93
commit
9d4416df7f
|
@ -1349,7 +1349,7 @@ public class MavenProject
|
||||||
|
|
||||||
public Set getReportArtifacts()
|
public Set getReportArtifacts()
|
||||||
{
|
{
|
||||||
Set pluginArtifacts = new HashSet();
|
Set reportArtifacts = new HashSet();
|
||||||
List reports = getReportPlugins();
|
List reports = getReportPlugins();
|
||||||
if ( reports != null )
|
if ( reports != null )
|
||||||
{
|
{
|
||||||
|
@ -1380,7 +1380,7 @@ public class MavenProject
|
||||||
|
|
||||||
if ( artifact != null )
|
if ( artifact != null )
|
||||||
{
|
{
|
||||||
pluginArtifacts.add( artifact );
|
reportArtifacts.add( artifact );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue