From commits-return-21352-apmail-tuscany-commits-archive=tuscany.apache.org@tuscany.apache.org Sun Apr 05 07:20:07 2009 Return-Path: Delivered-To: apmail-tuscany-commits-archive@www.apache.org Received: (qmail 64293 invoked from network); 5 Apr 2009 07:20:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Apr 2009 07:20:07 -0000 Received: (qmail 28673 invoked by uid 500); 5 Apr 2009 07:20:07 -0000 Delivered-To: apmail-tuscany-commits-archive@tuscany.apache.org Received: (qmail 28601 invoked by uid 500); 5 Apr 2009 07:20:07 -0000 Mailing-List: contact commits-help@tuscany.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tuscany.apache.org Delivered-To: mailing list commits@tuscany.apache.org Received: (qmail 28592 invoked by uid 99); 5 Apr 2009 07:20:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2009 07:20:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2009 07:19:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B77752388970; Sun, 5 Apr 2009 07:19:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r762052 - in /tuscany/java/sca/archetypes/contribution-zip: ./ META-INF/ src/ src/main/ src/main/resources/ src/main/resources/META-INF/ src/main/resources/META-INF/maven/ src/main/resources/archetype-resources/ src/main/resources/archetype... Date: Sun, 05 Apr 2009 07:19:34 -0000 To: commits@tuscany.apache.org From: antelder@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090405071934.B77752388970@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-modules + 2.0-SNAPSHOT + ../../pom.xml + + + tuscany-contribution-zip + maven-archetype + Create an SCA ZIP contribution project + + + + + org.apache.maven.archetype + archetype-packaging + 2.0-alpha-3 + + + + + maven-archetype-plugin + 2.0-alpha-3 + true + + + + + 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 @@ + + + + + + src/main/java + + **/*.java + + + + src/main/resources + + **/*.xml + **/*.composite + + + + \ 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 @@ + + + + tuscany-contribution-jar + + src\main\java\HelloworldImpl.java + src\main\java\HelloworldService.java + + + src\main\hello.composite + src\main\webapp\META-INF\sca-contribution.xml + + \ 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 @@ + + + + + 4.0.0 + ${groupId} + ${artifactId} + zip + ${version} + #literal() + quickstart + + + + + + org.apache.tuscany.sca + tuscany-sca-api + ${tuscany.version} + provided + + + + + commons-io + commons-io + 1.4 + + + + + junit + junit + 3.8.2 + test + + + + + install + ${artifactId} + + + false + src/main/resources + + + false + src/main/java + + ** + + + **/*.java + + + + + + false + src/test/java + + ** + + + **/*.java + + + + + + true + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + true + true + + + + org.apache.maven.plugins + maven-eclipse-plugin + + true + + + + org.apache.tuscany.maven.plugins + maven-zip-plugin + true + + + + + 2.0-SNAPSHOT + + #end + \ 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 @@ + + + + + \ 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 @@ + + + + + + + + +