Skip to content

Commit

Permalink
Fixup c19d26d Fix getCurrentProjects #262
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Dec 15, 2020
1 parent c19d26d commit 3c968a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon/src/main/java/org/mvndaemon/mvnd/daemon/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ protected void onStartSession(MavenSession session) {
}

private MavenProject getCurrentProject(MavenSession mavenSession) {
// Workaround for https://issues.apache.org/jira/browse/MNG-6979
// MavenSession.getCurrentProject() does not return the correct value in some cases
String executionRootDirectory = mavenSession.getExecutionRootDirectory();
if (executionRootDirectory == null) {
Expand Down

0 comments on commit 3c968a5

Please sign in to comment.