mirror of https://github.com/apache/maven.git
o Fixed potential NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@803200 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
16b9331f92
commit
87704b69b8
|
@ -738,7 +738,8 @@ public class DefaultLifecycleExecutor
|
|||
{
|
||||
Xpp3Dom executionConfiguration = (Xpp3Dom) e.getConfiguration();
|
||||
|
||||
Xpp3Dom mojoConfiguration = new Xpp3Dom( executionConfiguration );
|
||||
Xpp3Dom mojoConfiguration =
|
||||
( executionConfiguration != null ) ? new Xpp3Dom( executionConfiguration ) : null;
|
||||
|
||||
mojoConfiguration = Xpp3Dom.mergeXpp3Dom( mojoExecution.getConfiguration(), mojoConfiguration );
|
||||
|
||||
|
|
Loading…
Reference in New Issue