FELIX-3188: reorder catch block, since InvalidDependencyVersionException is a subclass of ProjectBuildingException in recent builds of maven

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1189167 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java
index b27da32..8dfa153 100644
--- a/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java
+++ b/bundleplugin/src/main/java/org/apache/felix/bundleplugin/BundleAllPlugin.java
@@ -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() );