Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

Commit

Permalink
FileExecutor Context Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
edelbluth committed Oct 9, 2016
1 parent de28700 commit 103545b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
)
public class FileExecutionMojo extends AbstractMojoExecution {

@SuppressWarnings("CanBeFinal")
@Parameter(property = "baseDir", defaultValue = "${project.basedir}", required = true, readonly = true)
private String baseDir;

@SuppressWarnings("CanBeFinal")
@Parameter(property = "pythonFile", required = true, readonly = true)
private String pythonFile;
Expand All @@ -44,7 +48,7 @@ public void execute() throws MojoExecutionException, MojoFailureException {
JythonFileExcecutor.SCRIPT_FILE_INDEX,
pythonFile,
JythonFileExcecutor.class,
new AbstractMap.SimpleEntry<>(BASE_DIR_KEY, null)
new AbstractMap.SimpleEntry<>(BASE_DIR_KEY, baseDir)
);
}

Expand Down

0 comments on commit 103545b

Please sign in to comment.