Skip to content

Commit

Permalink
Fixed #185: add parameter for dependency update report formats
Browse files Browse the repository at this point in the history
  • Loading branch information
sabaka committed Jul 13, 2017
1 parent 54dd631 commit 66cefaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public class DependencyUpdatesReport
/**
* Report formats (html and/or xml). HTML by default.
*
* @parameter expression="${versions.report.formats}"
*/
@Parameter( property = "dependencyUpdatesReportFormats", defaultValue = "html" )
private String[] formats = new String[] { "html" };

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.apache.maven.doxia.sink.Sink;
import org.apache.maven.model.Plugin;
import org.apache.maven.plugins.annotations.Mojo;
import org.apache.maven.plugins.annotations.Parameter;
import org.apache.maven.plugins.annotations.ResolutionScope;
import org.apache.maven.reporting.MavenReportException;
import org.codehaus.mojo.versions.utils.PluginComparator;
Expand All @@ -49,8 +50,8 @@ public class PluginUpdatesReport
/**
* Report formats (html and/or xml). HTML by default.
*
* @parameter
*/
@Parameter( property = "pluginUpdatesReportFormats", defaultValue = "html" )
private String[] formats = new String[] { "html" };

/**
Expand Down

0 comments on commit 66cefaa

Please sign in to comment.