This is an automated email from the ASF dual-hosted git repository.

alien11689 pushed a commit to branch 
ARIES-2177-stop-using-aries-application-in-samples
in repository https://gitbox.apache.org/repos/asf/aries.git

commit c4c3c8eb38b08fb85970fdf5bbf7d12e879045da
Author: Dominik Przybysz <[email protected]>
AuthorDate: Fri Apr 18 22:31:05 2025 +0200

    ARIES-2177: Remove twitter sample as purely focus only on installing 
application
---
 samples/pom.xml                                    |   1 -
 samples/twitter/LICENSE                            | 203 ---------------
 samples/twitter/NOTICE                             |   2 -
 samples/twitter/pom.xml                            |  64 -----
 samples/twitter/twitter-bundle/pom.xml             |  70 -----
 .../apache/aries/sample/twitter/TwitterQuery.java  |  60 -----
 samples/twitter/twitter-eba/pom.xml                |  60 -----
 samples/twitter/twitter-itests/pom.xml             | 285 ---------------------
 .../obr/twitter/TwitterRepository.xml              | 151 -----------
 .../aries/sample/twitter/itest/TwitterTest.java    | 202 ---------------
 samples/twitter/twitter-twitter4j/pom.xml          |  60 -----
 11 files changed, 1158 deletions(-)

diff --git a/samples/pom.xml b/samples/pom.xml
index 96cdd2a59..86f85cf16 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -576,7 +576,6 @@
         <module>ariestrader</module>
         <module>blog</module>
         <module>blueprint</module>
-        <module>twitter</module>
     </modules>
 
 </project>
diff --git a/samples/twitter/LICENSE b/samples/twitter/LICENSE
deleted file mode 100644
index 6b0b1270f..000000000
--- a/samples/twitter/LICENSE
+++ /dev/null
@@ -1,203 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed 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.
-
diff --git a/samples/twitter/NOTICE b/samples/twitter/NOTICE
deleted file mode 100644
index 3f59805ce..000000000
--- a/samples/twitter/NOTICE
+++ /dev/null
@@ -1,2 +0,0 @@
-This product includes software developed by
-The Apache Software Foundation (http://www.apache.org/).
diff --git a/samples/twitter/pom.xml b/samples/twitter/pom.xml
deleted file mode 100644
index 6abad1b40..000000000
--- a/samples/twitter/pom.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file 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.
--->
-<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>
-        <groupId>org.apache.aries.samples</groupId>
-        <artifactId>samples</artifactId>
-        <version>1.0.1-SNAPSHOT</version>
-    </parent>
-
-    <groupId>org.apache.aries.samples.twitter</groupId>
-    <name>Apache Aries Twitter sample</name>
-    <artifactId>twitter</artifactId>
-    <packaging>pom</packaging>
-
-    <properties>
-        <aries.skip.version.check>true</aries.skip.version.check>
-    </properties>
-
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>org.apache.aries.samples.twitter</groupId>
-                
<artifactId>org.apache.aries.samples.twitter.twitter4j</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.aries.samples.twitter</groupId>
-                
<artifactId>org.apache.aries.samples.twitter.bundle</artifactId>
-                <version>${project.version}</version>
-            </dependency>
-            <dependency>
-                <groupId>org.apache.aries.samples.twitter</groupId>
-                <artifactId>org.apache.aries.samples.twitter.eba</artifactId>
-                <version>${project.version}</version>
-                <type>eba</type>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
-    <modules>
-        <module>twitter-twitter4j</module>
-        <module>twitter-bundle</module>
-        <module>twitter-eba</module>
-        <module>twitter-itests</module>
-    </modules>
-
-</project>
diff --git a/samples/twitter/twitter-bundle/pom.xml 
b/samples/twitter/twitter-bundle/pom.xml
deleted file mode 100644
index 722b6d543..000000000
--- a/samples/twitter/twitter-bundle/pom.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file 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.
--->
-<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>
-        <groupId>org.apache.aries.samples.twitter</groupId>
-        <artifactId>twitter</artifactId>
-        <version>1.0.1-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>org.apache.aries.samples.twitter.bundle</artifactId>
-    <name>Apache Aries Twitter bundle</name>
-    <packaging>bundle</packaging>
-
-    <properties>
-        <aries.osgi.import.pkg>
-            twitter4j;version="[2.0.8,2.1.0)",
-            *
-        </aries.osgi.import.pkg>
-    </properties>
-    <dependencies>
-        <dependency>
-            <groupId>net.homeip.yusuke</groupId>
-            <artifactId>twitter4j</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>commons-lang</groupId>
-            <artifactId>commons-lang</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>osgi.core</artifactId>
-            <scope>provided</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <configuration>
-                    <instructions>
-                        
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
-                        
<Bundle-Activator>org.apache.aries.sample.twitter.TwitterQuery</Bundle-Activator>
-                        
<Private-Package>org.apache.aries.sample.twitter</Private-Package>
-                        
<Import-Package>org.osgi.framework;version="[1.5,2)",*</Import-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
-       
diff --git 
a/samples/twitter/twitter-bundle/src/main/java/org/apache/aries/sample/twitter/TwitterQuery.java
 
b/samples/twitter/twitter-bundle/src/main/java/org/apache/aries/sample/twitter/TwitterQuery.java
deleted file mode 100755
index fa310ba9f..000000000
--- 
a/samples/twitter/twitter-bundle/src/main/java/org/apache/aries/sample/twitter/TwitterQuery.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * 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.
- */
-package org.apache.aries.sample.twitter;
-import java.util.List;
-
-import org.osgi.framework.BundleActivator;
-import org.osgi.framework.BundleContext;
-
-import twitter4j.Query;
-import twitter4j.QueryResult;
-import twitter4j.Tweet;
-import twitter4j.Twitter;
-import org.apache.commons.lang.StringEscapeUtils;
-
-public class TwitterQuery implements BundleActivator {
-
-       /*
-        * (non-Javadoc)
-        * @see 
org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
-        */
-       public void start(BundleContext context) throws Exception {
-               Twitter twitter = new Twitter();
-               Query query = new Query("from:theasf");
-               
-               try {
-                       QueryResult result = twitter.search(query);
-                   List<Tweet> tweets = result.getTweets(); 
-                   System.out.println("hits:" + tweets.size());
-                   for (Tweet tweet : tweets) {
-                       System.out.println(tweet.getFromUser() + ":" + 
StringEscapeUtils.unescapeXml(tweet.getText()));
-                   }
-               } catch (Exception e) {
-                       e.printStackTrace();
-               }
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see 
org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
-        */
-       public void stop(BundleContext context) throws Exception {
-       }
-
-}
diff --git a/samples/twitter/twitter-eba/pom.xml 
b/samples/twitter/twitter-eba/pom.xml
deleted file mode 100644
index cd4844124..000000000
--- a/samples/twitter/twitter-eba/pom.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements.  See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership.  The ASF licenses this file
-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.
--->
-
-<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>
-        <groupId>org.apache.aries.samples.twitter</groupId>
-        <artifactId>twitter</artifactId>
-        <version>1.0.1-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>org.apache.aries.samples.twitter.eba</artifactId>
-    <name>Apache Aries Twitter EBA</name>
-    <description>This is the module that constructs the Twitter application 
from the Twitter bundle</description>
-    <packaging>eba</packaging>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.aries.samples.twitter</groupId>
-            <artifactId>org.apache.aries.samples.twitter.bundle</artifactId>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.aries</groupId>
-                <artifactId>eba-maven-plugin</artifactId>
-                <version>${eba-maven-plugin.version}</version>
-                <extensions>true</extensions>
-                <configuration>
-                    <generateManifest>true</generateManifest>
-                    <instructions>
-                        
<Application-SymbolicName>${project.artifactId}</Application-SymbolicName>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/samples/twitter/twitter-itests/pom.xml 
b/samples/twitter/twitter-itests/pom.xml
deleted file mode 100644
index 1ad02c872..000000000
--- a/samples/twitter/twitter-itests/pom.xml
+++ /dev/null
@@ -1,285 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- 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.
--->
-<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";>
-    <parent>
-        <artifactId>twitter</artifactId>
-        <groupId>org.apache.aries.samples.twitter</groupId>
-        <version>1.0.1-SNAPSHOT</version>
-    </parent>
-
-    <modelVersion>4.0.0</modelVersion>
-    <artifactId>org.apache.aries.samples.twitter.itests</artifactId>
-    <packaging>jar</packaging>
-    <name>Apache Aries Twitter sample integration tests</name>
-    <description>
-        Integration tests for the Twitter sample
-    </description>
-
-    <properties>
-        <depends-maven-plugin.version>1.5.0</depends-maven-plugin.version>
-        <javax.inject.version>1</javax.inject.version>
-        <logback.version>1.5.18</logback.version>
-        <org.apache.aries.proxy.version>1.1.0</org.apache.aries.proxy.version>
-        
<org.apache.aries.testsupport.unit.version>2.0.0-SNAPSHOT</org.apache.aries.testsupport.unit.version>
-        
<org.apache.felix.bundlerepository.version>1.6.6</org.apache.felix.bundlerepository.version>
-        <org.eclipse.osgi.version>3.23.0</org.eclipse.osgi.version>
-        <pax-exam.version>4.13.5</pax-exam.version>
-        <pax-logging.version>1.12.12</pax-logging.version>
-        <pax-tinybundles.version>2.1.1</pax-tinybundles.version>
-        <pax-url.version>2.6.16</pax-url.version>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.eclipse.platform</groupId>
-            <artifactId>org.eclipse.osgi</artifactId>
-            <version>${org.eclipse.osgi.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries</groupId>
-            <artifactId>org.apache.aries.util</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.blueprint</groupId>
-            <artifactId>org.apache.aries.blueprint</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.proxy</groupId>
-            <artifactId>org.apache.aries.proxy</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ow2.asm</groupId>
-            <artifactId>asm</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ow2.asm</groupId>
-            <artifactId>asm-commons</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ow2.asm</groupId>
-            <artifactId>asm-tree</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ow2.asm</groupId>
-            <artifactId>asm-analysis</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.felix</groupId>
-            <artifactId>org.apache.felix.bundlerepository</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.osgi</groupId>
-            <artifactId>osgi.cmpn</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            <artifactId>org.apache.aries.application.utils</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>javax.inject</groupId>
-            <artifactId>javax.inject</artifactId>
-            <version>${javax.inject.version}</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            
<artifactId>org.apache.aries.application.runtime.itest.interfaces</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            <artifactId>org.apache.aries.application.management</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            
<artifactId>org.apache.aries.application.runtime.framework</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            
<artifactId>org.apache.aries.application.runtime.framework.management</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            
<artifactId>org.apache.aries.application.runtime.repository</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            
<artifactId>org.apache.aries.application.runtime.isolated</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            <artifactId>org.apache.aries.application.runtime</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            <artifactId>org.apache.aries.application.resolver.obr</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            <artifactId>org.apache.aries.application.resolver.noop</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.application</groupId>
-            
<artifactId>org.apache.aries.application.default.local.platform</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.transaction</groupId>
-            <artifactId>org.apache.aries.transaction.blueprint</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.geronimo.specs</groupId>
-            <artifactId>geronimo-jta_1.1_spec</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.samples.twitter</groupId>
-            <artifactId>org.apache.aries.samples.twitter.eba</artifactId>
-            <scope>test</scope>
-            <type>eba</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.samples.twitter</groupId>
-            <artifactId>org.apache.aries.samples.twitter.twitter4j</artifactId>
-            <exclusions>
-                <exclusion>
-                    <artifactId>nlog4j</artifactId>
-                    <groupId>org.slf4j</groupId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.aries.samples.twitter</groupId>
-            <artifactId>org.apache.aries.samples.twitter.bundle</artifactId>
-        </dependency>
-
-        <!-- pax exam -->
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.ops4j.pax.exam</groupId>
-            <artifactId>pax-exam</artifactId>
-            <version>${pax-exam.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ops4j.pax.exam</groupId>
-            <artifactId>pax-exam-container-native</artifactId>
-            <version>${pax-exam.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ops4j.pax.exam</groupId>
-            <artifactId>pax-exam-junit4</artifactId>
-            <version>${pax-exam.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ops4j.pax.exam</groupId>
-            <artifactId>pax-exam-link-mvn</artifactId>
-            <version>${pax-exam.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ops4j.pax.url</groupId>
-            <artifactId>pax-url-aether</artifactId>
-            <version>${pax-url.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>ch.qos.logback</groupId>
-            <artifactId>logback-core</artifactId>
-            <version>${logback.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>ch.qos.logback</groupId>
-            <artifactId>logback-classic</artifactId>
-            <version>${logback.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ops4j.pax.tinybundles</groupId>
-            <artifactId>tinybundles</artifactId>
-            <version>${pax-tinybundles.version}</version>
-            <exclusions>
-                <exclusion>
-                    <artifactId>osgi.core</artifactId>
-                    <groupId>org.osgi</groupId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ops4j.pax.logging</groupId>
-            <artifactId>pax-logging-api</artifactId>
-            <version>${pax-logging.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.ops4j.pax.logging</groupId>
-            <artifactId>pax-logging-log4j2</artifactId>
-            <version>${pax-logging.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.servicemix.tooling</groupId>
-                <artifactId>depends-maven-plugin</artifactId>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <configuration>
-                    <forkCount>1</forkCount>
-                    <reuseForks>false</reuseForks>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git 
a/samples/twitter/twitter-itests/src/test/filtered-resources/obr/twitter/TwitterRepository.xml
 
b/samples/twitter/twitter-itests/src/test/filtered-resources/obr/twitter/TwitterRepository.xml
deleted file mode 100644
index ff9a14fc5..000000000
--- 
a/samples/twitter/twitter-itests/src/test/filtered-resources/obr/twitter/TwitterRepository.xml
+++ /dev/null
@@ -1,151 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<?xml-stylesheet type='text/xsl' href='http://www2.osgi.org/www/obr2html.xsl'?>
-
-<repository lastmodified='20101105121848.125' name='Untitled'>
-  <resource id='org.apache.commons.lang/${commons-lang.version}' 
presentationname='Commons Lang' symbolicname='org.apache.commons.lang' 
uri='commons.lang.location' version='${commons-lang.version}'>
-    <description>
-      Commons Lang, a package of Java utility classes for the   
-           classes that are in java.lang's hierarchy, or are considered
-       to be so        standard as to justify existence in java.lang.
-    </description>
-    <size>
-      261809
-    </size>
-    <license>
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-    </license>
-    <documentation>
-      http://commons.apache.org/lang/
-    </documentation>
-    <capability name='bundle'>
-      <p n='manifestversion' v='2'/>
-      <p n='presentationname' v='Commons Lang'/>
-      <p n='symbolicname' v='org.apache.commons.lang'/>
-      <p n='version' t='version' v='${commons-lang.version}'/>
-    </capability>
-    <capability name='package'>
-      <p n='package' v='org.apache.commons.lang.math'/>
-      <p n='version' t='version' v='${commons-lang.version}'/>
-    </capability>
-    <capability name='package'>
-      <p n='package' v='org.apache.commons.lang.enums'/>
-      <p n='version' t='version' v='${commons-lang.version}'/>
-    </capability>
-    <capability name='package'>
-      <p n='package' v='org.apache.commons.lang.builder'/>
-      <p n='version' t='version' v='${commons-lang.version}'/>
-    </capability>
-    <capability name='package'>
-      <p n='package' v='org.apache.commons.lang.exception'/>
-      <p n='version' t='version' v='${commons-lang.version}'/>
-    </capability>
-    <capability name='package'>
-      <p n='package' v='org.apache.commons.lang.enum'/>
-      <p n='version' t='version' v='${commons-lang.version}'/>
-    </capability>
-    <capability name='package'>
-      <p n='package' v='org.apache.commons.lang.mutable'/>
-      <p n='version' t='version' v='${commons-lang.version}'/>
-    </capability>
-    <capability name='package'>
-      <p n='package' v='org.apache.commons.lang.text'/>
-      <p n='version' t='version' v='${commons-lang.version}'/>
-    </capability>
-    <capability name='package'>
-      <p n='package' v='org.apache.commons.lang.time'/>
-      <p n='version' t='version' v='${commons-lang.version}'/>
-    </capability>
-    <capability name='package'>
-      <p n='package' v='org.apache.commons.lang'/>
-      <p n='version' t='version' v='${commons-lang.version}'/>
-    </capability>
-    <require extend='false' 
filter='(&amp;(package=org.apache.commons.lang)(version&gt;=${commons-lang.version}))'
 multiple='false' name='package' optional='false'>
-      Import package org.apache.commons.lang ;version=${commons-lang.version}
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.apache.commons.lang.builder)(version&gt;=${commons-lang.version}))'
 multiple='false' name='package' optional='false'>
-      Import package org.apache.commons.lang.builder 
;version=${commons-lang.version}
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.apache.commons.lang.enum)(version&gt;=${commons-lang.version}))'
 multiple='false' name='package' optional='false'>
-      Import package org.apache.commons.lang.enum 
;version=${commons-lang.version}
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.apache.commons.lang.enums)(version&gt;=${commons-lang.version}))'
 multiple='false' name='package' optional='false'>
-      Import package org.apache.commons.lang.enums 
;version=${commons-lang.version}
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.apache.commons.lang.exception)(version&gt;=${commons-lang.version}))'
 multiple='false' name='package' optional='false'>
-      Import package org.apache.commons.lang.exception 
;version=${commons-lang.version}
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.apache.commons.lang.math)(version&gt;=${commons-lang.version}))'
 multiple='false' name='package' optional='false'>
-      Import package org.apache.commons.lang.math 
;version=${commons-lang.version}
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.apache.commons.lang.mutable)(version&gt;=${commons-lang.version}))'
 multiple='false' name='package' optional='false'>
-      Import package org.apache.commons.lang.mutable 
;version=${commons-lang.version}
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.apache.commons.lang.text)(version&gt;=${commons-lang.version}))'
 multiple='false' name='package' optional='false'>
-      Import package org.apache.commons.lang.text 
;version=${commons-lang.version}
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.apache.commons.lang.time)(version&gt;=${commons-lang.version}))'
 multiple='false' name='package' optional='false'>
-      Import package org.apache.commons.lang.time 
;version=${commons-lang.version}
-    </require>
-  </resource>
-  <resource id='twitter4j/${twitter4j.version}' presentationname='Apache Aries 
Application Bundlise Twitter4j' symbolicname='twitter4j' 
uri='twitter4j.location' version='${twitter4j.version}'>
-    <description>
-      Application used to bundlelise twitter4j
-    </description>
-    <size>
-      257233
-    </size>
-    <license>
-      http://www.apache.org/licenses/LICENSE-2.0.txt
-    </license>
-    <documentation>
-      http://www.apache.org
-    </documentation>
-    <capability name='bundle'>
-      <p n='manifestversion' v='2'/>
-      <p n='presentationname' v='Apache Aries Application Bundlise Twitter4j'/>
-      <p n='symbolicname' v='twitter4j'/>
-      <p n='version' t='version' v='${twitter4j.version}'/>
-    </capability>
-    <capability name='package'>
-      <p n='package' v='twitter4j'/>
-      <p n='uses' 
v='javax.xml.transform.dom,javax.xml.transform.stream,org.w3c.dom,javax.xml.transform'/>
-      <p n='version' t='version' v='${twitter4j.version}'/>
-    </capability>
-    <require extend='false' 
filter='(&amp;(package=com.sun.syndication.feed.synd)(version&gt;=0.0.0))' 
multiple='false' name='package' optional='true'>
-      Import package com.sun.syndication.feed.synd
-    </require>
-    <require extend='false' 
filter='(&amp;(package=com.sun.syndication.io)(version&gt;=0.0.0))' 
multiple='false' name='package' optional='true'>
-      Import package com.sun.syndication.io
-    </require>
-    <require extend='false' 
filter='(&amp;(package=javax.crypto)(version&gt;=0.0.0))' multiple='false' 
name='package' optional='false'>
-      Import package javax.crypto
-    </require>
-    <require extend='false' 
filter='(&amp;(package=javax.crypto.spec)(version&gt;=0.0.0))' multiple='false' 
name='package' optional='false'>
-      Import package javax.crypto.spec
-    </require>
-    <require extend='false' 
filter='(&amp;(package=javax.xml.parsers)(version&gt;=0.0.0))' multiple='false' 
name='package' optional='false'>
-      Import package javax.xml.parsers
-    </require>
-    <require extend='false' 
filter='(&amp;(package=javax.xml.transform)(version&gt;=0.0.0))' 
multiple='false' name='package' optional='false'>
-      Import package javax.xml.transform
-    </require>
-    <require extend='false' 
filter='(&amp;(package=javax.xml.transform.dom)(version&gt;=0.0.0))' 
multiple='false' name='package' optional='false'>
-      Import package javax.xml.transform.dom
-    </require>
-    <require extend='false' 
filter='(&amp;(package=javax.xml.transform.stream)(version&gt;=0.0.0))' 
multiple='false' name='package' optional='false'>
-      Import package javax.xml.transform.stream
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.slf4j)(version&gt;=0.0.0))' multiple='false' 
name='package' optional='false'>
-      Import package org.slf4j
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.w3c.dom)(version&gt;=0.0.0))' multiple='false' 
name='package' optional='false'>
-      Import package org.w3c.dom
-    </require>
-    <require extend='false' 
filter='(&amp;(package=org.xml.sax)(version&gt;=0.0.0))' multiple='false' 
name='package' optional='false'>
-      Import package org.xml.sax
-    </require>
-    <require extend='false' 
filter='(&amp;(package=twitter4j)(version&gt;=${twitter4j.version}))' 
multiple='false' name='package' optional='false'>
-      Import package twitter4j ;version=${twitter4j.version}
-    </require>
-  </resource>
-</repository>
diff --git 
a/samples/twitter/twitter-itests/src/test/java/org/apache/aries/sample/twitter/itest/TwitterTest.java
 
b/samples/twitter/twitter-itests/src/test/java/org/apache/aries/sample/twitter/itest/TwitterTest.java
deleted file mode 100644
index 061301b2f..000000000
--- 
a/samples/twitter/twitter-itests/src/test/java/org/apache/aries/sample/twitter/itest/TwitterTest.java
+++ /dev/null
@@ -1,202 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * 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.
- */
-package org.apache.aries.sample.twitter.itest;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-import static org.ops4j.pax.exam.CoreOptions.composite;
-import static org.ops4j.pax.exam.CoreOptions.junitBundles;
-import static org.ops4j.pax.exam.CoreOptions.maven;
-import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
-import static org.ops4j.pax.exam.CoreOptions.systemProperty;
-import static org.ops4j.pax.exam.CoreOptions.vmOption;
-import static org.ops4j.pax.exam.CoreOptions.when;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileWriter;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-
-import javax.inject.Inject;
-
-import org.apache.aries.application.DeploymentContent;
-import org.apache.aries.application.DeploymentMetadata;
-import org.apache.aries.application.management.AriesApplication;
-import org.apache.aries.application.management.AriesApplicationContext;
-import org.apache.aries.application.management.AriesApplicationManager;
-import org.apache.aries.application.utils.AppConstants;
-import org.apache.felix.bundlerepository.Repository;
-import org.apache.felix.bundlerepository.RepositoryAdmin;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.ops4j.pax.exam.Configuration;
-import org.ops4j.pax.exam.CoreOptions;
-import org.ops4j.pax.exam.Option;
-import org.ops4j.pax.exam.junit.PaxExam;
-import org.ops4j.pax.exam.options.MavenArtifactUrlReference;
-
-@RunWith(PaxExam.class)
-public class TwitterTest {
-       public static final String CORE_BUNDLE_BY_VALUE = 
"core.bundle.by.value";
-       public static final String CORE_BUNDLE_BY_REFERENCE = 
"core.bundle.by.reference";
-       public static final String TRANSITIVE_BUNDLE_BY_VALUE = 
"transitive.bundle.by.value";
-       public static final String TRANSITIVE_BUNDLE_BY_REFERENCE = 
"transitive.bundle.by.reference";
-       public static final String USE_BUNDLE_BY_REFERENCE = 
"use.bundle.by.reference";
-       public static final String REPO_BUNDLE = "aries.bundle1";
-       public static final String 
HELLO_WORLD_CLIENT_BUNDLE="hello.world.client.bundle";
-       public static final String 
HELLO_WORLD_SERVICE_BUNDLE1="hello.world.service.bundle1";
-       public static final String 
HELLO_WORLD_SERVICE_BUNDLE2="hello.world.service.bundle2";
-
-       @Inject
-       RepositoryAdmin repositoryAdmin;
-
-       @Inject
-       AriesApplicationManager manager;
-
-       /**
-        * Test for ARIES-461
-        * Application that bring in dependency bundles from a bundle 
repository doesn't deploy
-        * 
-        * @throws Exception
-        */
-       @Test
-       public void testTwitter() throws Exception
-       {
-               // provision against the local runtime
-               
System.setProperty(AppConstants.PROVISON_EXCLUDE_LOCAL_REPO_SYSPROP, "false");
-
-               deleteRepos();
-
-               MavenArtifactUrlReference twitterEbaUrl = 
maven("org.apache.aries.samples.twitter", 
"org.apache.aries.samples.twitter.eba").versionAsInProject().type("eba");
-               MavenArtifactUrlReference twitterCommonLangJar = 
maven("commons-lang", "commons-lang").versionAsInProject();
-               MavenArtifactUrlReference twitterJar = 
maven("org.apache.aries.samples.twitter", 
"org.apache.aries.samples.twitter.twitter4j").versionAsInProject();
-
-               // add the repository xml to the repository admin
-               String repositoryXML = 
getRepoContent("/obr/twitter/TwitterRepository.xml");
-               // replace the jar file url with the real url related to the 
environment
-               String repo = repositoryXML
-                               .replaceAll("commons.lang.location", 
twitterCommonLangJar.getURL())
-                               .replaceAll("twitter4j.location", 
twitterJar.getURL());
-
-               URL url = getRepoUrl(repo);
-               repositoryAdmin.addRepository(url);
-
-               AriesApplication app = manager.createApplication(new 
URL(twitterEbaUrl.getURL()));
-               app = manager.resolve(app);
-               DeploymentMetadata depMeta = app.getDeploymentMetadata();
-               List<DeploymentContent> provision = 
depMeta.getApplicationProvisionBundles();
-               Collection<DeploymentContent> useBundles = 
depMeta.getDeployedUseBundle();
-               Collection<DeploymentContent> appContent = 
depMeta.getApplicationDeploymentContents();
-               // We cannot be sure whether there are two or three provision 
bundles pulled in by Felix OBR as there is an outstanding defect
-               // https://issues.apache.org/jira/browse/FELIX-2672
-               // The workaround is to check we get the two bundles we are 
looking for, instead of insisting on just having two bundles.
-
-               List<String> provisionBundleSymbolicNames = new 
ArrayList<String>();
-               for (DeploymentContent dep : provision) {
-                       provisionBundleSymbolicNames.add(dep.getContentName());
-               }
-               String provision_bundle1 = "org.apache.commons.lang";
-               String provision_bundle2 = "twitter4j";
-               assertTrue("Bundle " + provision_bundle1 + " not found.", 
provisionBundleSymbolicNames.contains(provision_bundle1));
-               assertTrue("Bundle " + provision_bundle2 + " not found.", 
provisionBundleSymbolicNames.contains(provision_bundle2));
-               assertEquals(useBundles.toString(), 0, useBundles.size());
-               assertEquals(appContent.toString(), 1, appContent.size());
-               AriesApplicationContext ctx = manager.install(app);
-               ctx.start();
-       }
-
-       private URL getRepoUrl(String repo) throws IOException,
-                       MalformedURLException {
-               File repoFile = File.createTempFile("twitterRepo", "xml");
-               FileWriter writer = new FileWriter(repoFile);
-               writer.write(repo);
-               writer.close();
-               return repoFile.toURI().toURL();
-       }
-
-       private void deleteRepos() {
-               Repository[] repos = repositoryAdmin.listRepositories();
-               for (Repository repo : repos) {
-                       repositoryAdmin.removeRepository(repo.getURI());
-               }
-       }
-
-       private String getRepoContent(String path) throws IOException {
-               StringBuilder repositoryXML = new StringBuilder();
-               InputStream resourceAsStream = 
this.getClass().getResourceAsStream(path);
-               BufferedReader reader = new BufferedReader(new 
InputStreamReader(resourceAsStream));
-               String line;
-               while ((line = reader.readLine()) != null) {
-                       repositoryXML.append(line);
-                       repositoryXML.append("\r\n");
-               }
-               return repositoryXML.toString();
-       }
-
-       protected Option baseOptions() {
-               String localRepo = System.getProperty("maven.repo.local");
-
-               if (localRepo == null) {
-                       localRepo = 
System.getProperty("org.ops4j.pax.url.mvn.localRepository");
-               }
-               return composite(
-                               junitBundles(),
-                               mavenBundle("org.ops4j.pax.logging", 
"pax-logging-api").versionAsInProject(),
-                               mavenBundle("org.ops4j.pax.logging", 
"pax-logging-log4j2").versionAsInProject(),
-                               //mavenBundle("org.apache.aries.testsupport", 
"org.apache.aries.testsupport.unit").versionAsInProject(),
-                               // this is how you set the default log level 
when using pax
-                               // logging (logProfile)
-                               
systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value("INFO"),
-                               when(localRepo != 
null).useOptions(vmOption("-Dorg.ops4j.pax.url.mvn.localRepository=" + 
localRepo))
-                               );
-       }
-
-       @Configuration
-       public Option[] configuration() {
-               return CoreOptions.options(
-                               baseOptions(),
-                               mavenBundle("org.osgi", 
"osgi.cmpn").versionAsInProject(),
-                               mavenBundle("org.apache.aries.application", 
"org.apache.aries.application.api").versionAsInProject(),
-                               mavenBundle("org.apache.aries.application", 
"org.apache.aries.application.utils").versionAsInProject(),
-                               mavenBundle("org.apache.aries.application", 
"org.apache.aries.application.management").versionAsInProject(),
-                               mavenBundle("org.apache.aries.application", 
"org.apache.aries.application.default.local.platform").versionAsInProject(),
-                               mavenBundle("org.apache.aries.application", 
"org.apache.aries.application.runtime").versionAsInProject(),
-                               mavenBundle("org.apache.aries.application", 
"org.apache.aries.application.resolver.obr").versionAsInProject(),
-                               mavenBundle("org.apache.aries.application", 
"org.apache.aries.application.deployment.management").versionAsInProject(),
-                               mavenBundle("org.apache.aries.application", 
"org.apache.aries.application.modeller").versionAsInProject(),
-                               mavenBundle("org.apache.felix", 
"org.apache.felix.bundlerepository").versionAsInProject(),
-                               mavenBundle("org.apache.aries.application", 
"org.apache.aries.application.runtime.itest.interfaces").versionAsInProject(),
-                               mavenBundle("org.apache.aries", 
"org.apache.aries.util").versionAsInProject(),
-                               mavenBundle("org.apache.aries.blueprint", 
"org.apache.aries.blueprint").versionAsInProject(),
-                mavenBundle("org.ow2.asm", "asm").versionAsInProject(),
-                mavenBundle("org.ow2.asm", "asm-commons").versionAsInProject(),
-                mavenBundle("org.ow2.asm", "asm-tree").versionAsInProject(),
-                mavenBundle("org.ow2.asm", 
"asm-analysis").versionAsInProject(),
-                               mavenBundle("org.apache.aries.proxy", 
"org.apache.aries.proxy").versionAsInProject(),
-                               mavenBundle("org.apache.aries.samples.twitter", 
"org.apache.aries.samples.twitter.twitter4j").versionAsInProject()
-                               );
-       }
-}
diff --git a/samples/twitter/twitter-twitter4j/pom.xml 
b/samples/twitter/twitter-twitter4j/pom.xml
deleted file mode 100644
index 46b2a0c49..000000000
--- a/samples/twitter/twitter-twitter4j/pom.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- 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.
--->
-<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>
-        <groupId>org.apache.aries.samples.twitter</groupId>
-        <artifactId>twitter</artifactId>
-        <version>1.0.1-SNAPSHOT</version>
-    </parent>
-    <artifactId>org.apache.aries.samples.twitter.twitter4j</artifactId>
-    <packaging>bundle</packaging>
-    <name>Apache Aries Bundlise Twitter4j</name>
-    <description>
-        Module used to bundlelise twitter4j
-    </description>
-
-    <properties>
-        <maven-bundle-plugin.version>5.1.9</maven-bundle-plugin.version>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>net.homeip.yusuke</groupId>
-            <artifactId>twitter4j</artifactId>
-        </dependency>
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.felix</groupId>
-                <artifactId>maven-bundle-plugin</artifactId>
-                <version>${maven-bundle-plugin.version}</version>
-                <extensions>true</extensions>
-                <configuration>
-                    <instructions>
-                        
<Import-Package>dalvik.system;resolution:=optional,*</Import-Package>
-                        <Export-Package>!twitter4j.examples,*</Export-Package>
-                    </instructions>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-</project>

Reply via email to