Blob Blame History Raw
diff -Naur maven-bundle-plugin-2.3.5.orig/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java maven-bundle-plugin-2.3.5/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java
--- maven-bundle-plugin-2.3.5.orig/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java	2011-07-05 13:56:06.000000000 +0200
+++ maven-bundle-plugin-2.3.5/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java	2011-10-26 13:11:10.904188217 +0200
@@ -271,14 +271,14 @@
                     childProject.setDependencyArtifacts( childProject.createArtifacts( m_factory, null, null ) );
                 }
             }
-            catch ( ProjectBuildingException e )
-            {
-                throw new MojoExecutionException( "Unable to build project object for artifact " + artifact, e );
-            }
             catch ( InvalidDependencyVersionException e )
             {
                 throw new MojoExecutionException( "Invalid dependency version for artifact " + artifact );
             }
+            catch ( ProjectBuildingException e )
+            {
+                throw new MojoExecutionException( "Unable to build project object for artifact " + artifact, e );
+            }
 
             childProject.setArtifact( artifact );
             getLog().debug( "Child project artifact location: " + childProject.getArtifact().getFile() );