Skip to content

Commit 4e28dbf

Browse files
author
TheSnoozer
committed
Merge pull request #180 from TheSnoozer/master
Fix for possible NPE as discussed in #153
2 parents c1443b5 + 94e2404 commit 4e28dbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/pl/project13/maven/git/GitCommitIdMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class GitCommitIdMojo extends AbstractMojo {
8282
/**
8383
* The maven project.
8484
*
85-
* @parameter property="project"
85+
* @parameter property="project" default-value="${project}"
8686
* @readonly
8787
*/
8888
@SuppressWarnings("UnusedDeclaration")
@@ -91,7 +91,7 @@ public class GitCommitIdMojo extends AbstractMojo {
9191
/**
9292
* Contains the full list of projects in the reactor.
9393
*
94-
* @parameter property="reactorProjects"
94+
* @parameter property="reactorProjects" default-value="${reactorProjects}"
9595
* @readonly
9696
*/
9797
@SuppressWarnings("UnusedDeclaration")

0 commit comments

Comments
 (0)