cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1401714 - in /cxf/dosgi/trunk: distribution/multi-bundle/pom.xml systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/MultiBundleTools.java
Date Wed, 24 Oct 2012 14:48:39 GMT
Author: cschneider
Date: Wed Oct 24 14:48:39 2012
New Revision: 1401714

URL: http://svn.apache.org/viewvc?rev=1401714&view=rev
Log:
Some error reporting and a warning if the version of the pom is missing

Modified:
    cxf/dosgi/trunk/distribution/multi-bundle/pom.xml
    cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/MultiBundleTools.java

Modified: cxf/dosgi/trunk/distribution/multi-bundle/pom.xml
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/distribution/multi-bundle/pom.xml?rev=1401714&r1=1401713&r2=1401714&view=diff
==============================================================================
--- cxf/dosgi/trunk/distribution/multi-bundle/pom.xml (original)
+++ cxf/dosgi/trunk/distribution/multi-bundle/pom.xml Wed Oct 24 14:48:39 2012
@@ -19,8 +19,8 @@
 -->
 
   <modelVersion>4.0.0</modelVersion>
-  <groupId>org.apache.cxf.dosgi</groupId>
   <artifactId>cxf-dosgi-ri-multibundle-distribution</artifactId>
+  <!-- Do not delete version. It is read by the systests (MultiBundleTools) -->
   <version>1.4-SNAPSHOT</version>
   <name>Distributed OSGI Multi-Bundle Distribution</name>
   <url>http://cxf.apache.org</url>

Modified: cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/MultiBundleTools.java
URL: http://svn.apache.org/viewvc/cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/MultiBundleTools.java?rev=1401714&r1=1401713&r2=1401714&view=diff
==============================================================================
--- cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/MultiBundleTools.java
(original)
+++ cxf/dosgi/trunk/systests2/multi-bundle/src/test/java/org/apache/cxf/dosgi/systests2/multi/MultiBundleTools.java
Wed Oct 24 14:48:39 2012
@@ -97,6 +97,9 @@ public class MultiBundleTools {
                 break;
             }
         }
+        if (pomVersion == null) {
+            throw new RuntimeException("Failed to retrieved version from pom file " + mdPom);
+        }
         return pomVersion;
     }
 }



Mime
View raw message