summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution')
-rw-r--r--sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/README7
-rw-r--r--sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/pom.xml76
-rw-r--r--sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/src/main/resources/META-INF/sca-contribution.xml26
-rw-r--r--sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/src/main/resources/scdl-include.composite30
4 files changed, 0 insertions, 139 deletions
diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/README b/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/README
deleted file mode 100644
index ed0f1d0ce4..0000000000
--- a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/README
+++ /dev/null
@@ -1,7 +0,0 @@
-The README in the <distribution-unpack-dir>/samples directory provides
-general instructions about building and running samples. (where
-distribution-unpack-dir is the directory in which you unpacked the tuscany
-binary distribution archive). Take a look there first (noting at you read it that this sample
-is not a new style sample).
-
-TODO - finish this \ No newline at end of file
diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/pom.xml b/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/pom.xml
deleted file mode 100644
index 4dc78b86e8..0000000000
--- a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/pom.xml
+++ /dev/null
@@ -1,76 +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>
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-samples</artifactId>
- <version>2.0-Beta1-SNAPSHOT</version>
- <relativePath>../pom.xml</relativePath>
- </parent>
-
- <packaging>zip</packaging>
- <artifactId>sample-scdl-include-contribution</artifactId>
- <name>Apache Tuscany SCA Sample include Composite Contribution</name>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.tuscany.sca</groupId>
- <artifactId>tuscany-sca-api</artifactId>
- <version>2.0-Beta1-SNAPSHOT</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <finalName>${artifactId}</finalName>
-
- <plugins>
-
- <!-- plugin to support zip packaging for SCA contributions -->
- <plugin>
- <groupId>org.apache.tuscany.maven.plugins</groupId>
- <artifactId>maven-zip-plugin</artifactId>
- <version>alpha2</version>
- <extensions>true</extensions>
- </plugin>
-
- <!-- plugin to support using mvn tuscany:run to run this contribution -->
- <plugin>
- <groupId>org.apache.tuscany.maven.plugins</groupId>
- <artifactId>maven-tuscany-plugin</artifactId>
- <version>2.0-Beta1-SNAPSHOT</version>
- <configuration>
- <contributions>
- <!-- add the dependee contribution that this contribution uses -->
- <param>..\helloworld-contribution\target\helloworld-contribution.jar</param>
- </contributions>
- </configuration>
- </plugin>
-
- </plugins>
- </build>
-</project>
diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/src/main/resources/META-INF/sca-contribution.xml b/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/src/main/resources/META-INF/sca-contribution.xml
deleted file mode 100644
index b7677f1740..0000000000
--- a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/src/main/resources/META-INF/sca-contribution.xml
+++ /dev/null
@@ -1,26 +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.
--->
-<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:sample="http://sample">
- <deployable composite="sample:scdl-include"/>
- <import namespace="http://sample"/>
- <export namespace="http://sample"/>
-</contribution>
-
diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/src/main/resources/scdl-include.composite b/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/src/main/resources/scdl-include.composite
deleted file mode 100644
index 7f75c65a68..0000000000
--- a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/scdl-include-contribution/src/main/resources/scdl-include.composite
+++ /dev/null
@@ -1,30 +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.
--->
-<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- targetNamespace="http://sample"
- xmlns:sample="http://sample"
- name="scdl-include">
-
- <include name="sample:helloworld" />
-
- <service name="MyHelloworld" promote="HelloworldComponent/Helloworld" />
-
-</composite>