From 7abf5a347d0f5dc9a54cd6c443daafae9f4976fc Mon Sep 17 00:00:00 2001 From: antelder Date: Fri, 30 Oct 2009 12:18:56 +0000 Subject: Re-tag 2.0-M4 RC1 release git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@831279 13f79535-47bb-0310-9956-ffa450edef68 --- .../quickstart-bpel/META-INF/MANIFEST.MF | 11 ++ .../2.0-M4-RC1/archetypes/quickstart-bpel/pom.xml | 50 ++++++ .../META-INF/maven/archetype-metadata.xml | 43 +++++ .../main/resources/META-INF/maven/archetype.xml | 33 ++++ .../src/main/resources/archetype-resources/pom.xml | 182 +++++++++++++++++++++ .../src/main/java/HelloworldService.java | 28 ++++ .../src/main/resources/helloworld.bpel | 66 ++++++++ .../src/main/resources/helloworld.wsdl | 82 ++++++++++ .../src/main/webapp/WEB-INF/web.composite | 37 +++++ .../src/main/webapp/WEB-INF/web.xml | 41 +++++ .../archetype-resources/src/main/webapp/hello.jsp | 36 ++++ 11 files changed, 609 insertions(+) create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/META-INF/MANIFEST.MF create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/pom.xml create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/META-INF/maven/archetype-metadata.xml create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/META-INF/maven/archetype.xml create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/java/HelloworldService.java create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/resources/helloworld.bpel create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/resources/helloworld.wsdl create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml create mode 100644 tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/hello.jsp (limited to 'tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel') diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/META-INF/MANIFEST.MF b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..29e03eb396 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/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/ +Bundle-RequiredExecutionEnvironment: J2SE-1.5,JavaSE-1.6 diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/pom.xml b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/pom.xml new file mode 100644 index 0000000000..2398aaafe1 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/pom.xml @@ -0,0 +1,50 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-sca + 2.0-M4 + ../../pom.xml + + + tuscany-quickstart-bpel + maven-archetype + Create an SCA Webapp project using BPEL + + + + + org.apache.maven.archetype + archetype-packaging + 2.0-alpha-3 + + + + + maven-archetype-plugin + 2.0-alpha-3 + true + + + + + diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/META-INF/maven/archetype-metadata.xml b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/META-INF/maven/archetype-metadata.xml new file mode 100644 index 0000000000..47c2f5dc10 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -0,0 +1,43 @@ + + + + + + src/main/java + + **/*.java + + + + src/main/resources + + **/* + + + + src/main/webapp + + **/*.jsp + **/*.xml + **/*.composite + + + + \ No newline at end of file diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/META-INF/maven/archetype.xml b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/META-INF/maven/archetype.xml new file mode 100644 index 0000000000..c466a1b3f5 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/META-INF/maven/archetype.xml @@ -0,0 +1,33 @@ + + + + tuscany-quickstart + + src/main/java/HelloworldImpl.java + src/main/java/HelloworldService.java + + + src/main/resources/helloworld.bpel + src/main/resources/helloworld.wsdl + 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/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml new file mode 100644 index 0000000000..27fd12ee55 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/pom.xml @@ -0,0 +1,182 @@ + + + + + 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 + + + + org.apache.tuscany.sca + tuscany-implementation-bpel-runtime + ${tuscany.version} + runtime + + + + + junit + junit + 4.5 + 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 + + + + + + org.apache.maven.plugins + maven-dependency-plugin + + + unpack + compile + + unpack + + + + + org.apache.ode + ode-dao-jpa-ojpa-derby + 1.1.1 + zip + false + ${project.build.directory}/classes + **/* + + + + + + + + true + org.apache.maven.plugins + maven-compiler-plugin + + 1.5 + 1.5 + true + true + + + + org.mortbay.jetty + maven-jetty-plugin + ${jetty.version} + + + + + openjpa.QueryCompilationCache + false + + + + ${basedir}/src/main + ${basedir}/src/main/webapp/WEB-INF/web.xml + + + + org.apache.maven.plugins + maven-eclipse-plugin + + true + + + + + + 2.0-M4 + 6.1.18 + + #end + diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/java/HelloworldService.java b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/java/HelloworldService.java new file mode 100644 index 0000000000..a99cc7b032 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/java/HelloworldService.java @@ -0,0 +1,28 @@ +/* + * 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.Remotable; + +@Remotable +public interface HelloworldService { + + String hello(String name); + +} diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/resources/helloworld.bpel b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/resources/helloworld.bpel new file mode 100644 index 0000000000..53e77c5be0 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/resources/helloworld.bpel @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + concat($tmpVar,' World') + + + + + + diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/resources/helloworld.wsdl b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/resources/helloworld.wsdl new file mode 100644 index 0000000000..46cf381577 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/resources/helloworld.wsdl @@ -0,0 +1,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite new file mode 100644 index 0000000000..c2aced55f0 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.composite @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + diff --git a/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..922d275b17 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/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/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/hello.jsp b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/hello.jsp new file mode 100644 index 0000000000..7aeaf81b33 --- /dev/null +++ b/tags/java/sca/2.0-M4-RC1/archetypes/quickstart-bpel/src/main/resources/archetype-resources/src/main/webapp/hello.jsp @@ -0,0 +1,36 @@ +<%-- + * 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. +--%> +<%@ 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.hello("world") %> + + + -- cgit v1.2.3