From 75813a5fd9489c1715e7544d4e1416b7a16e81eb Mon Sep 17 00:00:00 2001 From: antelder Date: Tue, 17 Mar 2009 16:20:41 +0000 Subject: [maven-release-plugin] copy for tag 2.0-M2 git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@755301 13f79535-47bb-0310-9956-ffa450edef68 --- .../archetypes/quickstart/META-INF/MANIFEST.MF | 11 ++ .../sca/tags/2.0-M2/archetypes/quickstart/pom.xml | 50 +++++++++ .../META-INF/maven/archetype-metadata.xml | 18 ++++ .../main/resources/META-INF/maven/archetype.xml | 12 +++ .../src/main/resources/archetype-resources/pom.xml | 117 +++++++++++++++++++++ .../src/main/java/HelloworldImpl.java | 9 ++ .../src/main/java/HelloworldService.java | 7 ++ .../src/main/webapp/WEB-INF/web.composite | 16 +++ .../src/main/webapp/WEB-INF/web.xml | 41 ++++++++ .../archetype-resources/src/main/webapp/hello.jsp | 18 ++++ 10 files changed, 299 insertions(+) create mode 100644 sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/META-INF/MANIFEST.MF create mode 100644 sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/pom.xml create mode 100644 sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml create mode 100644 sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/META-INF/maven/archetype.xml create mode 100644 sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml create mode 100644 sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java create mode 100644 sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/HelloworldService.java create mode 100644 sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite create mode 100644 sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml create mode 100644 sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/hello.jsp (limited to 'sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart') diff --git a/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/META-INF/MANIFEST.MF b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..aa9b613341 --- /dev/null +++ b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-Name: Apache Tuscany SCA Quickstart Archetype +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 Quickstart Archetype +Bundle-SymbolicName: org.apache.tuscany.sca.archetype.quickstart +Bundle-DocURL: http://www.apache.org/ + diff --git a/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/pom.xml b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/pom.xml new file mode 100644 index 0000000000..e671ddb589 --- /dev/null +++ b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/pom.xml @@ -0,0 +1,50 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-modules + 2.0-M2 + ../../pom.xml + + + tuscany-quickstart + maven-archetype + Create a simple Apache Tuscany SCA webapp project + + + + + org.apache.maven.archetype + archetype-packaging + 2.0-alpha-3 + + + + + maven-archetype-plugin + 2.0-alpha-3 + true + + + + + diff --git a/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml new file mode 100644 index 0000000000..1c1efacea8 --- /dev/null +++ b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -0,0 +1,18 @@ + + + + src/main/java + + **/*.java + + + + src/main/webapp + + **/*.jsp + **/*.xml + **/*.composite + + + + \ No newline at end of file diff --git a/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/META-INF/maven/archetype.xml b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/META-INF/maven/archetype.xml new file mode 100644 index 0000000000..3c37144ad1 --- /dev/null +++ b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/META-INF/maven/archetype.xml @@ -0,0 +1,12 @@ + + tuscany-quickstart + + src\main\java\HelloworldImpl.java + src\main\java\HelloworldService.java + + + src\main\webapp\hello.jsp + src\main\webapp\WEB-INF\web.composite + src\main\webapp\WEB-INF\web.xml + + \ No newline at end of file diff --git a/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml new file mode 100644 index 0000000000..07ebbc9817 --- /dev/null +++ b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml @@ -0,0 +1,117 @@ + + + 4.0.0 + ${groupId} + ${artifactId} + war + ${version} + #literal() + quickstart + + + + + + org.apache.tuscany.sca + tuscany-sca-api + ${tuscany.version} + + + + org.apache.tuscany.sca + tuscany-implementation-web-runtime + ${tuscany.version} + runtime + + + + + junit + junit + 3.8.2 + test + + + + + org.mortbay.jetty + jetty + ${jetty.version} + provided + + + org.mortbay.jetty + jetty-util + ${jetty.version} + provided + + + org.mortbay.jetty + jetty-management + ${jetty.version} + provided + + + + 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.mortbay.jetty + maven-jetty-plugin + + + org.apache.maven.plugins + maven-eclipse-plugin + + true + + + + + + 2.0-M2-SNAPSHOT + 6.1.4 + + #end + diff --git a/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java new file mode 100644 index 0000000000..b787f956c7 --- /dev/null +++ b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/HelloworldImpl.java @@ -0,0 +1,9 @@ +package ${package}; + +public class HelloworldImpl implements HelloworldService { + + public String sayHello(String name) { + return "Hello " + name; + } + +} diff --git a/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/HelloworldService.java b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/HelloworldService.java new file mode 100644 index 0000000000..fa9fad6788 --- /dev/null +++ b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/HelloworldService.java @@ -0,0 +1,7 @@ +package ${package}; + +public interface HelloworldService { + + String sayHello(String name); + +} diff --git a/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite new file mode 100644 index 0000000000..cd443aed16 --- /dev/null +++ b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite @@ -0,0 +1,16 @@ + + + + + + + + + + + + + diff --git a/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..f2bdfe3362 --- /dev/null +++ b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,41 @@ + + + + + ${artifactId} + + + tuscany.${artifactId} + org.apache.tuscany.sca.host.webapp.TuscanyServletFilter + + + + tuscany.${artifactId} + /* + + + + hello.jsp + + + diff --git a/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/hello.jsp b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/hello.jsp new file mode 100644 index 0000000000..7195c302d7 --- /dev/null +++ b/sandbox/ant/sca/tags/2.0-M2/archetypes/quickstart/src/main/resources/archetype-resources/src/main/webapp/hello.jsp @@ -0,0 +1,18 @@ +<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ taglib uri="http://www.osoa.org/sca/sca_jsp.tld" prefix="sca" %> + + + + + + +

${artifactId}

+ + Calling HelloworldService sayHello("world") returns: + +

+ + <%= service.sayHello("world") %> + + + -- cgit v1.2.3