Author: sully6768
Date: Mon Oct  1 19:35:08 2012
New Revision: 1392554

URL: http://svn.apache.org/viewvc?rev=1392554&view=rev
Log:
Fixed NoClassDefFoundError for unit tests

Modified:
    camel/trunk/components/camel-fop/pom.xml

Modified: camel/trunk/components/camel-fop/pom.xml
URL: 
http://svn.apache.org/viewvc/camel/trunk/components/camel-fop/pom.xml?rev=1392554&r1=1392553&r2=1392554&view=diff
==============================================================================
--- camel/trunk/components/camel-fop/pom.xml (original)
+++ camel/trunk/components/camel-fop/pom.xml Mon Oct  1 19:35:08 2012
@@ -15,7 +15,10 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+<project
+    xmlns="http://maven.apache.org/POM/4.0.0";
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
@@ -43,7 +46,7 @@
             <artifactId>fop</artifactId>
             <version>${fop-version}</version>
         </dependency>
-
+        
         <!-- for testing -->
         <dependency>
             <groupId>org.apache.camel</groupId>
@@ -56,6 +59,17 @@
             <version>1.6.0</version>
             <scope>test</scope>
         </dependency>
+        
+        <!-- Xalan Serializer dependencies are not  -->
+        <!-- correctly imported from batik for tests  -->
+        <!-- and as such they will fail. Must add to  -->
+        <!-- the test scope. -->
+        <dependency>
+            <groupId>xalan</groupId>
+            <artifactId>serializer</artifactId>
+            <version>${xalan-version}</version>
+            <scope>test</scope>
+        </dependency>
 
         <!-- logging -->
         <dependency>


Reply via email to