Skip to content

Commit

Permalink
Provide the Mojos logger as variable in the Interpreter context (#72)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Seifert <stefanseifert@users.noreply.github.com>
  • Loading branch information
MeyerNils and stefanseifert authored Jan 4, 2022
1 parent bda39bc commit b4e5d5a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
* <li><code>project</code>: the actual Maven project,</li>
* <li><code>session</code>: the executing <code>MavenSession</code>,</li>
* <li><code>settings</code>: the executing <code>Settings</code>.</li>
* <li><code>log</code>: the logger of the Mojo (see {@link org.apache.maven.plugin.AbstractMojo#getLog()}).</li>
* </ul>
*
* @author Hervé Boutemy
Expand Down Expand Up @@ -84,6 +85,7 @@ public void execute()
set( interpreter, "project", getProject() );
set( interpreter, "session", mavenSession );
set( interpreter, "settings", settings );
set( interpreter, "log", getLog() );

try
{
Expand Down

0 comments on commit b4e5d5a

Please sign in to comment.