Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 50E93200B40 for ; Fri, 1 Jul 2016 14:09:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4F760160A73; Fri, 1 Jul 2016 12:09:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 007AC160A5D for ; Fri, 1 Jul 2016 14:09:08 +0200 (CEST) Received: (qmail 4413 invoked by uid 500); 1 Jul 2016 12:09:08 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 4396 invoked by uid 99); 1 Jul 2016 12:09:08 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2016 12:09:08 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id EA6B7E009D; Fri, 1 Jul 2016 12:09:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: cschneider@apache.org To: commits@cxf.apache.org Date: Fri, 01 Jul 2016 12:09:07 -0000 Message-Id: <1ef187fa0a4d4ec4bedb9007ae135eaa@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/5] cxf-dosgi git commit: [DOSGI-242] Refactor provider, Cleanup archived-at: Fri, 01 Jul 2016 12:09:11 -0000 Repository: cxf-dosgi Updated Branches: refs/heads/master 5d8bbd2bd -> 79bb9a437 http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/cxf-dsw/src/test/java/org/apache/cxf/dosgi/dsw/util/OsgiUtilsTest.java ---------------------------------------------------------------------- diff --git a/cxf-dsw/src/test/java/org/apache/cxf/dosgi/dsw/util/OsgiUtilsTest.java b/cxf-dsw/src/test/java/org/apache/cxf/dosgi/dsw/util/OsgiUtilsTest.java index cc15ea6..f20f878 100644 --- a/cxf-dsw/src/test/java/org/apache/cxf/dosgi/dsw/util/OsgiUtilsTest.java +++ b/cxf-dsw/src/test/java/org/apache/cxf/dosgi/dsw/util/OsgiUtilsTest.java @@ -25,20 +25,11 @@ import java.util.HashMap; import java.util.List; import java.util.Map; -import junit.framework.TestCase; - -import org.easymock.EasyMock; -import org.easymock.IMocksControl; -import org.osgi.framework.Bundle; -import org.osgi.framework.BundleContext; -import org.osgi.framework.ServiceReference; -import org.osgi.framework.Version; -import org.osgi.service.packageadmin.ExportedPackage; -import org.osgi.service.packageadmin.PackageAdmin; import org.osgi.service.remoteserviceadmin.EndpointDescription; import org.osgi.service.remoteserviceadmin.RemoteConstants; -@SuppressWarnings("deprecation") +import junit.framework.TestCase; + public class OsgiUtilsTest extends TestCase { public void testMultiValuePropertyAsString() { @@ -63,79 +54,6 @@ public class OsgiUtilsTest extends TestCase { assertNull(OsgiUtils.getMultiValueProperty(null)); } - @SuppressWarnings({ - "rawtypes", "unchecked" - }) - public void testGetVersion() { - IMocksControl c = EasyMock.createNiceControl(); - BundleContext bc = c.createMock(BundleContext.class); - ServiceReference sref = c.createMock(ServiceReference.class); - PackageAdmin pa = c.createMock(PackageAdmin.class); - Bundle b = c.createMock(Bundle.class); - - EasyMock.expect(bc.getServiceReference(EasyMock.eq(PackageAdmin.class))).andReturn(sref); - EasyMock.expect(bc.getService(EasyMock.eq(sref))).andReturn(pa); - - Class iClass = CharSequence.class; - - c.replay(); - // version 0.0.0 because of missing bundle - - assertEquals("0.0.0", OsgiUtils.getVersion(iClass, bc)); - - c.verify(); - c.reset(); - // version 1.2.3 - - EasyMock.expect(bc.getServiceReference(EasyMock.eq(PackageAdmin.class))).andReturn(sref); - EasyMock.expect(bc.getService(EasyMock.eq(sref))).andReturn(pa); - EasyMock.expect(pa.getBundle(EasyMock.eq(iClass))).andReturn(b); - - ExportedPackage[] exP = new ExportedPackage[] {new MyExportedPackage(iClass.getPackage(), "1.2.3"), - new MyExportedPackage(String.class.getPackage(), "4.5.6") }; - - EasyMock.expect(pa.getExportedPackages(EasyMock.eq(b))).andReturn(exP).atLeastOnce(); - - c.replay(); - assertEquals("1.2.3", OsgiUtils.getVersion(iClass, bc)); - c.verify(); - } - - private static class MyExportedPackage implements ExportedPackage { - - Package package1; - String version; - - MyExportedPackage(Package package1, String version) { - this.package1 = package1; - this.version = version; - } - - public Bundle getExportingBundle() { - return null; - } - - public Bundle[] getImportingBundles() { - return null; - } - - public String getName() { - return package1.getName(); - } - - public String getSpecificationVersion() { - return null; - } - - public Version getVersion() { - return new Version(version); - } - - public boolean isRemovalPending() { - return false; - } - } - public void testGetProperty() { Map p = new HashMap(); p.put(RemoteConstants.ENDPOINT_ID, "http://google.de"); http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/decorator/bnd.bnd ---------------------------------------------------------------------- diff --git a/decorator/bnd.bnd b/decorator/bnd.bnd new file mode 100644 index 0000000..499a137 --- /dev/null +++ b/decorator/bnd.bnd @@ -0,0 +1,3 @@ +Private-Package: org.apache.cxf.dosgi.dsw.decorator +Bundle-Activator: org.apache.cxf.dosgi.dsw.decorator.Activator +Export-Package: org.apache.cxf.xmlns.service_decoration._1_0 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/decorator/pom.xml ---------------------------------------------------------------------- diff --git a/decorator/pom.xml b/decorator/pom.xml index af14af3..e894925 100644 --- a/decorator/pom.xml +++ b/decorator/pom.xml @@ -35,76 +35,6 @@ .. - - - org.slf4j - slf4j-api - - - org.osgi - org.osgi.core - provided - - - org.osgi - org.osgi.compendium - provided - - - - org.apache.aries.rsa - org.apache.aries.rsa.spi - ${aries.rsa.version} - - - org.apache.cxf - cxf-core - ${cxf.version} - - - org.apache.cxf - cxf-rt-frontend-jaxws - ${cxf.version} - - - org.apache.cxf - cxf-rt-frontend-jaxrs - ${cxf.version} - - - org.apache.cxf - cxf-rt-rs-client - ${cxf.version} - - - org.apache.cxf - cxf-rt-databinding-aegis - ${cxf.version} - - - org.apache.cxf - cxf-rt-rs-extension-providers - ${cxf.version} - - - - junit - junit - test - - - org.easymock - easymockclassextension - test - - - org.slf4j - slf4j-jdk14 - 1.7.14 - test - - - @@ -119,20 +49,6 @@ - - org.apache.felix - maven-bundle-plugin - true - - - ${project.artifactId} - - !* - - org.apache.cxf.dosgi.dsw.decorator.Activator - - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/pom.xml ---------------------------------------------------------------------- diff --git a/felix/pom.xml b/felix/pom.xml deleted file mode 100644 index 0b8b759..0000000 --- a/felix/pom.xml +++ /dev/null @@ -1,42 +0,0 @@ - - - - 4.0.0 - cxf-dosgi-ri-felix - pom - Distributed OSGi Temporary Private Felix Framework Build - - - org.apache.cxf.dosgi - cxf-dosgi-ri-parent - 1.8-SNAPSHOT - ../parent/pom.xml - - - - .. - - - - shell.tui - profiles - - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/pom.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/pom.xml b/felix/profiles/pom.xml deleted file mode 100644 index 4cc71fe..0000000 --- a/felix/profiles/pom.xml +++ /dev/null @@ -1,201 +0,0 @@ - - - - - 4.0.0 - cxf-dosgi-ri-felix-profiles - jar - Distributed OSGi Felix Profiles - - - org.apache.cxf.dosgi - cxf-dosgi-ri-parent - 1.8-SNAPSHOT - ../../parent/pom.xml - - - - ../.. - - - - - org.eclipse.jetty - jetty-server - ${jetty.version} - - - - org.eclipse.jetty - jetty-util - ${jetty.version} - - - - org.apache.servicemix.specs - org.apache.servicemix.specs.stax-api-1.0 - ${servicemix.specs.version} - - - org.apache.servicemix.specs - org.apache.servicemix.specs.jaxb-api-2.1 - ${servicemix.specs.version} - - - org.apache.servicemix.specs - org.apache.servicemix.specs.jaxws-api-2.1 - ${servicemix.specs.version} - - - org.apache.servicemix.specs - org.apache.servicemix.specs.saaj-api-1.3 - ${servicemix.specs.version} - - - - org.apache.geronimo.specs - geronimo-javamail_1.4_spec - 1.7.1 - - - org.apache.geronimo.specs - geronimo-activation_1.1_spec - 1.1 - - - org.apache.geronimo.specs - geronimo-ws-metadata_2.0_spec - 1.1.3 - - - org.apache.geronimo.specs - geronimo-servlet_3.0_spec - 1.0 - - - - org.apache.geronimo.specs - geronimo-annotation_1.0_spec - 1.1.1 - - - - org.apache.ws.xmlschema - xmlschema-core - ${xmlschema.bundle.version} - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.xmlresolver - ${xmlresolver.bundle.version} - - - org.apache.neethi - neethi - ${neethi.bundle.version} - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.wsdl4j - ${wsdl4j.bundle.version} - - - org.apache.santuario - xmlsec - ${xmlsec.version} - - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.jaxb-impl - ${jaxbimpl.bundle.version} - - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.asm - ${asm.bundle.version} - - - - org.codehaus.woodstox - woodstox-core-asl - ${woodstox.bundle.version} - - - - org.springframework - spring-core - ${spring.version} - - - - org.springframework - spring-beans - ${spring.version} - - - - org.springframework - spring-context - ${spring.version} - - - - org.springframework - spring-aop - ${spring.version} - - - - org.springframework.osgi - spring-osgi-core - ${spring.osgi.version} - - - org.springframework.osgi - spring-osgi-io - ${spring.osgi.version} - - - org.springframework.osgi - spring-osgi-extender - ${spring.osgi.version} - - - - - junit - junit - test - - - - - - - - src/main/resources/ - true - - - - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/resources/OSGI-INF/remote-service/alt-remote-services.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/resources/OSGI-INF/remote-service/alt-remote-services.xml b/felix/profiles/resources/OSGI-INF/remote-service/alt-remote-services.xml deleted file mode 100644 index 36409ce..0000000 --- a/felix/profiles/resources/OSGI-INF/remote-service/alt-remote-services.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/resources/OSGI-INF/remote-service/multi-services.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/resources/OSGI-INF/remote-service/multi-services.xml b/felix/profiles/resources/OSGI-INF/remote-service/multi-services.xml deleted file mode 100644 index 3d20c08..0000000 --- a/felix/profiles/resources/OSGI-INF/remote-service/multi-services.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - - - - - - org.apache.cxf.dosgi.dsw.hooks.TestService,org.apache.cxf.dosgi.dsw.hooks.CxfPublishHookTest$AdditionalInterface - SOAP HTTP - pojo - - http://localhost:9001/hello - - - http://localhost:9002/hello - - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/resources/OSGI-INF/remote-service/remote-services.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/resources/OSGI-INF/remote-service/remote-services.xml b/felix/profiles/resources/OSGI-INF/remote-service/remote-services.xml deleted file mode 100644 index 45b2a20..0000000 --- a/felix/profiles/resources/OSGI-INF/remote-service/remote-services.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - * - SOAP HTTP - pojo - http://localhost:9000/hello - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/resources/test-resources/rs1.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/resources/test-resources/rs1.xml b/felix/profiles/resources/test-resources/rs1.xml deleted file mode 100644 index f67a833..0000000 --- a/felix/profiles/resources/test-resources/rs1.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - confidentiality - - - - - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/resources/test-resources/rs2.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/resources/test-resources/rs2.xml b/felix/profiles/resources/test-resources/rs2.xml deleted file mode 100644 index 098aa21..0000000 --- a/felix/profiles/resources/test-resources/rs2.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - confidentiality.message integrity - * - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/resources/test-resources/sd-1.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/resources/test-resources/sd-1.xml b/felix/profiles/resources/test-resources/sd-1.xml deleted file mode 100644 index 483b196..0000000 --- a/felix/profiles/resources/test-resources/sd-1.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/resources/test-resources/sd.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/resources/test-resources/sd.xml b/felix/profiles/resources/test-resources/sd.xml deleted file mode 100644 index c7cebfb..0000000 --- a/felix/profiles/resources/test-resources/sd.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/resources/test-resources/sd0.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/resources/test-resources/sd0.xml b/felix/profiles/resources/test-resources/sd0.xml deleted file mode 100644 index 0ad0ad1..0000000 --- a/felix/profiles/resources/test-resources/sd0.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/resources/test-resources/sd1.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/resources/test-resources/sd1.xml b/felix/profiles/resources/test-resources/sd1.xml deleted file mode 100644 index 6a5e811..0000000 --- a/felix/profiles/resources/test-resources/sd1.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/resources/test-resources/sd2.xml ---------------------------------------------------------------------- diff --git a/felix/profiles/resources/test-resources/sd2.xml b/felix/profiles/resources/test-resources/sd2.xml deleted file mode 100644 index fb6a93a..0000000 --- a/felix/profiles/resources/test-resources/sd2.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/src/main/java/felix/EmptyClass.java ---------------------------------------------------------------------- diff --git a/felix/profiles/src/main/java/felix/EmptyClass.java b/felix/profiles/src/main/java/felix/EmptyClass.java deleted file mode 100644 index 58758f7..0000000 --- a/felix/profiles/src/main/java/felix/EmptyClass.java +++ /dev/null @@ -1,22 +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 felix; - -public class EmptyClass { -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/src/main/resources/client_bundles.txt ---------------------------------------------------------------------- diff --git a/felix/profiles/src/main/resources/client_bundles.txt b/felix/profiles/src/main/resources/client_bundles.txt deleted file mode 100644 index 0bf6534..0000000 --- a/felix/profiles/src/main/resources/client_bundles.txt +++ /dev/null @@ -1,82 +0,0 @@ -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.1.1/geronimo-annotation_1.0_spec-1.1.1.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.1/geronimo-activation_1.1_spec-1.1.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.7.1/geronimo-javamail_1.4_spec-1.7.1.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-ws-metadata_2.0_spec/1.1.3/geronimo-ws-metadata_2.0_spec-1.1.3.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-servlet_3.0_spec/1.0/geronimo-servlet_3.0_spec-1.0.jar - -start file:${maven.repo.local}/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.jar - -start file:${maven.repo.local}/org/jdom/com.springsource.org.jdom/1.1.0/com.springsource.org.jdom-1.1.0.jar - -start file:${maven.repo.local}/org/jaxen/com.springsource.org.jaxen/1.1.1/com.springsource.org.jaxen-1.1.1.jar - -start file:${maven.repo.local}/org/springframework/spring-core/${spring.version}/spring-core-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-beans/${spring.version}/spring-beans-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-context/${spring.version}/spring-context-${spring.version}.jar - -start file:${maven.repo.local}/org/aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar - -start file:${maven.repo.local}/org/springframework/spring-aop/${spring.version}/spring-aop-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-expression/${spring.version}/spring-expression-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-asm/${spring.version}/spring-asm-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/osgi/spring-osgi-io/${spring.osgi.version}/spring-osgi-io-${spring.osgi.version}.jar - -start file:${maven.repo.local}/org/springframework/osgi/spring-osgi-core/${spring.osgi.version}/spring-osgi-core-${spring.osgi.version}.jar - -start file:${maven.repo.local}/org/springframework/osgi/spring-osgi-extender/${spring.osgi.version}/spring-osgi-extender-${spring.osgi.version}.jar - -start file:${maven.repo.local}/org/eclipse/jetty/aggregate/jetty-all-server/${jetty.version}/jetty-all-server-${jetty.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.locator/${servicemix.specs.version}/org.apache.servicemix.specs.locator-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.saaj-api-1.3/${servicemix.specs.version}/org.apache.servicemix.specs.saaj-api-1.3-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.stax-api-1.0/${servicemix.specs.version}/org.apache.servicemix.specs.stax-api-1.0-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.jaxb-api-2.1/${servicemix.specs.version}/org.apache.servicemix.specs.jaxb-api-2.1-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.jaxws-api-2.1/${servicemix.specs.version}/org.apache.servicemix.specs.jaxws-api-2.1-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.jaxb-impl/${jaxbimpl.bundle.version}/org.apache.servicemix.bundles.jaxb-impl-${jaxbimpl.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.wsdl4j/${wsdl4j.bundle.version}/org.apache.servicemix.bundles.wsdl4j-${wsdl4j.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xmlsec/${xmlsec.bundle.version}/org.apache.servicemix.bundles.xmlsec-${xmlsec.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.wss4j/${wss4j.bundle.version}/org.apache.servicemix.bundles.wss4j-${wss4j.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/sws/xmlschema/xmlschema-core/${xmlschema.bundle.version}/xmlschema-core-${xmlschema.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.asm/${asm.bundle.version}/org.apache.servicemix.bundles.asm-${asm.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xmlresolver/${xmlresolver.bundle.version}/org.apache.servicemix.bundles.xmlresolver-${xmlresolver.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/neethi/neethi/${neethi.bundle.version}/neethi-${neethi.bundle.version}.jar - -start file:${maven.repo.local}/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar - -start file:${maven.repo.local}/org/codehaus/woodstox/woodstox-core-asl/${woodstox.bundle.version}/woodstox-core-asl-${woodstox.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.joda-time/1.5.2_4/org.apache.servicemix.bundles.joda-time-1.5.2_4.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.opensaml/2.4.1_1/org.apache.servicemix.bundles.opensaml-2.4.1_1.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-bundle-minimal/${cxf.version}/cxf-bundle-minimal-${cxf.version}.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-dosgi-ri-discovery-local/${project.version}/cxf-dosgi-ri-discovery-local-${project.version}.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-dosgi-ri-dsw-cxf/${project.version}/cxf-dosgi-ri-dsw-cxf-${project.version}.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-dosgi-ri-samples-greeter-interface/${project.version}/cxf-dosgi-ri-samples-greeter-interface-${project.version}.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-dosgi-ri-samples-greeter-client/${project.version}/cxf-dosgi-ri-samples-greeter-client-${project.version}.jar - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/src/main/resources/dosgi_bundles.txt ---------------------------------------------------------------------- diff --git a/felix/profiles/src/main/resources/dosgi_bundles.txt b/felix/profiles/src/main/resources/dosgi_bundles.txt deleted file mode 100644 index 8506239..0000000 --- a/felix/profiles/src/main/resources/dosgi_bundles.txt +++ /dev/null @@ -1,78 +0,0 @@ -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.1.1/geronimo-annotation_1.0_spec-1.1.1.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.1/geronimo-activation_1.1_spec-1.1.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.7.1/geronimo-javamail_1.4_spec-1.7.1.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-ws-metadata_2.0_spec/1.1.3/geronimo-ws-metadata_2.0_spec-1.1.3.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-servlet_3.0_spec/1.0/geronimo-servlet_3.0_spec-1.0.jar - -start file:${maven.repo.local}/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.jar - -start file:${maven.repo.local}/org/jdom/com.springsource.org.jdom/1.1.0/com.springsource.org.jdom-1.1.0.jar - -start file:${maven.repo.local}/org/jaxen/com.springsource.org.jaxen/1.1.1/com.springsource.org.jaxen-1.1.1.jar - -start file:${maven.repo.local}/org/springframework/spring-core/${spring.version}/spring-core-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-beans/${spring.version}/spring-beans-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-context/${spring.version}/spring-context-${spring.version}.jar - -start file:${maven.repo.local}/org/aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar - -start file:${maven.repo.local}/org/springframework/spring-aop/${spring.version}/spring-aop-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-expression/${spring.version}/spring-expression-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-asm/${spring.version}/spring-asm-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/osgi/spring-osgi-io/${spring.osgi.version}/spring-osgi-io-${spring.osgi.version}.jar - -start file:${maven.repo.local}/org/springframework/osgi/spring-osgi-core/${spring.osgi.version}/spring-osgi-core-${spring.osgi.version}.jar - -start file:${maven.repo.local}/org/springframework/osgi/spring-osgi-extender/${spring.osgi.version}/spring-osgi-extender-${spring.osgi.version}.jar - -start file:${maven.repo.local}/org/eclipse/jetty/aggregate/jetty-all-server/${jetty.version}/jetty-all-server-${jetty.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.locator/${servicemix.specs.version}/org.apache.servicemix.specs.locator-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.saaj-api-1.3/${servicemix.specs.version}/org.apache.servicemix.specs.saaj-api-1.3-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.stax-api-1.0/${servicemix.specs.version}/org.apache.servicemix.specs.stax-api-1.0-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.jaxb-api-2.1/${servicemix.specs.version}/org.apache.servicemix.specs.jaxb-api-2.1-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.jaxws-api-2.1/${servicemix.specs.version}/org.apache.servicemix.specs.jaxws-api-2.1-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.jaxb-impl/${jaxbimpl.bundle.version}/org.apache.servicemix.bundles.jaxb-impl-${jaxbimpl.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.wsdl4j/${wsdl4j.bundle.version}/org.apache.servicemix.bundles.wsdl4j-${wsdl4j.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xmlsec/${xmlsec.bundle.version}/org.apache.servicemix.bundles.xmlsec-${xmlsec.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.wss4j/${wss4j.bundle.version}/org.apache.servicemix.bundles.wss4j-${wss4j.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/sws/xmlschema/xmlschema-core/${xmlschema.bundle.version}/xmlschema-core-${xmlschema.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.asm/${asm.bundle.version}/org.apache.servicemix.bundles.asm-${asm.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xmlresolver/${xmlresolver.bundle.version}/org.apache.servicemix.bundles.xmlresolver-${xmlresolver.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/neethi/neethi/${neethi.bundle.version}/neethi-${neethi.bundle.version}.jar - -start file:${maven.repo.local}/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar - -start file:${maven.repo.local}/org/codehaus/woodstox/woodstox-core-asl/${woodstox.bundle.version}/woodstox-core-asl-${woodstox.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.joda-time/1.5.2_4/org.apache.servicemix.bundles.joda-time-1.5.2_4.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.opensaml/2.4.1_1/org.apache.servicemix.bundles.opensaml-2.4.1_1.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-bundle-minimal/${cxf.version}/cxf-bundle-minimal-${cxf.version}.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-dosgi-ri-discovery-local/${project.version}/cxf-dosgi-ri-discovery-local-${project.version}.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-dosgi-ri-dsw-cxf/${project.version}/cxf-dosgi-ri-dsw-cxf-${project.version}.jar - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/profiles/src/main/resources/server_bundles.txt ---------------------------------------------------------------------- diff --git a/felix/profiles/src/main/resources/server_bundles.txt b/felix/profiles/src/main/resources/server_bundles.txt deleted file mode 100644 index b15a054..0000000 --- a/felix/profiles/src/main/resources/server_bundles.txt +++ /dev/null @@ -1,82 +0,0 @@ -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-annotation_1.0_spec/1.1.1/geronimo-annotation_1.0_spec-1.1.1.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-activation_1.1_spec/1.1/geronimo-activation_1.1_spec-1.1.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.7.1/geronimo-javamail_1.4_spec-1.7.1.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-ws-metadata_2.0_spec/1.1.3/geronimo-ws-metadata_2.0_spec-1.1.3.jar - -start file:${maven.repo.local}/org/apache/geronimo/specs/geronimo-servlet_3.0_spec/1.0/geronimo-servlet_3.0_spec-1.0.jar - -start file:${maven.repo.local}/org/apache/commons/com.springsource.org.apache.commons.logging/1.1.1/com.springsource.org.apache.commons.logging-1.1.1.jar - -start file:${maven.repo.local}/org/jdom/com.springsource.org.jdom/1.1.0/com.springsource.org.jdom-1.1.0.jar - -start file:${maven.repo.local}/org/jaxen/com.springsource.org.jaxen/1.1.1/com.springsource.org.jaxen-1.1.1.jar - -start file:${maven.repo.local}/org/springframework/spring-core/${spring.version}/spring-core-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-beans/${spring.version}/spring-beans-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-context/${spring.version}/spring-context-${spring.version}.jar - -start file:${maven.repo.local}/org/aopalliance/com.springsource.org.aopalliance/1.0.0/com.springsource.org.aopalliance-1.0.0.jar - -start file:${maven.repo.local}/org/springframework/spring-aop/${spring.version}/spring-aop-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-expression/${spring.version}/spring-expression-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/spring-asm/${spring.version}/spring-asm-${spring.version}.jar - -start file:${maven.repo.local}/org/springframework/osgi/spring-osgi-io/${spring.osgi.version}/spring-osgi-io-${spring.osgi.version}.jar - -start file:${maven.repo.local}/org/springframework/osgi/spring-osgi-core/${spring.osgi.version}/spring-osgi-core-${spring.osgi.version}.jar - -start file:${maven.repo.local}/org/springframework/osgi/spring-osgi-extender/${spring.osgi.version}/spring-osgi-extender-${spring.osgi.version}.jar - -start file:${maven.repo.local}/org/eclipse/jetty/aggregate/jetty-all-server/${jetty.version}/jetty-all-server-${jetty.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.locator/${servicemix.specs.version}/org.apache.servicemix.specs.locator-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.saaj-api-1.3/${servicemix.specs.version}/org.apache.servicemix.specs.saaj-api-1.3-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.stax-api-1.0/${servicemix.specs.version}/org.apache.servicemix.specs.stax-api-1.0-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.jaxb-api-2.1/${servicemix.specs.version}/org.apache.servicemix.specs.jaxb-api-2.1-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/specs/org.apache.servicemix.specs.jaxws-api-2.1/${servicemix.specs.version}/org.apache.servicemix.specs.jaxws-api-2.1-${servicemix.specs.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.jaxb-impl/${jaxbimpl.bundle.version}/org.apache.servicemix.bundles.jaxb-impl-${jaxbimpl.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.wsdl4j/${wsdl4j.bundle.version}/org.apache.servicemix.bundles.wsdl4j-${wsdl4j.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xmlsec/${xmlsec.bundle.version}/org.apache.servicemix.bundles.xmlsec-${xmlsec.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.wss4j/${wss4j.bundle.version}/org.apache.servicemix.bundles.wss4j-${wss4j.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/sws/xmlschema/xmlschema-core/${xmlschema.bundle.version}/xmlschema-core-${xmlschema.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.asm/${asm.bundle.version}/org.apache.servicemix.bundles.asm-${asm.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.xmlresolver/${xmlresolver.bundle.version}/org.apache.servicemix.bundles.xmlresolver-${xmlresolver.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/neethi/neethi/${neethi.bundle.version}/neethi-${neethi.bundle.version}.jar - -start file:${maven.repo.local}/org/codehaus/woodstox/stax2-api/3.1.1/stax2-api-3.1.1.jar - -start file:${maven.repo.local}/org/codehaus/woodstox/woodstox-core-asl/${woodstox.bundle.version}/woodstox-core-asl-${woodstox.bundle.version}.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.joda-time/1.5.2_4/org.apache.servicemix.bundles.joda-time-1.5.2_4.jar - -start file:${maven.repo.local}/org/apache/servicemix/bundles/org.apache.servicemix.bundles.opensaml/2.4.1_1/org.apache.servicemix.bundles.opensaml-2.4.1_1.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-bundle-minimal/${cxf.version}/cxf-bundle-minimal-${cxf.version}.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-dosgi-ri-discovery-local/${project.version}/cxf-dosgi-ri-discovery-local-${project.version}.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-dosgi-ri-dsw-cxf/${project.version}/cxf-dosgi-ri-dsw-cxf-${project.version}.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-dosgi-ri-samples-greeter-interface/${project.version}/cxf-dosgi-ri-samples-greeter-interface-${project.version}.jar - -start file:${maven.repo.local}/org/apache/cxf/cxf-dosgi-ri-samples-greeter-impl/${project.version}/cxf-dosgi-ri-samples-greeter-impl-${project.version}.jar - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/remote-debug.txt ---------------------------------------------------------------------- diff --git a/felix/remote-debug.txt b/felix/remote-debug.txt deleted file mode 100644 index 229262b..0000000 --- a/felix/remote-debug.txt +++ /dev/null @@ -1 +0,0 @@ --Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/shell.tui/LICENSE ---------------------------------------------------------------------- diff --git a/felix/shell.tui/LICENSE b/felix/shell.tui/LICENSE deleted file mode 100644 index d645695..0000000 --- a/felix/shell.tui/LICENSE +++ /dev/null @@ -1,202 +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. http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/shell.tui/NOTICE ---------------------------------------------------------------------- diff --git a/felix/shell.tui/NOTICE b/felix/shell.tui/NOTICE deleted file mode 100644 index d96621a..0000000 --- a/felix/shell.tui/NOTICE +++ /dev/null @@ -1,20 +0,0 @@ -Apache Felix Shell Textual Interface -Copyright 2006-2008 The Apache Software Foundation - -I. Included Software - -This product includes software developed at -The Apache Software Foundation (http://www.apache.org/). -Licensed under the Apache License 2.0. - - -II. Used Software - -This product uses software developed at -The OSGi Alliance (http://www.osgi.org/). -Copyright 2006 The OSGi Alliance. -Licensed under the Apache License 2.0. - - -III. License Summary -- Apache License 2.0 http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/shell.tui/pom.xml ---------------------------------------------------------------------- diff --git a/felix/shell.tui/pom.xml b/felix/shell.tui/pom.xml deleted file mode 100644 index e0a6d6f..0000000 --- a/felix/shell.tui/pom.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - 4.0.0 - bundle - Distributed OSGi Temporary Private Apache Felix Shell TUI Build - A simple textual user interface for Felix' shell service. - org.apache.cxf.dosgi - felix-shell-extension - 1.8-SNAPSHOT - - - org.apache.cxf.dosgi - cxf-dosgi-ri-parent - 1.8-SNAPSHOT - ../../parent/pom.xml - - - - true - - - - - org.apache.felix - org.osgi.core - 1.4.0 - - - org.apache.felix - org.apache.felix.shell - 1.4.3 - - - - - - org.apache.maven.plugins - maven-checkstyle-plugin - 2.8 - - **/*.java - - - - org.apache.maven.plugins - maven-pmd-plugin - 2.6 - - - **/*.java - - - - - - org.apache.felix - maven-bundle-plugin - 1.4.0 - true - - - org.apache.felix.shell.tui.* - org.apache.felix.shell.tui.Activator - http://oscar-osgi.sf.net/obr2/${project.artifactId}/ - ${project.artifactId} - The Apache Software Foundation - org.apache.felix.shell.ShellService - - - - - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/felix/shell.tui/src/main/java/org/apache/felix/shell/tui/Activator.java ---------------------------------------------------------------------- diff --git a/felix/shell.tui/src/main/java/org/apache/felix/shell/tui/Activator.java b/felix/shell.tui/src/main/java/org/apache/felix/shell/tui/Activator.java deleted file mode 100644 index c41ca32..0000000 --- a/felix/shell.tui/src/main/java/org/apache/felix/shell/tui/Activator.java +++ /dev/null @@ -1,187 +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.felix.shell.tui; - -import java.io.BufferedReader; -import java.io.File; -import java.io.FileReader; -import java.io.IOException; -import java.io.InputStreamReader; - -import org.apache.felix.shell.ShellService; -import org.osgi.framework.BundleActivator; -import org.osgi.framework.BundleContext; -import org.osgi.framework.InvalidSyntaxException; -import org.osgi.framework.ServiceEvent; -import org.osgi.framework.ServiceListener; -import org.osgi.framework.ServiceReference; - -public class Activator implements BundleActivator { - - private static final String RUN_CMD = "run "; - - private BundleContext context; - private ShellTuiRunnable shellRunnable; - private Thread thread; - private ServiceListener listener; - private ServiceReference shellRef; - private ShellService shell; - - public void start(BundleContext bcontext) { - context = bcontext; - - // Listen for registering/unregistering impl service. - listener = new ShellServiceListener(); - try { - context.addServiceListener(listener, - "(objectClass=" + org.apache.felix.shell.ShellService.class.getName() + ")"); - } catch (InvalidSyntaxException ex) { - System.err.println("ShellTui: Cannot add service listener."); - System.err.println("ShellTui: " + ex); - } - - // Now try to manually initialize the impl service - // since one might already be available. - initializeService(); - - // Start impl thread. - shellRunnable = new ShellTuiRunnable(); - thread = new Thread(shellRunnable, "Felix Shell TUI"); - thread.start(); - } - - public void stop(BundleContext bcontext) { - if (shellRunnable != null) { - shellRunnable.stop(); - thread.interrupt(); - } - if (listener != null) { - context.removeServiceListener(listener); - } - uninitializeService(); - } - - private synchronized void initializeService() { - if (shell != null) { - return; - } - shellRef = context.getServiceReference(org.apache.felix.shell.ShellService.class.getName()); - if (shellRef == null) { - return; - } - shell = (ShellService)context.getService(shellRef); - } - - private synchronized void uninitializeService() { - if (shellRef != null) { - context.ungetService(shellRef); - } - shellRef = null; - shell = null; - } - - private class ShellServiceListener implements ServiceListener { - public void serviceChanged(ServiceEvent event) { - synchronized (Activator.this) { - if (event.getType() == ServiceEvent.REGISTERED) { - // Ignore additional services if we already have one. - if (shellRef == null) { - // Initialize the service if we don't have one. - initializeService(); - } - } else if (event.getType() == ServiceEvent.UNREGISTERING - && event.getServiceReference().equals(shellRef)) { - // Unget the service if it is unregistering. - uninitializeService(); - // Try to get another service. - initializeService(); - } - } - } - } - - private class ShellTuiRunnable implements Runnable { - - private volatile boolean stop; - - public void stop() { - stop = true; - } - - public void run() { - String line; - BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); - - while (!stop) { - System.out.print("-> "); - - try { - line = in.readLine(); - } catch (IOException ex) { - System.err.println("Could not read input, please try again."); - continue; - } - - synchronized (Activator.this) { - if (shell == null) { - System.out.println("No impl service available."); - continue; - } - - if (line == null) { - continue; - } - - line = line.trim(); - - if (line.isEmpty()) { - continue; - } - - try { - if (line.startsWith(RUN_CMD)) { - String path = line.substring(RUN_CMD.length()).trim(); - System.out.println("loading commands from: " + path); - File commands = new File(path); - if (commands.exists()) { - BufferedReader reader = new BufferedReader(new FileReader(commands)); - String command = reader.readLine().trim(); - while (command != null) { - if (!command.isEmpty()) { - System.out.println("\nexecuting: " + command); - shell.executeCommand(command.trim(), System.out, System.err); - } - command = reader.readLine(); - } - reader.close(); - } else { - System.err.println(path + " not found"); - } - } else { - shell.executeCommand(line, System.out, System.err); - } - } catch (Exception ex) { - System.err.println("ShellTui: " + ex); - ex.printStackTrace(); - } - } - } - } - } -} http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/parent/pom.xml ---------------------------------------------------------------------- diff --git a/parent/pom.xml b/parent/pom.xml index e30dc89..82bb30a 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -32,14 +32,9 @@ 4.3.1 1.8.0 3.1.6 - 3.1.0 5.4.0 - 4.2.4.RELEASE - 1.2.1 3.4.8 - 1.0.0 - 2.6.0 1.0.11 1.7.0 @@ -57,6 +52,7 @@ 2.2.1.1_2 1.7.14 4.8.0 + true @@ -157,6 +153,46 @@ + + + + org.slf4j + slf4j-api + + + org.osgi + org.osgi.core + provided + + + org.osgi + org.osgi.compendium + provided + + + + org.apache.aries.rsa + org.apache.aries.rsa.spi + ${aries.rsa.version} + + + + junit + junit + test + + + org.easymock + easymockclassextension + test + + + org.slf4j + slf4j-jdk14 + 1.7.14 + test + + install @@ -236,8 +272,24 @@ true NONE - <_include>-bnd.bnd + + !* + <_include>-bnd.bnd + + + + baseline + + baseline + + + ${baseline} + ${baseline.skip} + true + + + org.apache.maven.plugins http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/samples/ds/interface/bnd.bnd ---------------------------------------------------------------------- diff --git a/samples/ds/interface/bnd.bnd b/samples/ds/interface/bnd.bnd new file mode 100644 index 0000000..0bf50d5 --- /dev/null +++ b/samples/ds/interface/bnd.bnd @@ -0,0 +1 @@ +Export-Package: org.apache.cxf.dosgi.samples.ds \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/samples/ds/interface/pom.xml ---------------------------------------------------------------------- diff --git a/samples/ds/interface/pom.xml b/samples/ds/interface/pom.xml index 4598db8..1952f06 100644 --- a/samples/ds/interface/pom.xml +++ b/samples/ds/interface/pom.xml @@ -20,11 +20,9 @@ 4.0.0 - org.apache.cxf.dosgi.samples cxf-dosgi-ri-samples-ds-interface bundle Distributed OSGI Declarative Services Sample Interface - 1.9-SNAPSHOT org.apache.cxf.dosgi.samples @@ -36,22 +34,4 @@ .. - - - - - org.apache.felix - maven-bundle-plugin - - - ${project.name} - The interfaces of the Distributed OSGi with Declarative Services sample - ${project.artifactId} - - org.apache.cxf.dosgi.samples.ds - - - - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/samples/greeter/interface/bnd.bnd ---------------------------------------------------------------------- diff --git a/samples/greeter/interface/bnd.bnd b/samples/greeter/interface/bnd.bnd new file mode 100644 index 0000000..241de97 --- /dev/null +++ b/samples/greeter/interface/bnd.bnd @@ -0,0 +1 @@ +Export-Package: org.apache.cxf.dosgi.samples.greeter \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/samples/greeter_rest/interface/bnd.bnd ---------------------------------------------------------------------- diff --git a/samples/greeter_rest/interface/bnd.bnd b/samples/greeter_rest/interface/bnd.bnd new file mode 100644 index 0000000..dad324a --- /dev/null +++ b/samples/greeter_rest/interface/bnd.bnd @@ -0,0 +1 @@ +Export-Package: org.apache.cxf.dosgi.samples.greeter.rest \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/samples/greeter_rest/interface/pom.xml ---------------------------------------------------------------------- diff --git a/samples/greeter_rest/interface/pom.xml b/samples/greeter_rest/interface/pom.xml index c312f43..91b33da 100644 --- a/samples/greeter_rest/interface/pom.xml +++ b/samples/greeter_rest/interface/pom.xml @@ -23,7 +23,6 @@ cxf-dosgi-ri-samples-greeter-rest-interface bundle Distributed OSGI Greeter REST Interface - 1.9-SNAPSHOT org.apache.cxf.dosgi @@ -33,23 +32,11 @@ - javax.ws.rs,javax.xml.bind.annotation,* - org.apache.cxf.dosgi.samples.greeter.rest - .. + ../../.. - junit - junit - test - - - org.easymock - easymockclassextension - test - - org.apache.servicemix.specs org.apache.servicemix.specs.jsr339-api-m10 ${servicemix.specs.version} @@ -61,22 +48,4 @@ - - - - org.apache.felix - maven-bundle-plugin - - - CXF Distributed OSGi Greeter REST Demo Interface Bundle - The interfaces of the CXF Distributed OSGi Greeter REST demo - ${project.artifactId} - ${bundle.import.package} - ${bundle.export.package} - - - - - - http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/samples/security_filter/bnd.bnd ---------------------------------------------------------------------- diff --git a/samples/security_filter/bnd.bnd b/samples/security_filter/bnd.bnd new file mode 100644 index 0000000..2056f10 --- /dev/null +++ b/samples/security_filter/bnd.bnd @@ -0,0 +1,2 @@ +Private-Package: org.apache.cxf.dosgi.samples.security +Bundle-Activator: org.apache.cxf.dosgi.samples.security.Activator \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cxf-dosgi/blob/79bb9a43/samples/security_filter/pom.xml ---------------------------------------------------------------------- diff --git a/samples/security_filter/pom.xml b/samples/security_filter/pom.xml index 3598cfc..1c6d0c6 100644 --- a/samples/security_filter/pom.xml +++ b/samples/security_filter/pom.xml @@ -16,7 +16,6 @@ cxf-dosgi-ri-samples-security bundle Distributed OSGI Security Sample Bundle - 1.9-SNAPSHOT org.apache.cxf.dosgi @@ -31,14 +30,6 @@ - org.osgi - org.osgi.core - - - org.osgi - org.osgi.compendium - - org.apache.geronimo.specs geronimo-servlet_${servlet.version}_spec 1.0 @@ -48,30 +39,6 @@ org.apache.servicemix.specs.jsr311-api-1.0 ${servicemix.specs.version} - - org.slf4j - slf4j-api - - - - - org.apache.felix - maven-bundle-plugin - - - ${project.name} - An example Distributed OSGi - endpoint that passes requests through a - security filter - ${project.artifactId} - org.apache.cxf.dosgi.samples.security - org.apache.cxf.dosgi.samples.security.Activator - - - - - -