maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arami...@apache.org
Subject svn commit: r356704 - /maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
Date Wed, 14 Dec 2005 02:04:44 GMT
Author: aramirez
Date: Tue Dec 13 18:04:32 2005
New Revision: 356704

URL: http://svn.apache.org/viewcvs?rev=356704&view=rev
Log:
PR: MNG-1828
Submitted by: Jochen Wiedmann
Reviewed by: Allan Ramirez

Checks if parent definition is existing

Modified:
    maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java

Modified: maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java?rev=356704&r1=356703&r2=356704&view=diff
==============================================================================
--- maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
(original)
+++ maven/plugins/trunk/maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
Tue Dec 13 18:04:32 2005
@@ -212,7 +212,7 @@
 
                 Parent parent = model.getParent();
                 
-                if( parent.getGroupId() != null )
+                if( parent != null && parent.getGroupId() != null )
                 {
                     this.groupId = parent.getGroupId();
                 }



Mime
View raw message