Index: maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java
===================================================================
--- maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java	(revision 553111)
+++ maven-deploy-plugin/src/main/java/org/apache/maven/plugin/deploy/DeployFileMojo.java	(working copy)
@@ -268,9 +268,13 @@
         {
             this.artifactId = model.getArtifactId();
         }
-        if ( this.version == null && model.getVersion() != null )
+        if ( this.version == null )
         {
-            this.version = model.getVersion();
+        	this.version = model.getVersion();
+        	if ( this.version == null && parent != null )
+        	{
+        		this.version = parent.getVersion();
+        	}
         }
         if ( this.packaging == null && model.getPackaging() != null )
         {
Index: maven-deploy-plugin/src/test/java/org/apache/maven/plugin/deploy/DeployFileMojoUnitTest.java
===================================================================
--- maven-deploy-plugin/src/test/java/org/apache/maven/plugin/deploy/DeployFileMojoUnitTest.java	(revision 553111)
+++ maven-deploy-plugin/src/test/java/org/apache/maven/plugin/deploy/DeployFileMojoUnitTest.java	(working copy)
@@ -93,10 +93,10 @@
         try {
             mojo.initProperties();
         } catch (MojoExecutionException expected) {
-            assertTrue( true ); // missing artifact version and packaging
+            assertTrue( true ); // missing artifactId and packaging
         }
 
-        checkMojoProperties("parentGroup", null, null, null);
+        checkMojoProperties("parentGroup", null, "parentVersion", null);
     }
 
     public void testProcessPomFromPomFileWithParent2() throws MojoExecutionException
@@ -107,10 +107,10 @@
         try {
             mojo.initProperties();
         } catch (MojoExecutionException expected) {
-            assertTrue( true ); // missing version and packaging
+            assertTrue( true ); // missing packaging
         }
 
-        checkMojoProperties("parentGroup", "artifact", null, null );
+        checkMojoProperties("parentGroup", "artifact", "parentVersion", null );
 
     }
 

