Author: rfeng
Date: Wed Apr 22 21:36:47 2009
New Revision: 767674

URL: http://svn.apache.org/viewvc?rev=767674&view=rev
Log:
Add exclusion to avoid the conflicting jdk classes from felix

Modified:
    
tuscany/branches/sca-java-1.x/itest/osgi-contribution/contribution-test/pom.xml
    tuscany/branches/sca-java-1.x/itest/osgi-implementation/pom.xml

Modified: 
tuscany/branches/sca-java-1.x/itest/osgi-contribution/contribution-test/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/itest/osgi-contribution/contribution-test/pom.xml?rev=767674&r1=767673&r2=767674&view=diff
==============================================================================
--- 
tuscany/branches/sca-java-1.x/itest/osgi-contribution/contribution-test/pom.xml 
(original)
+++ 
tuscany/branches/sca-java-1.x/itest/osgi-contribution/contribution-test/pom.xml 
Wed Apr 22 21:36:47 2009
@@ -7,15 +7,15 @@
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
-    * 
+    *
     *   http://www.apache.org/licenses/LICENSE-2.0
-    * 
+    *
     * Unless required by applicable law or agreed to in writing,
     * software distributed under the License is distributed on an
     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
-    * under the License.    
+    * under the License.
 -->
 <project>
     <modelVersion>4.0.0</modelVersion>
@@ -66,6 +66,12 @@
             <groupId>org.apache.felix</groupId>
             <artifactId>org.apache.felix.main</artifactId>
             <version>1.0.4</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>org.osgi.foundation</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <dependency>

Modified: tuscany/branches/sca-java-1.x/itest/osgi-implementation/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.x/itest/osgi-implementation/pom.xml?rev=767674&r1=767673&r2=767674&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.x/itest/osgi-implementation/pom.xml (original)
+++ tuscany/branches/sca-java-1.x/itest/osgi-implementation/pom.xml Wed Apr 22 
21:36:47 2009
@@ -7,15 +7,15 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
- * under the License.    
+ * under the License.
 -->
 <project>
     <modelVersion>4.0.0</modelVersion>
@@ -34,6 +34,12 @@
             <groupId>org.apache.felix</groupId>
             <artifactId>org.apache.felix.main</artifactId>
             <version>1.0.4</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.apache.felix</groupId>
+                    <artifactId>org.osgi.foundation</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
 
         <dependency>
@@ -191,8 +197,8 @@
                             <artifactId>ant-trax</artifactId>
                             <version>1.6.5</version>
                         </dependency>
-                    </dependencies>                    
-            
+                    </dependencies>
+
                     <executions>
                         <execution>
                             <id>create-bundles</id>
@@ -1152,7 +1158,7 @@
                                         value="stockquote/StockQuote.class \
                                                     
osgi/properties/ds/StockQuoteFactory.xml \
                                                     
stockquote/OSGiStockQuoteComponentImpl.class" />
-              
+
                                 </ant>
                                 <ant antfile="./build-bundles.xml"
                                     target="create-bundles">
@@ -1172,7 +1178,7 @@
                                                helloworld/sdo/getGreetings* \
                                                
helloworld/sdo/HelloworldFactory.class \
                                                
helloworld/sdo/HelloWorldServiceComponent.class" />
-              
+
                                 </ant>
                                 <ant antfile="./build-bundles.xml"
                                     target="create-bundles">
@@ -1189,7 +1195,7 @@
                                                
osgi/sdo/ds/HelloWorldClient.xml \
                                                sdo/ds/helloworldsdo.composite \
                                                
helloworld/sdo/client/HelloWorldClientComponent.class" />
-              
+
                                 </ant>
                                 <ant antfile="./build-bundles.xml"
                                     target="update-bundle">
@@ -1207,7 +1213,7 @@
                                         value="HelloWorldClient.componentType \
                                                HelloWorldService.componentType 
\
                                                META-INF/sca-contribution.xml" 
/>
-              
+
                                 </ant>
 
                                 </tasks>


Reply via email to