You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2009/09/18 17:13:56 UTC

svn commit: r816665 - in /camel/trunk: examples/camel-example-reportincident/ examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ parent/ tests/camel-itest-osgi/

Author: davsclaus
Date: Fri Sep 18 15:13:56 2009
New Revision: 816665

URL: http://svn.apache.org/viewvc?rev=816665&view=rev
Log:
Removed mockmail-1.7 that causes maven 2.0.9 not being able to assemble a release.

Removed:
    camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesOSGiTest.java
Modified:
    camel/trunk/examples/camel-example-reportincident/pom.xml
    camel/trunk/parent/pom.xml
    camel/trunk/tests/camel-itest-osgi/pom.xml

Modified: camel/trunk/examples/camel-example-reportincident/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
==============================================================================
--- camel/trunk/examples/camel-example-reportincident/pom.xml (original)
+++ camel/trunk/examples/camel-example-reportincident/pom.xml Fri Sep 18 15:13:56 2009
@@ -32,19 +32,6 @@
     </description>
     <packaging>war</packaging>
     
-    <repositories>
-      <repository>
-        <id>biz.aQute</id>
-        <url>http://www.aqute.biz/repo</url>
-      </repository>
-    </repositories>
-    
-	<properties>
-		<pax-exam-version>1.0.0</pax-exam-version>
-		<pax-tiny-bundle-version>1.0.0</pax-tiny-bundle-version>
-	</properties>
-
-
 	<dependencies>
 		<dependency>
 			<groupId>org.apache.camel</groupId>
@@ -109,49 +96,15 @@
 			<artifactId>junit</artifactId>
 			<scope>test</scope>
 		</dependency>
-		
-		<dependency>
-			<groupId>org.ops4j.pax.exam</groupId>
-			<artifactId>pax-exam</artifactId>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.ops4j.pax.exam</groupId>
-			<artifactId>pax-exam-junit</artifactId>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.ops4j.pax.exam</groupId>
-			<artifactId>pax-exam-container-default</artifactId>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.ops4j.pax.exam</groupId>
-			<artifactId>pax-exam-junit-extender-impl</artifactId>
-			<scope>test</scope>
-		</dependency>
-	    <dependency>
-		   <groupId>org.ops4j.pax.swissbox</groupId>
-		   <artifactId>pax-swissbox-tinybundles</artifactId>
-		   <scope>test</scope>
+
+        <!-- unit testing mail using mock -->
+        <dependency>
+            <groupId>org.jvnet.mock-javamail</groupId>
+            <artifactId>mock-javamail</artifactId>
+            <version>1.7</version>
+            <scope>test</scope>
         </dependency>
-		<dependency>
-			<groupId>org.apache.camel.karaf</groupId>
-			<artifactId>features</artifactId>
-			<version>${version}</version>
-			<type>pom</type>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.camel</groupId>
-			<artifactId>camel-osgi</artifactId>
-			<scope>test</scope>
-		</dependency>
-	    <dependency>
-		    <groupId>org.apache.camel.tests</groupId>
-		    <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
-		    <scope>test</scope>
-	    </dependency>
+
 	</dependencies>
 
     <build>
@@ -219,16 +172,6 @@
                 </configuration>
             </plugin>
 
-	        <plugin>
-		         <artifactId>maven-surefire-plugin</artifactId>
-		         <configuration>
-			        <excludes>
-				      <!-- TODO: temporary disable unit test to let TC not hang -->
-				      <exclude>**/*OSGiTest.*</exclude>
-			        </excludes>
-		         </configuration>
-	         </plugin>
-
         </plugins>
     </build>
 

Modified: camel/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
==============================================================================
--- camel/trunk/parent/pom.xml (original)
+++ camel/trunk/parent/pom.xml Fri Sep 18 15:13:56 2009
@@ -508,11 +508,12 @@
         <version>${project.version}</version>
       </dependency>
       
+      <!-- this one fails on maven 2.0.9 when assembling
       <dependency>
         <groupId>org.apache.camel.tests</groupId>
         <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
         <version>${project.version}</version>
-      </dependency>
+      </dependency> -->
 
       <!-- testing jars -->
       <dependency>

Modified: camel/trunk/tests/camel-itest-osgi/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
==============================================================================
--- camel/trunk/tests/camel-itest-osgi/pom.xml (original)
+++ camel/trunk/tests/camel-itest-osgi/pom.xml Fri Sep 18 15:13:56 2009
@@ -104,11 +104,12 @@
       <artifactId>camel-jpa</artifactId>
       <scope>test</scope>
     </dependency>
+<!-- this one fails on maven 2.0.9 
 	<dependency>
 	  <groupId>org.apache.camel.tests</groupId>
 	  <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
 	  <scope>test</scope>
-    </dependency>
+    </dependency> -->
 	<dependency>
       <groupId>org.springframework</groupId>
       <artifactId>spring-context-support</artifactId>      



Re: svn commit: r816665 - in /camel/trunk: examples/camel-example-reportincident/ examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ parent/ tests/camel-itest-osgi/

Posted by Claus Ibsen <cl...@gmail.com>.
Just committed so trunk can build fully with maven 2.0.9 now.

The issue with the /tests/test-bundles/mock mail still exists so I
have disabled it in the pom.xml



On Sat, Sep 19, 2009 at 7:13 AM, Claus Ibsen <cl...@gmail.com> wrote:
> On Sat, Sep 19, 2009 at 3:02 AM, Willem Jiang <wi...@gmail.com> wrote:
>> Hi Claus
>>
>> Since Servicemix is plan to use the features file in Camel, we need to run
>> the OSGi tests to make sure the features file is working.
>>
>> Maybe we can move the OSGi tests to other place to avoid these kind of build
>> error.
>>
>
> Yeah move it to tests-osgi where the other osgi tests are.
>
> Also the report incident has a lengthy tutorial which do not have all
> the OSGi stuff for testing.
> All that will just confuse people when they read the tutorial and see
> the example code.
>
> So if you want to test some mail with osgi then build a test and put
> it with the other osgi tests.
> And try to make sure it works with maven 2.0.9 that we use for CI
> servers and release builds.
>
> Now we need to get it working asap again without the osgi test.
>
>
>> Willem
>>
>> davsclaus@apache.org wrote:
>>>
>>> Author: davsclaus
>>> Date: Fri Sep 18 15:13:56 2009
>>> New Revision: 816665
>>>
>>> URL: http://svn.apache.org/viewvc?rev=816665&view=rev
>>> Log:
>>> Removed mockmail-1.7 that causes maven 2.0.9 not being able to assemble a
>>> release.
>>>
>>> Removed:
>>>
>>>  camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesOSGiTest.java
>>> Modified:
>>>    camel/trunk/examples/camel-example-reportincident/pom.xml
>>>    camel/trunk/parent/pom.xml
>>>    camel/trunk/tests/camel-itest-osgi/pom.xml
>>>
>>> Modified: camel/trunk/examples/camel-example-reportincident/pom.xml
>>> URL:
>>> http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
>>>
>>> ==============================================================================
>>> --- camel/trunk/examples/camel-example-reportincident/pom.xml (original)
>>> +++ camel/trunk/examples/camel-example-reportincident/pom.xml Fri Sep 18
>>> 15:13:56 2009
>>> @@ -32,19 +32,6 @@
>>>     </description>
>>>     <packaging>war</packaging>
>>>     -    <repositories>
>>> -      <repository>
>>> -        <id>biz.aQute</id>
>>> -        <url>http://www.aqute.biz/repo</url>
>>> -      </repository>
>>> -    </repositories>
>>> -    -       <properties>
>>> -               <pax-exam-version>1.0.0</pax-exam-version>
>>> -               <pax-tiny-bundle-version>1.0.0</pax-tiny-bundle-version>
>>> -       </properties>
>>> -
>>> -
>>>        <dependencies>
>>>                <dependency>
>>>                        <groupId>org.apache.camel</groupId>
>>> @@ -109,49 +96,15 @@
>>>                        <artifactId>junit</artifactId>
>>>                        <scope>test</scope>
>>>                </dependency>
>>> -
>>> -               <dependency>
>>> -                       <groupId>org.ops4j.pax.exam</groupId>
>>> -                       <artifactId>pax-exam</artifactId>
>>> -                       <scope>test</scope>
>>> -               </dependency>
>>> -               <dependency>
>>> -                       <groupId>org.ops4j.pax.exam</groupId>
>>> -                       <artifactId>pax-exam-junit</artifactId>
>>> -                       <scope>test</scope>
>>> -               </dependency>
>>> -               <dependency>
>>> -                       <groupId>org.ops4j.pax.exam</groupId>
>>> -
>>> <artifactId>pax-exam-container-default</artifactId>
>>> -                       <scope>test</scope>
>>> -               </dependency>
>>> -               <dependency>
>>> -                       <groupId>org.ops4j.pax.exam</groupId>
>>> -
>>> <artifactId>pax-exam-junit-extender-impl</artifactId>
>>> -                       <scope>test</scope>
>>> -               </dependency>
>>> -           <dependency>
>>> -                  <groupId>org.ops4j.pax.swissbox</groupId>
>>> -                  <artifactId>pax-swissbox-tinybundles</artifactId>
>>> -                  <scope>test</scope>
>>> +
>>> +        <!-- unit testing mail using mock -->
>>> +        <dependency>
>>> +            <groupId>org.jvnet.mock-javamail</groupId>
>>> +            <artifactId>mock-javamail</artifactId>
>>> +            <version>1.7</version>
>>> +            <scope>test</scope>
>>>         </dependency>
>>> -               <dependency>
>>> -                       <groupId>org.apache.camel.karaf</groupId>
>>> -                       <artifactId>features</artifactId>
>>> -                       <version>${version}</version>
>>> -                       <type>pom</type>
>>> -                       <scope>test</scope>
>>> -               </dependency>
>>> -               <dependency>
>>> -                       <groupId>org.apache.camel</groupId>
>>> -                       <artifactId>camel-osgi</artifactId>
>>> -                       <scope>test</scope>
>>> -               </dependency>
>>> -           <dependency>
>>> -                   <groupId>org.apache.camel.tests</groupId>
>>> -
>>> <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
>>> -                   <scope>test</scope>
>>> -           </dependency>
>>> +
>>>        </dependencies>
>>>       <build>
>>> @@ -219,16 +172,6 @@
>>>                 </configuration>
>>>             </plugin>
>>>  -               <plugin>
>>> -                        <artifactId>maven-surefire-plugin</artifactId>
>>> -                        <configuration>
>>> -                               <excludes>
>>> -                                     <!-- TODO: temporary disable unit
>>> test to let TC not hang -->
>>> -                                     <exclude>**/*OSGiTest.*</exclude>
>>> -                               </excludes>
>>> -                        </configuration>
>>> -                </plugin>
>>> -
>>>         </plugins>
>>>     </build>
>>>
>>> Modified: camel/trunk/parent/pom.xml
>>> URL:
>>> http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
>>>
>>> ==============================================================================
>>> --- camel/trunk/parent/pom.xml (original)
>>> +++ camel/trunk/parent/pom.xml Fri Sep 18 15:13:56 2009
>>> @@ -508,11 +508,12 @@
>>>         <version>${project.version}</version>
>>>       </dependency>
>>>       +      <!-- this one fails on maven 2.0.9 when assembling
>>>       <dependency>
>>>         <groupId>org.apache.camel.tests</groupId>
>>>         <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
>>>         <version>${project.version}</version>
>>> -      </dependency>
>>> +      </dependency> -->
>>>         <!-- testing jars -->
>>>       <dependency>
>>>
>>> Modified: camel/trunk/tests/camel-itest-osgi/pom.xml
>>> URL:
>>> http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
>>>
>>> ==============================================================================
>>> --- camel/trunk/tests/camel-itest-osgi/pom.xml (original)
>>> +++ camel/trunk/tests/camel-itest-osgi/pom.xml Fri Sep 18 15:13:56 2009
>>> @@ -104,11 +104,12 @@
>>>       <artifactId>camel-jpa</artifactId>
>>>       <scope>test</scope>
>>>     </dependency>
>>> +<!-- this one fails on maven 2.0.9        <dependency>
>>>          <groupId>org.apache.camel.tests</groupId>
>>>          <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
>>>          <scope>test</scope>
>>> -    </dependency>
>>> +    </dependency> -->
>>>        <dependency>
>>>       <groupId>org.springframework</groupId>
>>>       <artifactId>spring-context-support</artifactId>
>>>
>>>
>>
>>
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: svn commit: r816665 - in /camel/trunk: examples/camel-example-reportincident/ examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ parent/ tests/camel-itest-osgi/

Posted by Claus Ibsen <cl...@gmail.com>.
On Sat, Sep 19, 2009 at 3:02 AM, Willem Jiang <wi...@gmail.com> wrote:
> Hi Claus
>
> Since Servicemix is plan to use the features file in Camel, we need to run
> the OSGi tests to make sure the features file is working.
>
> Maybe we can move the OSGi tests to other place to avoid these kind of build
> error.
>

Yeah move it to tests-osgi where the other osgi tests are.

Also the report incident has a lengthy tutorial which do not have all
the OSGi stuff for testing.
All that will just confuse people when they read the tutorial and see
the example code.

So if you want to test some mail with osgi then build a test and put
it with the other osgi tests.
And try to make sure it works with maven 2.0.9 that we use for CI
servers and release builds.

Now we need to get it working asap again without the osgi test.


> Willem
>
> davsclaus@apache.org wrote:
>>
>> Author: davsclaus
>> Date: Fri Sep 18 15:13:56 2009
>> New Revision: 816665
>>
>> URL: http://svn.apache.org/viewvc?rev=816665&view=rev
>> Log:
>> Removed mockmail-1.7 that causes maven 2.0.9 not being able to assemble a
>> release.
>>
>> Removed:
>>
>>  camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesOSGiTest.java
>> Modified:
>>    camel/trunk/examples/camel-example-reportincident/pom.xml
>>    camel/trunk/parent/pom.xml
>>    camel/trunk/tests/camel-itest-osgi/pom.xml
>>
>> Modified: camel/trunk/examples/camel-example-reportincident/pom.xml
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
>>
>> ==============================================================================
>> --- camel/trunk/examples/camel-example-reportincident/pom.xml (original)
>> +++ camel/trunk/examples/camel-example-reportincident/pom.xml Fri Sep 18
>> 15:13:56 2009
>> @@ -32,19 +32,6 @@
>>     </description>
>>     <packaging>war</packaging>
>>     -    <repositories>
>> -      <repository>
>> -        <id>biz.aQute</id>
>> -        <url>http://www.aqute.biz/repo</url>
>> -      </repository>
>> -    </repositories>
>> -    -       <properties>
>> -               <pax-exam-version>1.0.0</pax-exam-version>
>> -               <pax-tiny-bundle-version>1.0.0</pax-tiny-bundle-version>
>> -       </properties>
>> -
>> -
>>        <dependencies>
>>                <dependency>
>>                        <groupId>org.apache.camel</groupId>
>> @@ -109,49 +96,15 @@
>>                        <artifactId>junit</artifactId>
>>                        <scope>test</scope>
>>                </dependency>
>> -
>> -               <dependency>
>> -                       <groupId>org.ops4j.pax.exam</groupId>
>> -                       <artifactId>pax-exam</artifactId>
>> -                       <scope>test</scope>
>> -               </dependency>
>> -               <dependency>
>> -                       <groupId>org.ops4j.pax.exam</groupId>
>> -                       <artifactId>pax-exam-junit</artifactId>
>> -                       <scope>test</scope>
>> -               </dependency>
>> -               <dependency>
>> -                       <groupId>org.ops4j.pax.exam</groupId>
>> -
>> <artifactId>pax-exam-container-default</artifactId>
>> -                       <scope>test</scope>
>> -               </dependency>
>> -               <dependency>
>> -                       <groupId>org.ops4j.pax.exam</groupId>
>> -
>> <artifactId>pax-exam-junit-extender-impl</artifactId>
>> -                       <scope>test</scope>
>> -               </dependency>
>> -           <dependency>
>> -                  <groupId>org.ops4j.pax.swissbox</groupId>
>> -                  <artifactId>pax-swissbox-tinybundles</artifactId>
>> -                  <scope>test</scope>
>> +
>> +        <!-- unit testing mail using mock -->
>> +        <dependency>
>> +            <groupId>org.jvnet.mock-javamail</groupId>
>> +            <artifactId>mock-javamail</artifactId>
>> +            <version>1.7</version>
>> +            <scope>test</scope>
>>         </dependency>
>> -               <dependency>
>> -                       <groupId>org.apache.camel.karaf</groupId>
>> -                       <artifactId>features</artifactId>
>> -                       <version>${version}</version>
>> -                       <type>pom</type>
>> -                       <scope>test</scope>
>> -               </dependency>
>> -               <dependency>
>> -                       <groupId>org.apache.camel</groupId>
>> -                       <artifactId>camel-osgi</artifactId>
>> -                       <scope>test</scope>
>> -               </dependency>
>> -           <dependency>
>> -                   <groupId>org.apache.camel.tests</groupId>
>> -
>> <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
>> -                   <scope>test</scope>
>> -           </dependency>
>> +
>>        </dependencies>
>>       <build>
>> @@ -219,16 +172,6 @@
>>                 </configuration>
>>             </plugin>
>>  -               <plugin>
>> -                        <artifactId>maven-surefire-plugin</artifactId>
>> -                        <configuration>
>> -                               <excludes>
>> -                                     <!-- TODO: temporary disable unit
>> test to let TC not hang -->
>> -                                     <exclude>**/*OSGiTest.*</exclude>
>> -                               </excludes>
>> -                        </configuration>
>> -                </plugin>
>> -
>>         </plugins>
>>     </build>
>>
>> Modified: camel/trunk/parent/pom.xml
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
>>
>> ==============================================================================
>> --- camel/trunk/parent/pom.xml (original)
>> +++ camel/trunk/parent/pom.xml Fri Sep 18 15:13:56 2009
>> @@ -508,11 +508,12 @@
>>         <version>${project.version}</version>
>>       </dependency>
>>       +      <!-- this one fails on maven 2.0.9 when assembling
>>       <dependency>
>>         <groupId>org.apache.camel.tests</groupId>
>>         <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
>>         <version>${project.version}</version>
>> -      </dependency>
>> +      </dependency> -->
>>         <!-- testing jars -->
>>       <dependency>
>>
>> Modified: camel/trunk/tests/camel-itest-osgi/pom.xml
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
>>
>> ==============================================================================
>> --- camel/trunk/tests/camel-itest-osgi/pom.xml (original)
>> +++ camel/trunk/tests/camel-itest-osgi/pom.xml Fri Sep 18 15:13:56 2009
>> @@ -104,11 +104,12 @@
>>       <artifactId>camel-jpa</artifactId>
>>       <scope>test</scope>
>>     </dependency>
>> +<!-- this one fails on maven 2.0.9        <dependency>
>>          <groupId>org.apache.camel.tests</groupId>
>>          <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
>>          <scope>test</scope>
>> -    </dependency>
>> +    </dependency> -->
>>        <dependency>
>>       <groupId>org.springframework</groupId>
>>       <artifactId>spring-context-support</artifactId>
>>
>>
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Re: svn commit: r816665 - in /camel/trunk: examples/camel-example-reportincident/ examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ parent/ tests/camel-itest-osgi/

Posted by Willem Jiang <wi...@gmail.com>.
Hi Claus

Since Servicemix is plan to use the features file in Camel, we need to 
run the OSGi tests to make sure the features file is working.

Maybe we can move the OSGi tests to other place to avoid these kind of 
build error.

Willem

davsclaus@apache.org wrote:
> Author: davsclaus
> Date: Fri Sep 18 15:13:56 2009
> New Revision: 816665
> 
> URL: http://svn.apache.org/viewvc?rev=816665&view=rev
> Log:
> Removed mockmail-1.7 that causes maven 2.0.9 not being able to assemble a release.
> 
> Removed:
>     camel/trunk/examples/camel-example-reportincident/src/test/java/org/apache/camel/example/reportincident/ReportIncidentRoutesOSGiTest.java
> Modified:
>     camel/trunk/examples/camel-example-reportincident/pom.xml
>     camel/trunk/parent/pom.xml
>     camel/trunk/tests/camel-itest-osgi/pom.xml
> 
> Modified: camel/trunk/examples/camel-example-reportincident/pom.xml
> URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
> ==============================================================================
> --- camel/trunk/examples/camel-example-reportincident/pom.xml (original)
> +++ camel/trunk/examples/camel-example-reportincident/pom.xml Fri Sep 18 15:13:56 2009
> @@ -32,19 +32,6 @@
>      </description>
>      <packaging>war</packaging>
>      
> -    <repositories>
> -      <repository>
> -        <id>biz.aQute</id>
> -        <url>http://www.aqute.biz/repo</url>
> -      </repository>
> -    </repositories>
> -    
> -	<properties>
> -		<pax-exam-version>1.0.0</pax-exam-version>
> -		<pax-tiny-bundle-version>1.0.0</pax-tiny-bundle-version>
> -	</properties>
> -
> -
>  	<dependencies>
>  		<dependency>
>  			<groupId>org.apache.camel</groupId>
> @@ -109,49 +96,15 @@
>  			<artifactId>junit</artifactId>
>  			<scope>test</scope>
>  		</dependency>
> -		
> -		<dependency>
> -			<groupId>org.ops4j.pax.exam</groupId>
> -			<artifactId>pax-exam</artifactId>
> -			<scope>test</scope>
> -		</dependency>
> -		<dependency>
> -			<groupId>org.ops4j.pax.exam</groupId>
> -			<artifactId>pax-exam-junit</artifactId>
> -			<scope>test</scope>
> -		</dependency>
> -		<dependency>
> -			<groupId>org.ops4j.pax.exam</groupId>
> -			<artifactId>pax-exam-container-default</artifactId>
> -			<scope>test</scope>
> -		</dependency>
> -		<dependency>
> -			<groupId>org.ops4j.pax.exam</groupId>
> -			<artifactId>pax-exam-junit-extender-impl</artifactId>
> -			<scope>test</scope>
> -		</dependency>
> -	    <dependency>
> -		   <groupId>org.ops4j.pax.swissbox</groupId>
> -		   <artifactId>pax-swissbox-tinybundles</artifactId>
> -		   <scope>test</scope>
> +
> +        <!-- unit testing mail using mock -->
> +        <dependency>
> +            <groupId>org.jvnet.mock-javamail</groupId>
> +            <artifactId>mock-javamail</artifactId>
> +            <version>1.7</version>
> +            <scope>test</scope>
>          </dependency>
> -		<dependency>
> -			<groupId>org.apache.camel.karaf</groupId>
> -			<artifactId>features</artifactId>
> -			<version>${version}</version>
> -			<type>pom</type>
> -			<scope>test</scope>
> -		</dependency>
> -		<dependency>
> -			<groupId>org.apache.camel</groupId>
> -			<artifactId>camel-osgi</artifactId>
> -			<scope>test</scope>
> -		</dependency>
> -	    <dependency>
> -		    <groupId>org.apache.camel.tests</groupId>
> -		    <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
> -		    <scope>test</scope>
> -	    </dependency>
> +
>  	</dependencies>
>  
>      <build>
> @@ -219,16 +172,6 @@
>                  </configuration>
>              </plugin>
>  
> -	        <plugin>
> -		         <artifactId>maven-surefire-plugin</artifactId>
> -		         <configuration>
> -			        <excludes>
> -				      <!-- TODO: temporary disable unit test to let TC not hang -->
> -				      <exclude>**/*OSGiTest.*</exclude>
> -			        </excludes>
> -		         </configuration>
> -	         </plugin>
> -
>          </plugins>
>      </build>
>  
> 
> Modified: camel/trunk/parent/pom.xml
> URL: http://svn.apache.org/viewvc/camel/trunk/parent/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
> ==============================================================================
> --- camel/trunk/parent/pom.xml (original)
> +++ camel/trunk/parent/pom.xml Fri Sep 18 15:13:56 2009
> @@ -508,11 +508,12 @@
>          <version>${project.version}</version>
>        </dependency>
>        
> +      <!-- this one fails on maven 2.0.9 when assembling
>        <dependency>
>          <groupId>org.apache.camel.tests</groupId>
>          <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
>          <version>${project.version}</version>
> -      </dependency>
> +      </dependency> -->
>  
>        <!-- testing jars -->
>        <dependency>
> 
> Modified: camel/trunk/tests/camel-itest-osgi/pom.xml
> URL: http://svn.apache.org/viewvc/camel/trunk/tests/camel-itest-osgi/pom.xml?rev=816665&r1=816664&r2=816665&view=diff
> ==============================================================================
> --- camel/trunk/tests/camel-itest-osgi/pom.xml (original)
> +++ camel/trunk/tests/camel-itest-osgi/pom.xml Fri Sep 18 15:13:56 2009
> @@ -104,11 +104,12 @@
>        <artifactId>camel-jpa</artifactId>
>        <scope>test</scope>
>      </dependency>
> +<!-- this one fails on maven 2.0.9 
>  	<dependency>
>  	  <groupId>org.apache.camel.tests</groupId>
>  	  <artifactId>org.apache.camel.tests.mock-javamail_1.7</artifactId>
>  	  <scope>test</scope>
> -    </dependency>
> +    </dependency> -->
>  	<dependency>
>        <groupId>org.springframework</groupId>
>        <artifactId>spring-context-support</artifactId>      
> 
> 
>