Author: antelder
Date: Sun Apr  5 07:19:33 2009
New Revision: 762052

URL: http://svn.apache.org/viewvc?rev=762052&view=rev
Log:
Add an archetype for zip contribution

Added:
    tuscany/java/sca/archetypes/contribution-zip/
    tuscany/java/sca/archetypes/contribution-zip/META-INF/
    tuscany/java/sca/archetypes/contribution-zip/META-INF/MANIFEST.MF
    tuscany/java/sca/archetypes/contribution-zip/pom.xml   (with props)
    tuscany/java/sca/archetypes/contribution-zip/src/
    tuscany/java/sca/archetypes/contribution-zip/src/main/
    tuscany/java/sca/archetypes/contribution-zip/src/main/resources/
    tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype-metadata.xml
   (with props)
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype.xml
   (with props)
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml
   (with props)
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java
   (with props)
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldService.java
   (with props)
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/META-INF/
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/META-INF/sca-contribution.xml
   (with props)
    
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/helloworld.composite

Added: tuscany/java/sca/archetypes/contribution-zip/META-INF/MANIFEST.MF
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/archetypes/contribution-zip/META-INF/MANIFEST.MF?rev=762052&view=auto
==============================================================================
--- tuscany/java/sca/archetypes/contribution-zip/META-INF/MANIFEST.MF (added)
+++ tuscany/java/sca/archetypes/contribution-zip/META-INF/MANIFEST.MF Sun Apr  
5 07:19:33 2009
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-Name: Apache Tuscany SCA Contribution ZIP
+Created-By: 1.6.0_07 (Sun Microsystems Inc.)
+Bundle-Vendor: The Apache Software Foundation
+Bundle-Version: 2.0.0
+Bundle-ManifestVersion: 2
+Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
+Bundle-Description: Apache Tuscany SCA ZIP Contribution Archetype
+Bundle-SymbolicName: org.apache.tuscany.sca.archetype.contribution.zip 
+Bundle-DocURL: http://www.apache.org/
+

Added: tuscany/java/sca/archetypes/contribution-zip/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/archetypes/contribution-zip/pom.xml?rev=762052&view=auto
==============================================================================
--- tuscany/java/sca/archetypes/contribution-zip/pom.xml (added)
+++ tuscany/java/sca/archetypes/contribution-zip/pom.xml Sun Apr  5 07:19:33 
2009
@@ -0,0 +1,50 @@
+<?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-modules</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../../pom.xml</relativePath>
+    </parent>
+
+    <artifactId>tuscany-contribution-zip</artifactId>
+    <packaging>maven-archetype</packaging>
+    <name>Create an SCA ZIP contribution project</name>
+
+    <build>
+    <extensions>
+      <extension>
+        <groupId>org.apache.maven.archetype</groupId>
+        <artifactId>archetype-packaging</artifactId>
+        <version>2.0-alpha-3</version>
+      </extension>
+    </extensions>
+    <plugins>
+      <plugin>
+        <artifactId>maven-archetype-plugin</artifactId>
+        <version>2.0-alpha-3</version>
+        <extensions>true</extensions>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>

Propchange: tuscany/java/sca/archetypes/contribution-zip/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: tuscany/java/sca/archetypes/contribution-zip/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: tuscany/java/sca/archetypes/contribution-zip/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=762052&view=auto
==============================================================================
--- 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype-metadata.xml
 (added)
+++ 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype-metadata.xml
 Sun Apr  5 07:19:33 2009
@@ -0,0 +1,36 @@
+<?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.    
+-->
+<archetype-descriptor name="myproject">
+  <fileSets>
+    <fileSet filtered="true" packaged="true" encoding="UTF-8">
+      <directory>src/main/java</directory>
+      <includes>
+        <include>**/*.java</include>
+      </includes>
+    </fileSet>
+    <fileSet filtered="true" encoding="UTF-8">
+      <directory>src/main/resources</directory>
+      <includes>
+        <include>**/*.xml</include>
+        <include>**/*.composite</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</archetype-descriptor>
\ No newline at end of file

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype-metadata.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype-metadata.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype-metadata.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype.xml
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype.xml?rev=762052&view=auto
==============================================================================
--- 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype.xml
 (added)
+++ 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype.xml
 Sun Apr  5 07:19:33 2009
@@ -0,0 +1,30 @@
+<?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.    
+-->
+<archetype>
+  <id>tuscany-contribution-jar</id>
+  <sources>
+    <source>src\main\java\HelloworldImpl.java</source>
+    <source>src\main\java\HelloworldService.java</source>
+  </sources>
+  <resources>
+    <resource>src\main\hello.composite</resource>
+    <resource>src\main\webapp\META-INF\sca-contribution.xml</resource>
+  </resources>
+</archetype>
\ No newline at end of file

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml?rev=762052&view=auto
==============================================================================
--- 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml
 (added)
+++ 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml
 Sun Apr  5 07:19:33 2009
@@ -0,0 +1,118 @@
+<?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>
+       <groupId>${groupId}</groupId>
+       <artifactId>${artifactId}</artifactId>
+       <packaging>zip</packaging>
+       <version>${version}</version>
+       #literal()<!-- TODO project name  -->
+       <name>quickstart</name>
+       <description></description>
+
+       <dependencies>
+               <!--  TUSCANY DEPENDENCIES -->
+            <dependency>
+               <groupId>org.apache.tuscany.sca</groupId>
+               <artifactId>tuscany-sca-api</artifactId>
+               <version>${tuscany.version}</version>
+               <scope>provided</scope>
+            </dependency>
+
+               <!--  AN EXAMPLE APPLICATION DEPENDENCY TO BE INCLUDED IN ZIP 
-->
+            <dependency>
+               <groupId>commons-io</groupId>
+               <artifactId>commons-io</artifactId>
+               <version>1.4</version>
+            </dependency>
+
+               <!--  JUNIT DEPENDENCY FOR TESTING -->
+               <dependency>
+                       <groupId>junit</groupId>
+                       <artifactId>junit</artifactId>
+                       <version>3.8.2</version>
+                       <scope>test</scope>
+               </dependency>
+
+       </dependencies>
+       <build>
+            <defaultGoal>install</defaultGoal>
+            <finalName>${artifactId}</finalName>
+               <resources>
+                       <resource>
+                               <filtering>false</filtering>
+                               <directory>src/main/resources</directory>
+                       </resource>
+                       <resource>
+                               <filtering>false</filtering>
+                               <directory>src/main/java</directory>
+                               <includes>
+                                       <include>**</include>
+                               </includes>
+                               <excludes>
+                                       <exclude>**/*.java</exclude>
+                               </excludes>
+                       </resource>
+               </resources>
+               <testResources>
+                       <testResource>
+                               <filtering>false</filtering>
+                               <directory>src/test/java</directory>
+                               <includes>
+                                       <include>**</include>
+                               </includes>
+                               <excludes>
+                                       <exclude>**/*.java</exclude>
+                               </excludes>
+                       </testResource>
+               </testResources>
+               <plugins>
+                       <plugin>
+                               <inherited>true</inherited>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-compiler-plugin</artifactId>
+                               <configuration>
+                                       <source>1.5</source>
+                                       <target>1.5</target>
+                                       <optimise>true</optimise>
+                                       <debug>true</debug>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-eclipse-plugin</artifactId>
+                               <configuration>
+                                       <downloadSources>true</downloadSources>
+                               </configuration>
+                       </plugin>
+                       <plugin>
+                               
<groupId>org.apache.tuscany.maven.plugins</groupId>
+                               <artifactId>maven-zip-plugin</artifactId>
+                        <extensions>true</extensions>
+                       </plugin>
+               </plugins>
+       </build>
+       <properties>
+               <tuscany.version>2.0-SNAPSHOT</tuscany.version>
+       </properties>
+       #end
+</project>
\ No newline at end of file

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java?rev=762052&view=auto
==============================================================================
--- 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java
 (added)
+++ 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java
 Sun Apr  5 07:19:33 2009
@@ -0,0 +1,31 @@
+/*
+ * 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 ${package};
+
+import org.oasisopen.sca.annotation.Scope;
+import org.oasisopen.sca.annotation.EagerInit;
+
+...@scope("COMPOSITE") @EagerInit
+public class HelloworldImpl implements HelloworldService {
+
+    public String sayHello(String name) {
+        return "Hello " + name;
+    }
+
+}

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldService.java
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldService.java?rev=762052&view=auto
==============================================================================
--- 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldService.java
 (added)
+++ 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldService.java
 Sun Apr  5 07:19:33 2009
@@ -0,0 +1,25 @@
+/*
+ * 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 ${package};
+
+public interface HelloworldService {
+
+    String sayHello(String name);
+
+}

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/java/HelloworldService.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/META-INF/sca-contribution.xml
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/META-INF/sca-contribution.xml?rev=762052&view=auto
==============================================================================
--- 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/META-INF/sca-contribution.xml
 (added)
+++ 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/META-INF/sca-contribution.xml
 Sun Apr  5 07:19:33 2009
@@ -0,0 +1,23 @@
+<?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/200903";
+              xmlns:sample="http://${package}";>
+   <deployable composite="sample:${artifactId}"/>
+</contribution>
\ No newline at end of file

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/META-INF/sca-contribution.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/META-INF/sca-contribution.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/META-INF/sca-contribution.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/helloworld.composite
URL: 
http://svn.apache.org/viewvc/tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/helloworld.composite?rev=762052&view=auto
==============================================================================
--- 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/helloworld.composite
 (added)
+++ 
tuscany/java/sca/archetypes/contribution-zip/src/main/resources/archetype-resources/src/main/resources/helloworld.composite
 Sun Apr  5 07:19:33 2009
@@ -0,0 +1,29 @@
+<?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/200903";
+           xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0";
+           targetNamespace="http://${package}";
+           name="${artifactId}">
+
+    <component name="HelloworldComponent">
+        <implementation.java class="${package}.HelloworldImpl"/>
+    </component>
+
+</composite>


Reply via email to