summaryrefslogtreecommitdiffstats
path: root/java/sca
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca')
-rw-r--r--java/sca/itest/osgi-contribution/contribution-classes-v2/pom.xml2
-rw-r--r--java/sca/itest/osgi-contribution/contribution-classes/pom.xml2
-rw-r--r--java/sca/itest/osgi-contribution/contribution-test/pom.xml12
-rw-r--r--java/sca/itest/osgi-contribution/contribution-test/src/test/resources/osgi/felix/felix.config.properties10
-rw-r--r--java/sca/itest/osgi-implementation/pom.xml12
-rw-r--r--java/sca/itest/osgi-implementation/src/test/resources/osgi/felix/felix.config.properties10
-rw-r--r--java/sca/itest/osgi-tuscany/osgi-tuscany-test/pom.xml12
-rw-r--r--java/sca/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/META-INF/MANIFEST.MF4
-rw-r--r--java/sca/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/felix/felix.config.properties10
-rw-r--r--java/sca/itest/osgi-tuscany/sca-api/pom.xml2
-rw-r--r--java/sca/itest/osgi-tuscany/test-bundles/pom.xml2
-rw-r--r--java/sca/itest/osgi-tuscany/tuscany-3rdparty/pom.xml2
-rw-r--r--java/sca/itest/osgi-tuscany/tuscany-extensions/pom.xml2
-rw-r--r--java/sca/itest/osgi-tuscany/tuscany-osgi-installer/pom.xml2
-rw-r--r--java/sca/itest/osgi-tuscany/tuscany-osgi-installer/src/main/java/org/apache/tuscany/sca/installer/InstallerBundleActivator.java3
-rw-r--r--java/sca/itest/osgi-tuscany/tuscany-runtime/pom.xml2
-rw-r--r--java/sca/itest/osgi-tuscany/tuscany-spi/pom.xml2
-rw-r--r--java/sca/modules/binding-jsonrpc-runtime/pom.xml11
-rw-r--r--java/sca/modules/contribution-osgi/pom.xml2
-rw-r--r--java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java6
-rw-r--r--java/sca/modules/implementation-osgi/pom.xml2
-rw-r--r--java/sca/modules/node2-api/pom.xml1
-rw-r--r--java/sca/modules/osgi-runtime/pom.xml2
-rw-r--r--java/sca/modules/pom.xml2
-rw-r--r--java/sca/samples/osgi-supplychain/pom.xml2
25 files changed, 51 insertions, 68 deletions
diff --git a/java/sca/itest/osgi-contribution/contribution-classes-v2/pom.xml b/java/sca/itest/osgi-contribution/contribution-classes-v2/pom.xml
index a14b919241..edbb66ab09 100644
--- a/java/sca/itest/osgi-contribution/contribution-classes-v2/pom.xml
+++ b/java/sca/itest/osgi-contribution/contribution-classes-v2/pom.xml
@@ -66,7 +66,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1</version>
</dependency>
diff --git a/java/sca/itest/osgi-contribution/contribution-classes/pom.xml b/java/sca/itest/osgi-contribution/contribution-classes/pom.xml
index 24fb424aef..0a95927b7f 100644
--- a/java/sca/itest/osgi-contribution/contribution-classes/pom.xml
+++ b/java/sca/itest/osgi-contribution/contribution-classes/pom.xml
@@ -66,7 +66,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.osgi.core</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1</version>
</dependency>
<dependency>
diff --git a/java/sca/itest/osgi-contribution/contribution-test/pom.xml b/java/sca/itest/osgi-contribution/contribution-test/pom.xml
index 7024b39f65..6853aba2d1 100644
--- a/java/sca/itest/osgi-contribution/contribution-test/pom.xml
+++ b/java/sca/itest/osgi-contribution/contribution-test/pom.xml
@@ -65,25 +65,19 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.4</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.core</artifactId>
- <version>1.0.0</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
- <version>1.0.0</version>
+ <version>1.0.2</version>
</dependency>
diff --git a/java/sca/itest/osgi-contribution/contribution-test/src/test/resources/osgi/felix/felix.config.properties b/java/sca/itest/osgi-contribution/contribution-test/src/test/resources/osgi/felix/felix.config.properties
index 154176f54e..ea8d272a0c 100644
--- a/java/sca/itest/osgi-contribution/contribution-test/src/test/resources/osgi/felix/felix.config.properties
+++ b/java/sca/itest/osgi-contribution/contribution-test/src/test/resources/osgi/felix/felix.config.properties
@@ -27,12 +27,12 @@ org.osgi.framework.system.packages=org.osgi.framework; version=1.3.0, \
felix.auto.start.1= \
- "file://${FELIX_DIR}/org.apache.felix.scr/1.0.0/org.apache.felix.scr-1.0.0.jar" \
- "file://${FELIX_DIR}/org.apache.felix.configadmin/1.0.0/org.apache.felix.configadmin-1.0.0.jar"
+ "file://${FELIX_DIR}/org.apache.felix.scr/1.0.2/org.apache.felix.scr-1.0.2.jar" \
+ "file://${FELIX_DIR}/org.apache.felix.configadmin/1.0.1/org.apache.felix.configadmin-1.0.1.jar"
-# "file://${FELIX_DIR}/org.apache.felix.bundlerepository/1.1.0-SNAPSHOT/org.apache.felix.bundlerepository-1.1.0-SNAPSHOT.jar" \
-# "file://${FELIX_DIR}/org.apache.felix.shell/1.1.0-SNAPSHOT/org.apache.felix.shell-1.1.0-SNAPSHOT.jar" \
-# "file://${FELIX_DIR}/org.apache.felix.shell.tui/1.1.0-SNAPSHOT/org.apache.felix.shell.tui-1.1.0-SNAPSHOT.jar" \
+# "file://${FELIX_DIR}/org.apache.felix.bundlerepository/1.0.3/org.apache.felix.bundlerepository-1.0.3.jar" \
+# "file://${FELIX_DIR}/org.apache.felix.shell/1.0.1/org.apache.felix.shell-1.0.1.jar" \
+# "file://${FELIX_DIR}/org.apache.felix.shell.tui/1.0.1/org.apache.felix.shell.tui-1.0.1.jar" \
felix.startlevel.framework=1
felix.startlevel.bundle=1
diff --git a/java/sca/itest/osgi-implementation/pom.xml b/java/sca/itest/osgi-implementation/pom.xml
index 85b1becc7f..71d5240a21 100644
--- a/java/sca/itest/osgi-implementation/pom.xml
+++ b/java/sca/itest/osgi-implementation/pom.xml
@@ -33,19 +33,13 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.4</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.core</artifactId>
- <version>1.0.0</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<!-- Exclude the javax.servlet to avoid conflict -->
<exclusions>
<exclusion>
@@ -58,7 +52,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
- <version>1.0.0</version>
+ <version>1.0.2</version>
</dependency>
<dependency>
diff --git a/java/sca/itest/osgi-implementation/src/test/resources/osgi/felix/felix.config.properties b/java/sca/itest/osgi-implementation/src/test/resources/osgi/felix/felix.config.properties
index 5aa83f15eb..8399991503 100644
--- a/java/sca/itest/osgi-implementation/src/test/resources/osgi/felix/felix.config.properties
+++ b/java/sca/itest/osgi-implementation/src/test/resources/osgi/felix/felix.config.properties
@@ -27,13 +27,13 @@ org.osgi.framework.system.packages=org.osgi.framework; version=1.3.0, \
felix.auto.start.1= \
- "file://${FELIX_DIR}/org.apache.felix.scr/1.0.0/org.apache.felix.scr-1.0.0.jar" \
- "file://${FELIX_DIR}/org.apache.felix.configadmin/1.0.0/org.apache.felix.configadmin-1.0.0.jar"
+ "file://${FELIX_DIR}/org.apache.felix.scr/1.0.2/org.apache.felix.scr-1.0.2.jar" \
+ "file://${FELIX_DIR}/org.apache.felix.configadmin/1.0.1/org.apache.felix.configadmin-1.0.1.jar"
-# "file://${FELIX_DIR}/org.apache.felix.shell/1.1.0-SNAPSHOT/org.apache.felix.shell-1.1.0-SNAPSHOT.jar" \
-# "file://${FELIX_DIR}/org.apache.felix.shell.tui/1.1.0-SNAPSHOT/org.apache.felix.shell.tui-1.1.0-SNAPSHOT.jar" \
-# "file://${FELIX_DIR}/org.apache.felix.bundlerepository/1.1.0-SNAPSHOT/org.apache.felix.bundlerepository-1.1.0-SNAPSHOT.jar" \
+# "file://${FELIX_DIR}/org.apache.felix.shell/1.0.1/org.apache.felix.shell-1.0.1.jar" \
+# "file://${FELIX_DIR}/org.apache.felix.shell.tui/1.0.1/org.apache.felix.shell.tui-1.0.1.jar" \
+# "file://${FELIX_DIR}/org.apache.felix.bundlerepository/1.0.3/org.apache.felix.bundlerepository-1.0.3.jar" \
felix.startlevel.framework=1
felix.startlevel.bundle=1
diff --git a/java/sca/itest/osgi-tuscany/osgi-tuscany-test/pom.xml b/java/sca/itest/osgi-tuscany/osgi-tuscany-test/pom.xml
index e873241640..fa1ace68ac 100644
--- a/java/sca/itest/osgi-tuscany/osgi-tuscany-test/pom.xml
+++ b/java/sca/itest/osgi-tuscany/osgi-tuscany-test/pom.xml
@@ -42,19 +42,13 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.4</version>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
- <artifactId>org.osgi.core</artifactId>
- <version>1.0.0</version>
- </dependency>
-
- <dependency>
- <groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.configadmin</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<exclusions>
<exclusion>
<groupId>org.apache.felix</groupId>
@@ -66,7 +60,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr</artifactId>
- <version>1.0.0</version>
+ <version>1.0.2</version>
</dependency>
End Felix dependencies -->
diff --git a/java/sca/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/META-INF/MANIFEST.MF b/java/sca/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/META-INF/MANIFEST.MF
index 651945ba13..8985947286 100644
--- a/java/sca/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/META-INF/MANIFEST.MF
+++ b/java/sca/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/META-INF/MANIFEST.MF
@@ -10,7 +10,5 @@ Import-Package: org.osgi.framework,
org.apache.tuscany.sca.host.embedded,
org.osoa.sca,
org.osoa.sca.annotations,
- org.apache.tuscany.sca.databinding.annotation,
- org.apache.tuscany.sca.domain,
- org.apache.tuscany.sca.node
+ org.apache.tuscany.sca.databinding.annotation
DynamicImport-Package: *
diff --git a/java/sca/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/felix/felix.config.properties b/java/sca/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/felix/felix.config.properties
index 286bbb1229..6a38f48c4a 100644
--- a/java/sca/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/felix/felix.config.properties
+++ b/java/sca/itest/osgi-tuscany/osgi-tuscany-test/src/test/resources/felix/felix.config.properties
@@ -27,12 +27,12 @@ org.osgi.framework.system.packages=org.osgi.framework; version=1.3.0, \
felix.auto.start.1= \
- "file://${FELIX_DIR}/org.apache.felix.scr/1.0.0/org.apache.felix.scr-1.0.0.jar"
+ "file://${FELIX_DIR}/org.apache.felix.scr/1.0.2/org.apache.felix.scr-1.0.2.jar"
-# "file://${FELIX_DIR}/org.apache.felix.configadmin/1.0.0/org.apache.felix.configadmin-1.0.0.jar"
-# "file://${FELIX_DIR}/org.apache.felix.shell/1.1.0-SNAPSHOT/org.apache.felix.shell-1.1.0-SNAPSHOT.jar" \
-# "file://${FELIX_DIR}/org.apache.felix.shell.tui/1.1.0-SNAPSHOT/org.apache.felix.shell.tui-1.1.0-SNAPSHOT.jar" \
-# "file://${FELIX_DIR}/org.apache.felix.bundlerepository/1.1.0-SNAPSHOT/org.apache.felix.bundlerepository-1.1.0-SNAPSHOT.jar" \
+# "file://${FELIX_DIR}/org.apache.felix.configadmin/1.0.1/org.apache.felix.configadmin-1.0.1.jar"
+# "file://${FELIX_DIR}/org.apache.felix.shell/1.0.1/org.apache.felix.shell-1.0.1.jar" \
+# "file://${FELIX_DIR}/org.apache.felix.shell.tui/1.0.1/org.apache.felix.shell.tui-1.0.1.jar" \
+# "file://${FELIX_DIR}/org.apache.felix.bundlerepository/1.0.3/org.apache.felix.bundlerepository-1.0.3.jar" \
felix.startlevel.framework=1
diff --git a/java/sca/itest/osgi-tuscany/sca-api/pom.xml b/java/sca/itest/osgi-tuscany/sca-api/pom.xml
index f277ae36d0..3c74d327e1 100644
--- a/java/sca/itest/osgi-tuscany/sca-api/pom.xml
+++ b/java/sca/itest/osgi-tuscany/sca-api/pom.xml
@@ -43,7 +43,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.2.1</version>
+ <version>1.4.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
diff --git a/java/sca/itest/osgi-tuscany/test-bundles/pom.xml b/java/sca/itest/osgi-tuscany/test-bundles/pom.xml
index 3fb17dec84..b53beea930 100644
--- a/java/sca/itest/osgi-tuscany/test-bundles/pom.xml
+++ b/java/sca/itest/osgi-tuscany/test-bundles/pom.xml
@@ -44,7 +44,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.4</version>
</dependency>
diff --git a/java/sca/itest/osgi-tuscany/tuscany-3rdparty/pom.xml b/java/sca/itest/osgi-tuscany/tuscany-3rdparty/pom.xml
index 4c04d6869a..9458b5af04 100644
--- a/java/sca/itest/osgi-tuscany/tuscany-3rdparty/pom.xml
+++ b/java/sca/itest/osgi-tuscany/tuscany-3rdparty/pom.xml
@@ -291,7 +291,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.2.1</version>
+ <version>1.4.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
diff --git a/java/sca/itest/osgi-tuscany/tuscany-extensions/pom.xml b/java/sca/itest/osgi-tuscany/tuscany-extensions/pom.xml
index 2559ab706c..756e0eea80 100644
--- a/java/sca/itest/osgi-tuscany/tuscany-extensions/pom.xml
+++ b/java/sca/itest/osgi-tuscany/tuscany-extensions/pom.xml
@@ -324,7 +324,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.2.1</version>
+ <version>1.4.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
diff --git a/java/sca/itest/osgi-tuscany/tuscany-osgi-installer/pom.xml b/java/sca/itest/osgi-tuscany/tuscany-osgi-installer/pom.xml
index 4f9fca93fb..bc0a1399cb 100644
--- a/java/sca/itest/osgi-tuscany/tuscany-osgi-installer/pom.xml
+++ b/java/sca/itest/osgi-tuscany/tuscany-osgi-installer/pom.xml
@@ -480,7 +480,6 @@
<artifactId>tuscany-implementation-widget-runtime</artifactId>
<version>${pom.version}</version>
</dependency>
-<!--
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>tuscany-node2-api</artifactId>
@@ -496,7 +495,6 @@
<artifactId>tuscany-node2-launcher</artifactId>
<version>${pom.version}</version>
</dependency>
--->
<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>tuscany-policy</artifactId>
diff --git a/java/sca/itest/osgi-tuscany/tuscany-osgi-installer/src/main/java/org/apache/tuscany/sca/installer/InstallerBundleActivator.java b/java/sca/itest/osgi-tuscany/tuscany-osgi-installer/src/main/java/org/apache/tuscany/sca/installer/InstallerBundleActivator.java
index f87e22d464..17b187a86f 100644
--- a/java/sca/itest/osgi-tuscany/tuscany-osgi-installer/src/main/java/org/apache/tuscany/sca/installer/InstallerBundleActivator.java
+++ b/java/sca/itest/osgi-tuscany/tuscany-osgi-installer/src/main/java/org/apache/tuscany/sca/installer/InstallerBundleActivator.java
@@ -42,9 +42,6 @@ public class InstallerBundleActivator implements BundleActivator {
};
private static final String[] tuscanyModulesToIgnore = {
- "node2-api",
- "node2-impl",
- "node2-launcher",
"node2-launcher-webapp",
"implementation-node-runtime", // uses node2
"saxon",
diff --git a/java/sca/itest/osgi-tuscany/tuscany-runtime/pom.xml b/java/sca/itest/osgi-tuscany/tuscany-runtime/pom.xml
index 58c168cb1d..1d0fba8a83 100644
--- a/java/sca/itest/osgi-tuscany/tuscany-runtime/pom.xml
+++ b/java/sca/itest/osgi-tuscany/tuscany-runtime/pom.xml
@@ -153,7 +153,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.2.1</version>
+ <version>1.4.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
diff --git a/java/sca/itest/osgi-tuscany/tuscany-spi/pom.xml b/java/sca/itest/osgi-tuscany/tuscany-spi/pom.xml
index 28d55fa2c6..9f59a9303a 100644
--- a/java/sca/itest/osgi-tuscany/tuscany-spi/pom.xml
+++ b/java/sca/itest/osgi-tuscany/tuscany-spi/pom.xml
@@ -98,7 +98,7 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
- <version>1.2.1</version>
+ <version>1.4.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
diff --git a/java/sca/modules/binding-jsonrpc-runtime/pom.xml b/java/sca/modules/binding-jsonrpc-runtime/pom.xml
index 8bb1d52552..598f92f324 100644
--- a/java/sca/modules/binding-jsonrpc-runtime/pom.xml
+++ b/java/sca/modules/binding-jsonrpc-runtime/pom.xml
@@ -146,8 +146,15 @@
<Bundle-Version>${tuscany.version}</Bundle-Version>
<Bundle-SymbolicName>org.apache.tuscany.sca.binding.jsonrpc.runtime</Bundle-SymbolicName>
<Bundle-Description>${pom.name}</Bundle-Description>
- <Export-Package>org.apache.tuscany.sca.binding.jsonrpc*</Export-Package>
- <Import-Package>org.apache.tuscany.sca.assembly.xml,*</Import-Package>
+ <Export-Package>
+ !org.apache.tuscany.sca.binding.jsonrpc,
+ org.apache.tuscany.sca.binding.jsonrpc*
+ </Export-Package>
+ <Import-Package>
+ org.apache.tuscany.sca.assembly.xml,
+ org.apache.tuscany.sca.binding.jsonrpc,
+ *
+ </Import-Package>
</instructions>
</configuration>
</plugin>
diff --git a/java/sca/modules/contribution-osgi/pom.xml b/java/sca/modules/contribution-osgi/pom.xml
index 7f5859cad4..9e3c5b6917 100644
--- a/java/sca/modules/contribution-osgi/pom.xml
+++ b/java/sca/modules/contribution-osgi/pom.xml
@@ -50,7 +50,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.4</version>
</dependency>
diff --git a/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java b/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java
index fcf7843fa9..45a4494f24 100644
--- a/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java
+++ b/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java
@@ -96,7 +96,7 @@ public class ServiceDiscovery {
* @return set of service declarations
* @throws IOException
*/
- public Set<ServiceDeclaration> getServiceDeclarations(String name) throws IOException {
+ public synchronized Set<ServiceDeclaration> getServiceDeclarations(String name) throws IOException {
Set<ServiceDeclaration> classSet = new HashSet<ServiceDeclaration>();
@@ -126,7 +126,7 @@ public class ServiceDiscovery {
* @throws IOException
* @throws ClassNotFoundException
*/
- public Class<?> loadFirstServiceClass(Class<?> serviceInterface) throws IOException, ClassNotFoundException {
+ public synchronized Class<?> loadFirstServiceClass(Class<?> serviceInterface) throws IOException, ClassNotFoundException {
Set<ServiceDeclaration> classSet = new HashSet<ServiceDeclaration>();
@@ -151,7 +151,7 @@ public class ServiceDiscovery {
* @return Table of URLs with associated ClassLoaders
* @throws IOException
*/
- public Hashtable<ClassLoader, Set<URL>> getServiceResources(final String name) throws IOException {
+ public synchronized Hashtable<ClassLoader, Set<URL>> getServiceResources(final String name) throws IOException {
Hashtable<ClassLoader, Set<URL>> resourceTable = new Hashtable<ClassLoader, Set<URL>>();
diff --git a/java/sca/modules/implementation-osgi/pom.xml b/java/sca/modules/implementation-osgi/pom.xml
index 5d695b91ab..55e61fda93 100644
--- a/java/sca/modules/implementation-osgi/pom.xml
+++ b/java/sca/modules/implementation-osgi/pom.xml
@@ -37,7 +37,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.4</version>
</dependency>
diff --git a/java/sca/modules/node2-api/pom.xml b/java/sca/modules/node2-api/pom.xml
index 05d3ce6e57..8e52a99014 100644
--- a/java/sca/modules/node2-api/pom.xml
+++ b/java/sca/modules/node2-api/pom.xml
@@ -51,6 +51,7 @@
<Bundle-SymbolicName>org.apache.tuscany.sca.node2.api</Bundle-SymbolicName>
<Bundle-Description>${pom.name}</Bundle-Description>
<Export-Package>org.apache.tuscany.sca.node*</Export-Package>
+ <DynamicImport-Package>org.apache.tuscany.sca.node.impl</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
diff --git a/java/sca/modules/osgi-runtime/pom.xml b/java/sca/modules/osgi-runtime/pom.xml
index 8bd1b7160d..cf3a379c13 100644
--- a/java/sca/modules/osgi-runtime/pom.xml
+++ b/java/sca/modules/osgi-runtime/pom.xml
@@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.4</version>
</dependency>
diff --git a/java/sca/modules/pom.xml b/java/sca/modules/pom.xml
index 7be9d31881..ae010db670 100644
--- a/java/sca/modules/pom.xml
+++ b/java/sca/modules/pom.xml
@@ -30,7 +30,7 @@
<name>Apache Tuscany SCA Implementation Modules</name>
<properties>
- <tuscany.version>2.0</tuscany.version>
+ <tuscany.version>1.4</tuscany.version>
</properties>
<profiles>
diff --git a/java/sca/samples/osgi-supplychain/pom.xml b/java/sca/samples/osgi-supplychain/pom.xml
index 24d86ce384..e2a2e0574e 100644
--- a/java/sca/samples/osgi-supplychain/pom.xml
+++ b/java/sca/samples/osgi-supplychain/pom.xml
@@ -33,7 +33,7 @@
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.main</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.0.4</version>
</dependency>
<dependency>