diff options
Diffstat (limited to 'java')
-rw-r--r-- | java/sca/itest/contribution/pom.xml | 7 | ||||
-rw-r--r-- | java/sca/itest/contribution/src/main/java/calculator/CalculatorClient.java | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/java/sca/itest/contribution/pom.xml b/java/sca/itest/contribution/pom.xml index 1c219cbd6c..6b2f0e7cef 100644 --- a/java/sca/itest/contribution/pom.xml +++ b/java/sca/itest/contribution/pom.xml @@ -34,6 +34,13 @@ <artifactId>tuscany-host-embedded</artifactId>
<version>1.4-SNAPSHOT</version>
</dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-implementation-java-runtime</artifactId>
+ <version>1.4-SNAPSHOT</version>
+ <scope>runtime</scope>
+ </dependency>
<dependency>
<groupId>org.apache.tuscany.sca</groupId>
diff --git a/java/sca/itest/contribution/src/main/java/calculator/CalculatorClient.java b/java/sca/itest/contribution/src/main/java/calculator/CalculatorClient.java index 40ca4d9b0f..719ad69eef 100644 --- a/java/sca/itest/contribution/src/main/java/calculator/CalculatorClient.java +++ b/java/sca/itest/contribution/src/main/java/calculator/CalculatorClient.java @@ -28,7 +28,7 @@ import org.apache.tuscany.sca.host.embedded.SCADomain; public class CalculatorClient {
public static void main(String[] args) throws Exception {
- SCADomain domain = SCADomain.newInstance("Calculator.composite");
+ SCADomain domain = SCADomain.newInstance("calculator/Calculator.composite");
CalculatorService calculatorService = domain.getService(CalculatorService.class,
"CalculatorServiceComponent");
|