Delete old m2 branch in the sandbox
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@757344 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a96291b78e
commit
cdc5060abc
3397 changed files with 0 additions and 290366 deletions
|
@ -1,56 +0,0 @@
|
|||
Building the Apache Tuscany SCA 2.0-M1 February 2009 Release source distribution
|
||||
=======================================================================================
|
||||
|
||||
Initial Setup
|
||||
-------------
|
||||
|
||||
1) Install J2SE 5.0 SDK, which can be downloaded from
|
||||
http://java.sun.com/j2se/1.5.0/download.jsp. Use version of 1.5.0_06 JDK or higher.
|
||||
|
||||
2) Make sure that your JAVA_HOME environment variable is set to the newly installed
|
||||
JDK location, and that your PATH includes %JAVA_HOME%\bin (windows) or
|
||||
$JAVA_HOME$/bin (unix).
|
||||
|
||||
3) Install Maven 2.0.7 or higher, which can be downloaded from
|
||||
http://maven.apache.org/download.html. Make sure that your PATH includes
|
||||
the MVN_HOME/bin directory.
|
||||
|
||||
4) Make sure that your MAVEN_OPTS environment variable has -Xmx128M (or more),
|
||||
you can manually do this by executing the following in your prompt :
|
||||
Windows users:
|
||||
set MAVEN_OPTS=-Xmx128M
|
||||
Unix users:
|
||||
export MAVEN_OPTS=-Xmx128M
|
||||
|
||||
|
||||
Building
|
||||
--------
|
||||
|
||||
1) Change to the top level directory of Apache Tuscany source distribution.
|
||||
2) Run
|
||||
|
||||
$> mvn -Psetup
|
||||
$> mvn
|
||||
|
||||
This will compile Apache Tuscany and run all of the tests in the source
|
||||
distribution.
|
||||
|
||||
Depending on the load of remote Maven 2.0 repositories, you may have
|
||||
to run "mvn" several times utill the required dependencies are
|
||||
all located in your local maven repository. It usually takes some time for
|
||||
maven to download required dependencies in the first build. Once all the
|
||||
dependencies have been downloaded you may use the -o option to run maven
|
||||
in offline mode, for example, 'mvn clean install -o'.
|
||||
|
||||
|
||||
Building the distributions
|
||||
--------------------------
|
||||
|
||||
1) Change to the distribution folder
|
||||
2) Run
|
||||
|
||||
$> mvn
|
||||
|
||||
This will build the binary and source distribution with .zip and .gz
|
||||
formats in the distribution/target directory.
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
Changes With Apache Tuscany SCA 2.0-M1 February 2009
|
||||
====================================================
|
||||
|
||||
The first milestone release for the 2.0 codebase
|
||||
|
||||
Features and/or Enhancements
|
||||
|
||||
* SCA Specification support
|
||||
- The change over from OSOA SCA specification support to OASIS SCA
|
||||
specification support is now in progress. As such we don't claim to
|
||||
support either the OSOA or OASIS SCA specifications in the
|
||||
2.0 codebase yet.
|
||||
|
||||
* Core
|
||||
- Enable Tuscany to run inside an OSGi runtime
|
||||
- Updated SCA API package names.
|
||||
|
||||
* Other Extensions
|
||||
- Binding RMI
|
||||
- RMI Binding
|
||||
- Binding WS
|
||||
- WebServices Binding
|
||||
|
||||
* Samples/Tutorial/Demos
|
||||
- binding-ws-calculator/
|
||||
- calculator/
|
||||
- calculator-equinox/
|
||||
- calculator-osgi/
|
||||
- calculator-rmi-reference/
|
||||
- calculator-rmi-service/
|
||||
- implementation-java-calculator
|
|
@ -1,397 +0,0 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed 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.
|
||||
|
||||
|
||||
===============================================================================================================
|
||||
|
||||
Apache Tuscany SCA for Java Subcomponents
|
||||
=========================================:
|
||||
|
||||
The Tuscany SCA for Java release includes a number of subcomponents with
|
||||
separate copyright notices and license terms. Your use of the source
|
||||
code for the these subcomponents is subject to the terms and
|
||||
conditions of the following licenses.
|
||||
|
||||
===============================================================================================================
|
||||
|
||||
The module itest/databindings/common includes the test schema; datagraph.xsd, sdoJava.xsd, and sdoModel.xsd
|
||||
under the following license:
|
||||
|
||||
License for the Service Data Objects JavaDoc, Interface Definition files
|
||||
and XSD files.
|
||||
|
||||
The Service Data Objects JavaDoc, Interface Definition files and XSD files
|
||||
are being provided by the copyright holders under the following license.
|
||||
By using and/or copying this work, you agree that you have read,
|
||||
understood and will comply with the following terms and conditions:
|
||||
|
||||
Permission to copy, display, make derivative works of and distribute
|
||||
the Service Data Objects JavaDoc, Interface Definition files and XSD files
|
||||
(the "Artifacts") in any medium without fee or royalty is hereby granted,
|
||||
provided that you include the following on ALL copies of the Artifacts,
|
||||
or portions thereof, that you make:
|
||||
|
||||
1. A link or URL to the Artifacts at this location:
|
||||
http://www.osoa.org/display/Main/Service+Data+Objects+Specifications
|
||||
|
||||
2. The full text of this copyright notice as shown in the Artifacts.
|
||||
|
||||
|
||||
|
||||
THE ARTIFACTS ARE PROVIDED "AS IS" AND THE AUTHORS MAKE NO
|
||||
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE
|
||||
ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS,
|
||||
INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE.
|
||||
|
||||
THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL,
|
||||
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY
|
||||
USE OR DISTRIBUTION OF THE ARTIFACTS.
|
||||
|
||||
The name and trademarks of the Authors may NOT be used in any manner,
|
||||
including advertising or publicity pertaining to the Service Data
|
||||
Objects Specification or its contents without specific, written prior
|
||||
permission. Title to copyright in the Service Data Objects
|
||||
Specification will at all times remain with the Authors.
|
||||
|
||||
No other rights are granted by implication, estoppel or otherwise.
|
||||
|
||||
Revision level 1.11, last updated on 2007/12/21
|
||||
|
||||
=================================================================================================================
|
||||
|
||||
The module implementation-script temporarily includes one file under the following BSD license:
|
||||
|
||||
Copyright (c) 2006, Sun Microsystems, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
- Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
- Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
- Neither the name of the Sun Microsystems, Inc. nor the names of
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
||||
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGE.
|
||||
|
||||
=================================================================================================================
|
||||
|
||||
The module assembly-xsd includes XSD files under the following SCA Collaboration license:
|
||||
|
||||
License for the Service Component Architecture JavaDoc, Interface
|
||||
Definition files and XSD files.
|
||||
|
||||
The Service Component Architecture JavaDoc, Interface Definition files,
|
||||
and XSD files are being provided by the copyright holders under the
|
||||
following license. By using and/or copying this work, you agree that
|
||||
you have read, understood and will comply with the following terms and
|
||||
conditions:
|
||||
|
||||
Permission to copy, display, make derivative works of, and distribute
|
||||
the Service Component Architecture JavaDoc, Interface Definition Files
|
||||
and XSD files (the "Artifacts") in any medium without fee or royalty is
|
||||
hereby granted, provided that you include the following on ALL copies
|
||||
of the Artifacts, or portions thereof, that you make:
|
||||
|
||||
1. A link or URL to the Artifacts at this location:
|
||||
http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications
|
||||
|
||||
2. The full text of this copyright notice as shown in the Artifacts.
|
||||
|
||||
THE ARTIFACTS ARE PROVIDED "AS IS," AND THE AUTHORS MAKE NO
|
||||
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE
|
||||
ARTIFACTS AND THE IMPLEMENTATION OF THEIR CONTENTS, INCLUDING, BUT NOT
|
||||
LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT OR TITLE.
|
||||
|
||||
THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL,
|
||||
INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY
|
||||
USE OR DISTRIBUTION OF THE ARTIFACTS.
|
||||
|
||||
The name and trademarks of the Authors may NOT be used in any manner,
|
||||
including advertising or publicity pertaining to the Service Component
|
||||
Architecture Specification or its contents without specific, written
|
||||
prior permission. Title to copyright in the Service Component
|
||||
Architecture Specification and the JavaDoc, Interface Definition Files
|
||||
and XSD Files will at all times remain with the Authors.
|
||||
|
||||
No other rights are granted by implication, estoppel or otherwise.
|
||||
|
||||
Revision level 1.1, last updated on 2007/11/19
|
||||
|
||||
=================================================================================================================
|
||||
The modules
|
||||
|
||||
binding-ws-xml
|
||||
databinding
|
||||
databinding-axiom
|
||||
databinding-jaxb
|
||||
databinding-json
|
||||
databinding-sdo
|
||||
databinding-sdo-axiom
|
||||
databinding-xmlbeans
|
||||
interface-wsdl-xml
|
||||
|
||||
Include the ipo.xsd and address.xsd information from the XML Schema Primer
|
||||
(http://www.w3.org/TR/2004/PER-xmlschema-0-20040318/) combined into the
|
||||
file ipo.xsd and extended with UK postcode structures.
|
||||
|
||||
The ipo.xsd file is include under the following license:
|
||||
|
||||
W3C(c) SOFTWARE NOTICE AND LICENSE
|
||||
http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
|
||||
|
||||
This work (and included software, documentation such as READMEs, or other
|
||||
related items) is being provided by the copyright holders under the following
|
||||
license. By obtaining, using and/or copying this work, you (the licensee) agree
|
||||
that you have read, understood, and will comply with the following terms and conditions.
|
||||
|
||||
Permission to copy, modify, and distribute this software and its documentation,
|
||||
with or without modification, for any purpose and without fee or royalty is
|
||||
hereby granted, provided that you include the following on ALL copies of the
|
||||
software and documentation or portions thereof, including modifications:
|
||||
|
||||
1. The full text of this NOTICE in a location viewable to users of the
|
||||
redistributed or derivative work.
|
||||
2. Any pre-existing intellectual property disclaimers, notices, or terms
|
||||
and conditions. If none exist, the W3C Software Short Notice should be
|
||||
included (hypertext is preferred, text is permitted) within the body of
|
||||
any redistributed or derivative code.
|
||||
3. Notice of any changes or modifications to the files, including the date
|
||||
changes were made. (We recommend you provide URIs to the location from which
|
||||
the code is derived.)
|
||||
|
||||
THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE
|
||||
NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO,
|
||||
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
|
||||
USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS,
|
||||
COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
||||
|
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR
|
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.
|
||||
|
||||
The name and trademarks of copyright holders may NOT be used in advertising or
|
||||
publicity pertaining to the software without specific, written prior permission.
|
||||
Title to copyright in this software and any associated documentation will at all
|
||||
times remain with copyright holders.
|
|
@ -1,35 +0,0 @@
|
|||
Apache Tuscany
|
||||
Copyright (c) 2005 - 2009 The Apache Software Foundation
|
||||
|
||||
This product includes software developed at
|
||||
The Apache Software Foundation (http://www.apache.org/).
|
||||
|
||||
This product also includes software under the BSD license
|
||||
(see the LICENSE file contained in this distribution), with
|
||||
the following copyright:
|
||||
Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved.
|
||||
|
||||
This product includes software under the Service Component Architecture JavaDoc,
|
||||
Interface Definition files and XSD files license.
|
||||
(c) Copyright SCA Collaboration 2006, 2007
|
||||
|
||||
This product includes software under the Service Data Objects JavaDoc and
|
||||
Interface Definition file license
|
||||
|
||||
(c) Copyright BEA Systems, Inc., International Business Machines Corporation,
|
||||
Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG.,
|
||||
Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies,
|
||||
2005, 2006. All rights reserved.
|
||||
|
||||
This product includes software under the W3C(c) Software License
|
||||
with the following copyright:
|
||||
|
||||
Copyright (c) 2008 World Wide Web Consortium, (Massachusetts Institute of Technology,
|
||||
European Research Consortium for Informatics and Mathematics, Keio University).
|
||||
All Rights Reserved. This work is distributed under the W3C(c) Software License [1] in
|
||||
the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
|
||||
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
Apache Tuscany SCA 2.0-M1 February 2009 README
|
||||
=====================================================
|
||||
|
||||
Welcome to the Tuscany SCA 2.0-M1 release.
|
||||
|
||||
See the RELEASE_NOTES file for information specific to this release.
|
||||
|
||||
In the binary release see the INSTALL file for information on how to
|
||||
install the release.
|
||||
|
||||
In the source distribution see the BUILDING file for information on
|
||||
building the source code.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,71 +0,0 @@
|
|||
Apache Tuscany SCA 2.0-M1 February 2009 Release Notes
|
||||
============================================================
|
||||
|
||||
Apache Tuscany provides a runtime based on the Service Component
|
||||
Architecture. SCA is a set of specifications aimed at simplifying SOA
|
||||
Application Development which are being standardized at OASIS as part
|
||||
of Open Composite Services Architecture (Open CSA) - http://www.oasis-opencsa.org/.
|
||||
|
||||
Overview
|
||||
--------
|
||||
|
||||
The Apache Tuscany SCA 2.0-M1 release includes implementations of the
|
||||
main SCA specifications and recent updates from Open CSA drafts including:
|
||||
|
||||
SCA Assembly Model V1.0
|
||||
SCA Policy Framework V1.0
|
||||
SCA Java Common Annotations and APIs V1.0
|
||||
SCA Java Component Implementation V1.0
|
||||
SCA Web Services Binding V1.0
|
||||
|
||||
It also includes implementations of many features not yet defined
|
||||
by SCA specifications, including:
|
||||
|
||||
- SCA bindings for RMI.
|
||||
- Databindings for JAXB, Axis2's AXIOM, DOM, SAX and StAX
|
||||
|
||||
The Tuscany SCA Runtime can be configured as a single node SCA domain or
|
||||
as an SCA domain distributed across multiple nodes.
|
||||
In addition Tuscany SCA supports the following host-deployment options: -
|
||||
- running standalone
|
||||
- running in a OSGi enabled runtime Environment (Equinox)
|
||||
- running with distributed nodes across multiple JVMs
|
||||
|
||||
|
||||
|
||||
See the CHANGES file for a detailed list of the features in this release.
|
||||
|
||||
Support
|
||||
-------
|
||||
|
||||
For more information on Apache Tuscany visit the website at:
|
||||
|
||||
http://tuscany.apache.org/tuscany/
|
||||
|
||||
Any issues with this release can be reported to Apache Tuscany
|
||||
using the mailing lists or in the JIRA issue tracker.
|
||||
|
||||
Mailing list archives:
|
||||
|
||||
http://mail-archives.apache.org/mod_mbox/tuscany-user/
|
||||
http://mail-archives.apache.org/mod_mbox/tuscany-dev/
|
||||
|
||||
Jira:
|
||||
|
||||
http://issues.apache.org/jira/browse/TUSCANY
|
||||
|
||||
To join the project's mailing lists follow the instructions at:
|
||||
|
||||
http://incubator.apache.org/tuscany/mailing-lists.html
|
||||
|
||||
To find out more about OASIS Open CSA go to:
|
||||
|
||||
http://www.oasis-opencsa.org.
|
||||
|
||||
Apache Tuscany welcomes your help. Any contribution, including code,
|
||||
testing, improving the documentation, or bug reporting is always
|
||||
appreciated.
|
||||
|
||||
Thank you for using Apache Tuscany!
|
||||
|
||||
- The Tuscany Team.
|
|
@ -1,47 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-sca</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<artifactId>tuscany-archetype</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>Apache Tuscany SCA Maven Archetypes</name>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>default</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
|
||||
<modules>
|
||||
<module>quickstart</module>
|
||||
<module>quickstart-jsf</module>
|
||||
<module>quickstart-stripes</module>
|
||||
</modules>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
|
@ -1,50 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-modules</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>tuscany-quickstart-jsf</artifactId>
|
||||
<packaging>maven-archetype</packaging>
|
||||
<name>Create a Tuscany SCA and JSF project</name>
|
||||
|
||||
<build>
|
||||
<extensions>
|
||||
<extension>
|
||||
<groupId>org.apache.maven.archetype</groupId>
|
||||
<artifactId>archetype-packaging</artifactId>
|
||||
<version>2.0-alpha-4</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-archetype-plugin</artifactId>
|
||||
<version>2.0-alpha-4</version>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
|
@ -1,25 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><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/webapp</directory>
|
||||
<includes>
|
||||
<include>**/*.jsp</include>
|
||||
<include>**/*.xml</include>
|
||||
<include>**/*.html</include>
|
||||
<include>**/*.composite</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet filtered="true" encoding="UTF-8">
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>**/*.properties</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</archetype-descriptor>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><archetype>
|
||||
<id>quickstart-stripes</id>
|
||||
<sources>
|
||||
<source>src\main\java\sample\stripes\action\BaseActionBean.java</source>
|
||||
<source>src\main\java\sample\stripes\action\HomeActionBean.java</source>
|
||||
<source>src\main\java\sample\sca\HelloworldService.java</source>
|
||||
<source>src\main\java\sample\sca\HelloworldServiceImpl.java</source>
|
||||
</sources>
|
||||
<resources>
|
||||
<resource>src\main\resources\log4j.properties</resource>
|
||||
<resource>src\main\resources\StripesResources.properties</resource>
|
||||
<resource>src\main\webapp\index.html</resource>
|
||||
<resource>src\main\webapp\WEB-INF\jsp\home.jsp</resource>
|
||||
<resource>src\main\webapp\WEB-INF\jsp\layout.jsp</resource>
|
||||
<resource>src\main\webapp\WEB-INF\jsp\taglibs.jsp</resource>
|
||||
<resource>src\main\webapp\WEB-INF\web.composite</resource>
|
||||
<resource>src\main\webapp\WEB-INF\web.xml</resource>
|
||||
</resources>
|
||||
</archetype>
|
|
@ -1,152 +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 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>war</packaging>
|
||||
<version>${version}</version>
|
||||
#literal()<!-- TODO project name -->
|
||||
<name>quickstart-jsf</name>
|
||||
<description></description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- Tuscany dependencies -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-sca-api</artifactId>
|
||||
<version>${tuscany.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-myfaces</artifactId>
|
||||
<version>${tuscany.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- MyFaces JSF dependencies -->
|
||||
<dependency>
|
||||
<groupId>org.apache.myfaces.core</groupId>
|
||||
<artifactId>myfaces-api</artifactId>
|
||||
<version>1.2.2</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.myfaces.core</groupId>
|
||||
<artifactId>myfaces-impl</artifactId>
|
||||
<version>1.2.2</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.myfaces.tomahawk</groupId>
|
||||
<artifactId>tomahawk</artifactId>
|
||||
<version>1.1.6</version>
|
||||
<scope>runtime</scope>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>jstl</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>jstl</groupId>
|
||||
<artifactId>jstl</artifactId>
|
||||
<version>1.2</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.0</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.mortbay.jetty</groupId>
|
||||
<artifactId>maven-jetty-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
<configuration>
|
||||
<downloadSources>true</downloadSources>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<properties>
|
||||
<tuscany.version>2.0-M2</tuscany.version>
|
||||
<myfaces.version>1.5</myfaces.version>
|
||||
</properties>
|
||||
#end
|
||||
|
||||
</project>
|
|
@ -1,64 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
/*
|
||||
* 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}.myfaces;
|
||||
|
||||
import org.oasisopen.sca.annotation.Reference;
|
||||
|
||||
import ${package}.sca.HelloworldService;
|
||||
|
||||
/**
|
||||
* A typical simple backing bean, that is backed to <code>helloworld.jsp</code>
|
||||
*
|
||||
*/
|
||||
public class HelloWorldController {
|
||||
|
||||
//properties
|
||||
private String name;
|
||||
|
||||
@Reference
|
||||
private HelloworldService service;
|
||||
|
||||
/**
|
||||
* default empty constructor
|
||||
*/
|
||||
public HelloWorldController(){
|
||||
}
|
||||
|
||||
//-------------------getter & setter
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Method that is backed to a submit button of a form.
|
||||
*/
|
||||
public String send(){
|
||||
|
||||
// invoke the SCA reference
|
||||
name = service.sayHello(name);
|
||||
|
||||
return "success";
|
||||
}
|
||||
}
|
|
@ -1,28 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
/*
|
||||
* 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}.sca;
|
||||
|
||||
public interface HelloworldService {
|
||||
|
||||
String sayHello(String name);
|
||||
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
/*
|
||||
* 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}.sca;
|
||||
|
||||
public class HelloworldServiceImpl implements HelloworldService {
|
||||
|
||||
public String sayHello(String name) {
|
||||
return "Hello " + name;
|
||||
}
|
||||
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
* 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.
|
||||
-->
|
||||
|
||||
<faces-config version="1.2"
|
||||
xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
|
||||
|
||||
<!-- managed beans of the simple hello world app -->
|
||||
<managed-bean>
|
||||
<managed-bean-name>helloWorld</managed-bean-name>
|
||||
<managed-bean-class>${package}.myfaces.HelloWorldController</managed-bean-class>
|
||||
<managed-bean-scope>request</managed-bean-scope>
|
||||
</managed-bean>
|
||||
|
||||
<!-- navigation rules for helloWorld.jsp -->
|
||||
<navigation-rule>
|
||||
<from-view-id>/helloWorld.jsp</from-view-id>
|
||||
<navigation-case>
|
||||
<from-outcome>success</from-outcome>
|
||||
<to-view-id>/page2.jsp</to-view-id>
|
||||
</navigation-case>
|
||||
</navigation-rule>
|
||||
|
||||
<!-- navigation rules for page2.jsp -->
|
||||
<navigation-rule>
|
||||
<from-view-id>/page2.jsp</from-view-id>
|
||||
<navigation-case>
|
||||
<from-outcome>back</from-outcome>
|
||||
<to-view-id>/helloWorld.jsp</to-view-id>
|
||||
</navigation-case>
|
||||
</navigation-rule>
|
||||
</faces-config>
|
|
@ -1,35 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://${package}"
|
||||
name="${artifactId}">
|
||||
|
||||
<component name="${artifactId}WebComponent">
|
||||
<implementation.web web-uri=""/>
|
||||
<reference name="service" target="HelloworldComponent"/>
|
||||
</component>
|
||||
|
||||
<component name="HelloworldComponent">
|
||||
<implementation.java class="${package}.sca.HelloworldServiceImpl"/>
|
||||
</component>
|
||||
|
||||
</composite>
|
||||
|
|
@ -1,230 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
<?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.
|
||||
-->
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
|
||||
version="2.4">
|
||||
|
||||
<display-name>${artifactId}</display-name>
|
||||
|
||||
<!-- The only web.xml change to the MyFaces Helloworld sample is to add
|
||||
the Tuscany listener and annotation processor context parameter -->
|
||||
<listener>
|
||||
<listener-class>org.apache.tuscany.sca.host.webapp.TuscanyContextListener</listener-class>
|
||||
</listener>
|
||||
<context-param>
|
||||
<param-name>org.apache.myfaces.config.annotation.LifecycleProvider</param-name>
|
||||
<param-value>org.apache.tuscany.myfaces.TuscanyAnnotationLifecycleProvider</param-value>
|
||||
</context-param>
|
||||
|
||||
<!--optional: context-param>
|
||||
<description>Comma separated list of URIs of (additional) faces config files.
|
||||
(e.g. /WEB-INF/my-config.xml)
|
||||
See JSF 1.0 PRD2, 10.3.2
|
||||
Attention: You do not need to put /WEB-INF/faces-config.xml in here.
|
||||
</description>
|
||||
<param-name>javax.faces.CONFIG_FILES</param-name>
|
||||
<param-value>/WEB-INF/examples-config.xml</param-value>
|
||||
</context-param-->
|
||||
<context-param>
|
||||
<description>State saving method: "client" or "server" (= default)
|
||||
See JSF Specification 2.5.3</description>
|
||||
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
|
||||
<param-value>client</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<description>Only applicable if state saving method is "server" (= default).
|
||||
Defines the amount (default = 20) of the latest views are stored in session.</description>
|
||||
<param-name>org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION</param-name>
|
||||
<param-value>20</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<description>Only applicable if state saving method is "server" (= default).
|
||||
If true (default) the state will be serialized to a byte stream before it
|
||||
is written to the session.
|
||||
If false the state will not be serialized to a byte stream.</description>
|
||||
<param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<description>Only applicable if state saving method is "server" (= default) and if
|
||||
org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (= default)
|
||||
If true (default) the serialized state will be compressed before it
|
||||
is written to the session. If false the state will not be compressed.</description>
|
||||
<param-name>org.apache.myfaces.COMPRESS_STATE_IN_SESSION</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<description>This parameter tells MyFaces if javascript code should be allowed in the
|
||||
rendered HTML output.
|
||||
If javascript is allowed, command_link anchors will have javascript code
|
||||
that submits the corresponding form.
|
||||
If javascript is not allowed, the state saving info and nested parameters
|
||||
will be added as url parameters.
|
||||
Default: "true"</description>
|
||||
<param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
|
||||
<param-value>false</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<description>If true, rendered HTML code will be formatted, so that it is "human readable".
|
||||
i.e. additional line separators and whitespace will be written, that do not
|
||||
influence the HTML code.
|
||||
Default: "true"</description>
|
||||
<param-name>org.apache.myfaces.PRETTY_HTML</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<description>If true, a javascript function will be rendered that is able to restore the
|
||||
former vertical scroll on every request. Convenient feature if you have pages
|
||||
with long lists and you do not want the browser page to always jump to the top
|
||||
if you trigger a link or button action that stays on the same page.
|
||||
Default: "false"</description>
|
||||
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<description>Used for encrypting view state. Only relevant for client side
|
||||
state saving. See MyFaces wiki/web site documentation for instructions
|
||||
on how to configure an application for diffenent encryption strengths.
|
||||
</description>
|
||||
<param-name>org.apache.myfaces.SECRET</param-name>
|
||||
<param-value>NzY1NDMyMTA=</param-value>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<description>
|
||||
Validate managed beans, navigation rules and ensure that forms are not nested.
|
||||
</description>
|
||||
<param-name>org.apache.myfaces.VALIDATE</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<description>
|
||||
Treat readonly same as if disabled attribute was set for select elements.
|
||||
</description>
|
||||
<param-name>org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<description>
|
||||
Use the defined class as the class which will be called when a resource is added to the
|
||||
ExtensionFilter handling. Using StreamingAddResource here helps with performance. If you want to add
|
||||
custom components and want to use the ExtensionFilter, you need to provide your custom implementation here.
|
||||
</description>
|
||||
<param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
|
||||
<param-value>org.apache.myfaces.renderkit.html.util.DefaultAddResource</param-value>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<description>
|
||||
Virtual path in the URL which triggers loading of resources for the MyFaces extended components
|
||||
in the ExtensionFilter.
|
||||
</description>
|
||||
<param-name>org.apache.myfaces.RESOURCE_VIRTUAL_PATH</param-name>
|
||||
<param-value>/faces/myFacesExtensionResource</param-value>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<description>
|
||||
Check if the extensions-filter has been properly configured.
|
||||
</description>
|
||||
<param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
|
||||
<context-param>
|
||||
<description>
|
||||
Define partial state saving as true/false.
|
||||
</description>
|
||||
<param-name>javax.faces.PARTIAL_STATE_SAVING_METHOD</param-name>
|
||||
<param-value>false</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- Extensions Filter -->
|
||||
<filter>
|
||||
<filter-name>extensionsFilter</filter-name>
|
||||
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
|
||||
<init-param>
|
||||
<description>Set the size limit for uploaded files.
|
||||
Format: 10 - 10 bytes
|
||||
10k - 10 KB
|
||||
10m - 10 MB
|
||||
1g - 1 GB</description>
|
||||
<param-name>uploadMaxFileSize</param-name>
|
||||
<param-value>100m</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<description>Set the threshold size - files
|
||||
below this limit are stored in memory, files above
|
||||
this limit are stored on disk.
|
||||
|
||||
Format: 10 - 10 bytes
|
||||
10k - 10 KB
|
||||
10m - 10 MB
|
||||
1g - 1 GB</description>
|
||||
<param-name>uploadThresholdSize</param-name>
|
||||
<param-value>100k</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>extensionsFilter</filter-name>
|
||||
<url-pattern>*.jsf</url-pattern>
|
||||
</filter-mapping>
|
||||
<filter-mapping>
|
||||
<filter-name>extensionsFilter</filter-name>
|
||||
<url-pattern>/faces/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<!-- Listener, to allow Jetty serving MyFaces apps -->
|
||||
<listener>
|
||||
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
|
||||
</listener>
|
||||
|
||||
<!-- Faces Servlet -->
|
||||
<servlet>
|
||||
<servlet-name>Faces Servlet</servlet-name>
|
||||
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<!-- Faces Servlet Mapping -->
|
||||
<servlet-mapping>
|
||||
<servlet-name>Faces Servlet</servlet-name>
|
||||
<url-pattern>*.jsf</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- Welcome files -->
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.jsp</welcome-file>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
</web-app>
|
|
@ -1,19 +0,0 @@
|
|||
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
|
||||
<html>
|
||||
<head>
|
||||
<title>Hello World</title>
|
||||
</head>
|
||||
<body>
|
||||
<f:view>
|
||||
<h:form id="mainForm">
|
||||
<h:panelGrid columns="2">
|
||||
<h:outputLabel for="name" value="Please enter your name" />
|
||||
<h:inputText id="name" value="#{helloWorld.name}" required="true"/>
|
||||
<h:commandButton value="Press me" action="#{helloWorld.send}"/>
|
||||
<h:messages showDetail="true" showSummary="false"/>
|
||||
</h:panelGrid>
|
||||
</h:form>
|
||||
</f:view>
|
||||
</body>
|
||||
</html>
|
|
@ -1,4 +0,0 @@
|
|||
<%@ page session="false"%>
|
||||
<%
|
||||
response.sendRedirect("helloWorld.jsf");
|
||||
%>
|
|
@ -1,17 +0,0 @@
|
|||
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
|
||||
<html>
|
||||
<head>
|
||||
<title>Hello World</title>
|
||||
</head>
|
||||
<body>
|
||||
<f:view>
|
||||
<h:form id="mainForm">
|
||||
<h2><h:outputText value="#{helloWorld.name}. We hope you enjoy SCA and JSF with Apache Tuscany and MyFaces"/></h2>
|
||||
<h:commandLink action="back">
|
||||
<h:outputText value="Home"/>
|
||||
</h:commandLink>
|
||||
</h:form>
|
||||
</f:view>
|
||||
</body>
|
||||
</html>
|
|
@ -1,11 +0,0 @@
|
|||
Manifest-Version: 1.0
|
||||
Bundle-Name: Apache Tuscany SCA Quickstart Stripes 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 Stripes Archetype
|
||||
Bundle-SymbolicName: org.apache.tuscany.sca.archetype.quickstart.stripes
|
||||
Bundle-DocURL: http://www.apache.org/
|
||||
|
|
@ -1,50 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-modules</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>tuscany-quickstart-stripes</artifactId>
|
||||
<packaging>maven-archetype</packaging>
|
||||
<name>Create a simple Apache Tuscany SCA webapp project using the Stripes Web Framework</name>
|
||||
|
||||
<build>
|
||||
<extensions>
|
||||
<extension>
|
||||
<groupId>org.apache.maven.archetype</groupId>
|
||||
<artifactId>archetype-packaging</artifactId>
|
||||
<version>2.0-alpha-4</version>
|
||||
</extension>
|
||||
</extensions>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-archetype-plugin</artifactId>
|
||||
<version>2.0-alpha-4</version>
|
||||
<extensions>true</extensions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
|
@ -1,25 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><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/webapp</directory>
|
||||
<includes>
|
||||
<include>**/*.jsp</include>
|
||||
<include>**/*.xml</include>
|
||||
<include>**/*.html</include>
|
||||
<include>**/*.composite</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet filtered="true" encoding="UTF-8">
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>**/*.properties</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</archetype-descriptor>
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><archetype>
|
||||
<id>quickstart-stripes</id>
|
||||
<sources>
|
||||
<source>src\main\java\sample\stripes\action\BaseActionBean.java</source>
|
||||
<source>src\main\java\sample\stripes\action\HomeActionBean.java</source>
|
||||
<source>src\main\java\sample\sca\HelloworldService.java</source>
|
||||
<source>src\main\java\sample\sca\HelloworldServiceImpl.java</source>
|
||||
</sources>
|
||||
<resources>
|
||||
<resource>src\main\resources\log4j.properties</resource>
|
||||
<resource>src\main\resources\StripesResources.properties</resource>
|
||||
<resource>src\main\webapp\index.html</resource>
|
||||
<resource>src\main\webapp\WEB-INF\jsp\home.jsp</resource>
|
||||
<resource>src\main\webapp\WEB-INF\jsp\layout.jsp</resource>
|
||||
<resource>src\main\webapp\WEB-INF\jsp\taglibs.jsp</resource>
|
||||
<resource>src\main\webapp\WEB-INF\web.composite</resource>
|
||||
<resource>src\main\webapp\WEB-INF\web.xml</resource>
|
||||
</resources>
|
||||
</archetype>
|
|
@ -1,122 +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 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>war</packaging>
|
||||
<version>${version}</version>
|
||||
#literal()<!-- TODO project name -->
|
||||
<name>quickstart-stripes</name>
|
||||
<description></description>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- Tuscany dependencies -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-sca-api</artifactId>
|
||||
<version>${tuscany.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-stripes</artifactId>
|
||||
<version>${tuscany.version}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Stripes Framework dependencies -->
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.stripes</groupId>
|
||||
<artifactId>stripes</artifactId>
|
||||
<version>${stripes.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>taglibs</groupId>
|
||||
<artifactId>standard</artifactId>
|
||||
<version>1.1.2</version>
|
||||
</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.mortbay.jetty</groupId>
|
||||
<artifactId>maven-jetty-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
<configuration>
|
||||
<downloadSources>true</downloadSources>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<properties>
|
||||
<tuscany.version>2.0-M2</tuscany.version>
|
||||
<stripes.version>1.5</stripes.version>
|
||||
</properties>
|
||||
#end
|
||||
|
||||
</project>
|
|
@ -1,28 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
/*
|
||||
* 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}.sca;
|
||||
|
||||
public interface HelloworldService {
|
||||
|
||||
String sayHello(String name);
|
||||
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
/*
|
||||
* 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}.sca;
|
||||
|
||||
|
||||
public class HelloworldServiceImpl implements HelloworldService {
|
||||
|
||||
public String sayHello(String name) {
|
||||
return "Hello " + name;
|
||||
}
|
||||
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
package ${package}.stripes.action;
|
||||
|
||||
import net.sourceforge.stripes.action.ActionBean;
|
||||
import net.sourceforge.stripes.action.ActionBeanContext;
|
||||
|
||||
public class BaseActionBean implements ActionBean {
|
||||
private ActionBeanContext context;
|
||||
|
||||
public ActionBeanContext getContext() {
|
||||
return context;
|
||||
}
|
||||
public void setContext(ActionBeanContext context) {
|
||||
this.context = context;
|
||||
}
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
package ${package}.stripes.action;
|
||||
|
||||
import net.sourceforge.stripes.action.DefaultHandler;
|
||||
import net.sourceforge.stripes.action.ForwardResolution;
|
||||
import net.sourceforge.stripes.action.Resolution;
|
||||
import net.sourceforge.stripes.action.UrlBinding;
|
||||
|
||||
import org.oasisopen.sca.annotation.Reference;
|
||||
|
||||
import ${package}.sca.HelloworldService;
|
||||
|
||||
@UrlBinding("/Home.htm")
|
||||
public class HomeActionBean extends BaseActionBean {
|
||||
|
||||
@Reference
|
||||
HelloworldService service;
|
||||
|
||||
@DefaultHandler
|
||||
public Resolution view() {
|
||||
return new ForwardResolution("/WEB-INF/jsp/home.jsp");
|
||||
}
|
||||
|
||||
public String getHello() {
|
||||
return service.sayHello("world");
|
||||
}
|
||||
|
||||
}
|
|
@ -1,60 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
|
||||
${symbol_pound} Resource strings used by the <stripes:errors> tag when there are no nested tags
|
||||
stripes.errors.header=<div style="color:${symbol_pound}b72222; font-weight: bold">Please fix the following errors:</div><ol>
|
||||
stripes.errors.beforeError=<li style="color: ${symbol_pound}b72222;">
|
||||
stripes.errors.afterError=</li>
|
||||
stripes.errors.footer=</ol>
|
||||
|
||||
${symbol_pound} Resource strings used by the <stripes:errors> tag when displaying errors for a
|
||||
${symbol_pound} specific field (e.g. <stripes:errors field="password"/>). If not supplied the
|
||||
${symbol_pound} values above will be used instead.
|
||||
stripes.fieldErrors.header=
|
||||
stripes.fieldErrors.beforeError=<span style="color: ${symbol_pound}b72222;">
|
||||
stripes.fieldErrors.afterError=</span><br />
|
||||
stripes.fieldErrors.footer=
|
||||
|
||||
${symbol_pound} Resource strings used by the stripes:messages tag
|
||||
stripes.messages.header=<ul class="messages">
|
||||
stripes.messages.beforeMessage=<li>
|
||||
stripes.messages.afterMessage=</li>
|
||||
stripes.messages.footer=</ul>
|
||||
|
||||
${symbol_pound} Validation error messages produced by Stripes' built-in converter classes. These
|
||||
${symbol_pound} are default error messages and can be overridden on per-field and per-form levels.
|
||||
${symbol_pound} Using the 'invalidNumber' error for a field 'age' of a form posting to
|
||||
${symbol_pound} '/user/Profile.action', the keys looked for (in order) would be:
|
||||
${symbol_pound} 1: /user/Profile.action.age.invalidNumber
|
||||
${symbol_pound} 2: /user/Profile.action.age.errorMessage
|
||||
${symbol_pound} 3: age.errorMessage
|
||||
${symbol_pound} 4: /user/Profile.action.invalidNumber
|
||||
${symbol_pound} 5: converter.number.invalidNumber
|
||||
converter.number.invalidNumber=The value ({1}) entered in field {0} must be a valid number
|
||||
converter.byte.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
|
||||
converter.short.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
|
||||
converter.integer.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
|
||||
converter.float.outOfRange=The value ({1}) entered in field {0} was out of the range {2} to {3}
|
||||
converter.enum.notAnEnumeratedValue=The value "{1}" is not a valid value for field {0}
|
||||
converter.date.invalidDate=The value ({1}) entered in field {0} must be a valid date
|
||||
converter.email.invalidEmail=The value ({1}) entered is not a valid email address
|
||||
converter.creditCard.invalidCreditCard=The value ({1}) entered is not a valid credit card number
|
||||
|
||||
${symbol_pound} Validation error messages produced by Stripes' annotation based validations. These
|
||||
${symbol_pound} are default error messages and can be overridden on per-field and per-form levels.
|
||||
${symbol_pound} Using the 'valueNotPresent' required field error for a field 'username' of a form
|
||||
${symbol_pound} posting to '/user/Register.action', the keys looked for (in order) would be:
|
||||
${symbol_pound} 1: /user/Register.action.username.valueNotPresent
|
||||
${symbol_pound} 2: /user/Register.action.username.errorMessage
|
||||
${symbol_pound} 3: username.errorMessage
|
||||
${symbol_pound} 4: /user/Register.action.valueNotPresent
|
||||
${symbol_pound} 5: validation.required.valueNotPresent
|
||||
validation.required.valueNotPresent={0} is a required field
|
||||
validation.minlength.valueTooShort={0} must be at least {2} characters long
|
||||
validation.maxlength.valueTooLong={0} must be no more than {2} characters long
|
||||
validation.minvalue.valueBelowMinimum=The minimum allowed value for {0} is {2}
|
||||
validation.maxvalue.valueAboveMaximum=The maximum allowed value for {0} is {2}
|
||||
validation.mask.valueDoesNotMatch=<em>{1}</em> is not a valid {0}
|
||||
validation.expression.valueFailedExpression=The value supplied ({1}) for field {0} is invalid
|
||||
validation.file.postBodyTooBig=Total upload size of {3} KB exceeds the maximum size of {2} KB
|
|
@ -1,34 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
${symbol_pound} log4j.properties
|
||||
|
||||
${symbol_pound} Set up a logger to the console
|
||||
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
|
||||
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %-5p %c %x - %m%n
|
||||
|
||||
${symbol_pound} Use this to only see log messages beyond a certain threshold in the console
|
||||
${symbol_pound}log4j.appender.stdout.Threshold=WARN
|
||||
|
||||
${symbol_pound} Set up a logger to a log file
|
||||
log4j.appender.logfile=org.apache.log4j.DailyRollingFileAppender
|
||||
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
|
||||
log4j.appender.logfile.layout.ConversionPattern=[%d{HH:mm:ss}] %-5p %c %x - %m%n
|
||||
log4j.appender.logfile.File=${symbol_dollar}{user.home}/stripesquick.log
|
||||
log4j.appender.logfile.DatePattern='.'yyyy-MM-dd
|
||||
|
||||
${symbol_pound} Use this to only see log messages beyond a certain threshold in the log file
|
||||
${symbol_pound}log4j.appender.logfile.Threshold=WARN
|
||||
|
||||
${symbol_pound} Logger settings
|
||||
log4j.rootLogger=INFO, stdout, logfile
|
||||
|
||||
${symbol_pound} Valid levels are TRACE, DEBUG, INFO, WARN, ERROR, FATAL
|
||||
${symbol_pound} Change to TRACE or DEBUG to see more log messages
|
||||
log4j.logger.net.sourceforge.stripes=WARN
|
||||
log4j.logger.org.stripesbook.quickstart=INFO
|
||||
log4j.logger.org.mortbay.log=INFO
|
||||
log4j.logger.org=WARN
|
||||
log4j.logger.com=WARN
|
||||
log4j.logger.net=WARN
|
|
@ -1,11 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
<%@ include file="/WEB-INF/jsp/taglibs.jsp" %>
|
||||
|
||||
<s:layout-render name="/WEB-INF/jsp/layout.jsp" title="Welcome">
|
||||
<s:layout-component name="body">
|
||||
<p>sayHello returns: ${symbol_dollar}{actionBean.hello}</p>
|
||||
<p>Congratulations, you've set up a Stripes SCA project!</p>
|
||||
</s:layout-component>
|
||||
</s:layout-render>
|
|
@ -1,24 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
<%@ include file="/WEB-INF/jsp/taglibs.jsp" %>
|
||||
|
||||
<s:layout-definition>
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>${symbol_dollar}{title}</title>
|
||||
<link rel="stylesheet" type="text/css" href="${symbol_dollar}{contextPath}/css/style.css">
|
||||
<s:layout-component name="head">
|
||||
</s:layout-component>
|
||||
</head>
|
||||
<body>
|
||||
<div id="main">
|
||||
<s:layout-component name="body">
|
||||
</s:layout-component>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</s:layout-definition>
|
|
@ -1,14 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
<%-- Stripes TLD --%>
|
||||
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
|
||||
<%@ taglib prefix="sdyn" uri="http://stripes.sourceforge.net/stripes-dynattr.tld" %>
|
||||
|
||||
<%-- JSTL TLDs --%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
||||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||||
|
||||
<%-- This is so that you can conveniently refer to the context path with ${symbol_dollar}{contextPath} --%>
|
||||
<c:set var="contextPath" value="${symbol_dollar}{pageContext.request.contextPath}"/>
|
|
@ -1,34 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://${package}"
|
||||
name="${artifactId}">
|
||||
|
||||
<component name="${artifactId}WebComponent">
|
||||
<implementation.web web-uri=""/>
|
||||
<reference name="service" target="HelloworldComponent"/>
|
||||
</component>
|
||||
|
||||
<component name="HelloworldComponent">
|
||||
<implementation.java class="${package}.sca.HelloworldServiceImpl"/>
|
||||
</component>
|
||||
|
||||
</composite>
|
|
@ -1,68 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
<?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.
|
||||
-->
|
||||
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
|
||||
|
||||
<display-name>${artifactId}</display-name>
|
||||
|
||||
<listener>
|
||||
<listener-class>org.apache.tuscany.sca.host.webapp.TuscanyContextListener</listener-class>
|
||||
</listener>
|
||||
|
||||
<filter>
|
||||
<filter-name>StripesFilter</filter-name>
|
||||
<filter-class>net.sourceforge.stripes.controller.StripesFilter</filter-class>
|
||||
<init-param>
|
||||
<param-name>ActionResolver.Packages</param-name>
|
||||
<param-value>${package}.stripes.action</param-value>
|
||||
</init-param>
|
||||
<init-param>
|
||||
<param-name>Extension.Packages</param-name>
|
||||
<param-value>org.apache.tuscany.sca.stripes</param-value>
|
||||
</init-param>
|
||||
</filter>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>DispatcherServlet</servlet-name>
|
||||
<servlet-class>net.sourceforge.stripes.controller.DispatcherServlet</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>StripesFilter</filter-name>
|
||||
<servlet-name>DispatcherServlet</servlet-name>
|
||||
<dispatcher>REQUEST</dispatcher>
|
||||
<dispatcher>FORWARD</dispatcher>
|
||||
</filter-mapping>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>DispatcherServlet</servlet-name>
|
||||
<url-pattern>*.htm</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<welcome-file-list>
|
||||
<welcome-file>index.html</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
</web-app>
|
|
@ -1,9 +0,0 @@
|
|||
#set( $symbol_pound = '#' )
|
||||
#set( $symbol_dollar = '$' )
|
||||
#set( $symbol_escape = '\' )
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="refresh" content="0;url=Home.htm">
|
||||
</head>
|
||||
</html>
|
|
@ -1,11 +0,0 @@
|
|||
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/
|
||||
|
|
@ -1,50 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-modules</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>tuscany-quickstart</artifactId>
|
||||
<packaging>maven-archetype</packaging>
|
||||
<name>Create a simple Apache Tuscany SCA webapp 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>
|
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><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/webapp</directory>
|
||||
<includes>
|
||||
<include>**/*.jsp</include>
|
||||
<include>**/*.xml</include>
|
||||
<include>**/*.composite</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</archetype-descriptor>
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><archetype>
|
||||
<id>tuscany-quickstart</id>
|
||||
<sources>
|
||||
<source>src\main\java\HelloworldImpl.java</source>
|
||||
<source>src\main\java\HelloworldService.java</source>
|
||||
</sources>
|
||||
<resources>
|
||||
<resource>src\main\webapp\hello.jsp</resource>
|
||||
<resource>src\main\webapp\WEB-INF\web.composite</resource>
|
||||
<resource>src\main\webapp\WEB-INF\web.xml</resource>
|
||||
</resources>
|
||||
</archetype>
|
|
@ -1,117 +0,0 @@
|
|||
<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>war</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>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-implementation-web-runtime</artifactId>
|
||||
<version>${tuscany.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- JUNIT DEPENDENCY FOR TESTING -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>3.8.2</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- JETTY DEPENDENCIES FOR TESTING -->
|
||||
<dependency>
|
||||
<groupId>org.mortbay.jetty</groupId>
|
||||
<artifactId>jetty</artifactId>
|
||||
<version>${jetty.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mortbay.jetty</groupId>
|
||||
<artifactId>jetty-util</artifactId>
|
||||
<version>${jetty.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.mortbay.jetty</groupId>
|
||||
<artifactId>jetty-management</artifactId>
|
||||
<version>${jetty.version}</version>
|
||||
<scope>provided</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.mortbay.jetty</groupId>
|
||||
<artifactId>maven-jetty-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-eclipse-plugin</artifactId>
|
||||
<configuration>
|
||||
<downloadSources>true</downloadSources>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<properties>
|
||||
<tuscany.version>2.0-M2</tuscany.version>
|
||||
<jetty.version>6.1.4</jetty.version>
|
||||
</properties>
|
||||
#end
|
||||
</project>
|
|
@ -1,9 +0,0 @@
|
|||
package ${package};
|
||||
|
||||
public class HelloworldImpl implements HelloworldService {
|
||||
|
||||
public String sayHello(String name) {
|
||||
return "Hello " + name;
|
||||
}
|
||||
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
package ${package};
|
||||
|
||||
public interface HelloworldService {
|
||||
|
||||
String sayHello(String name);
|
||||
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
|
||||
xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://${package}"
|
||||
name=">${artifactId}">
|
||||
|
||||
<component name="${artifactId}WebComponent">
|
||||
<implementation.web web-uri=""/>
|
||||
<reference name="service" target="HelloworldComponent"/>
|
||||
</component>
|
||||
|
||||
<component name="HelloworldComponent">
|
||||
<implementation.java class="${package}.HelloworldImpl"/>
|
||||
</component>
|
||||
|
||||
</composite>
|
|
@ -1,41 +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.
|
||||
-->
|
||||
<web-app version="2.4"
|
||||
xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" >
|
||||
|
||||
<display-name>${artifactId}</display-name>
|
||||
|
||||
<filter>
|
||||
<filter-name>tuscany.${artifactId}</filter-name>
|
||||
<filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>tuscany.${artifactId}</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<welcome-file-list id="WelcomeFileList">
|
||||
<welcome-file>hello.jsp</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
</web-app>
|
|
@ -1,18 +0,0 @@
|
|||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ taglib uri="http://www.osoa.org/sca/sca_jsp.tld" prefix="sca" %>
|
||||
|
||||
<sca:reference name="service" type="${package}.HelloworldService" />
|
||||
|
||||
<html>
|
||||
<body >
|
||||
|
||||
<h2>${artifactId}</h2>
|
||||
|
||||
Calling HelloworldService sayHello("world") returns:
|
||||
|
||||
<p>
|
||||
|
||||
<%= service.sayHello("world") %>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,108 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-distribution</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>tuscany-distribution-all</artifactId>
|
||||
<name>Apache Tuscany SCA All-in-one Distribution</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature-all</artifactId>
|
||||
<type>pom</type>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-implementation-bpel</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-implementation-bpel-ode</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-stripes</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-myfaces</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.tuscany.maven.plugins</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>distribution-modules</id>
|
||||
<phase>generate-resources</phase>
|
||||
<goals>
|
||||
<goal>generate-modules</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<targetDirectory>target/modules</targetDirectory>
|
||||
<useDistributionName>false</useDistributionName>
|
||||
<generateManifestJar>true</generateManifestJar>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>distribution-package</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<descriptors>
|
||||
<descriptor>src/main/assembly/bin.xml</descriptor>
|
||||
<descriptor>src/main/assembly/src.xml</descriptor>
|
||||
</descriptors>
|
||||
<tarLongFileMode>gnu</tarLongFileMode>
|
||||
<finalName>apache-tuscany-sca-all-${version}</finalName>
|
||||
<appendAssemblyId>true</appendAssemblyId>
|
||||
<ignoreDirFormatExtensions>true</ignoreDirFormatExtensions>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
|
@ -1,36 +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.
|
||||
-->
|
||||
<assembly>
|
||||
<!-- id typically identifies the "type" (src vs bin etc) of the assembly -->
|
||||
<id></id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>tuscany-sca-${version}</baseDirectory>
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
|
||||
<componentDescriptors>
|
||||
<componentDescriptor>src/main/components/bin-common.xml</componentDescriptor>
|
||||
<componentDescriptor>src/main/components/bin-modules.xml</componentDescriptor>
|
||||
<componentDescriptor>src/main/components/bin-samples.xml</componentDescriptor>
|
||||
<componentDescriptor>src/main/components/bin-launcher.xml</componentDescriptor>
|
||||
</componentDescriptors>
|
||||
</assembly>
|
|
@ -1,45 +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.
|
||||
-->
|
||||
<assembly>
|
||||
<!-- id typically identifies the "type" (src vs bin etc) of the assembly -->
|
||||
<id>src</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>tuscany-sca-${version}-src</baseDirectory>
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
<format>zip</format>
|
||||
</formats>
|
||||
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>../..</directory>
|
||||
<outputDirectory></outputDirectory>
|
||||
<excludes>
|
||||
<exclude>**/.*</exclude>
|
||||
<exclude>**/.*/**</exclude>
|
||||
<exclude>**/*.log</exclude>
|
||||
<exclude>**/target</exclude>
|
||||
<exclude>**/target/**/*</exclude>
|
||||
<exclude>**/maven-eclipse.xml</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
</assembly>
|
|
@ -1,43 +0,0 @@
|
|||
<!--
|
||||
* 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.
|
||||
-->
|
||||
<component>
|
||||
<fileSets>
|
||||
|
||||
<!-- Add the text files to the top-level directroy -->
|
||||
<fileSet>
|
||||
<directory>../..</directory>
|
||||
<outputDirectory></outputDirectory>
|
||||
<includes>
|
||||
<include>CHANGES</include>
|
||||
<include>README</include>
|
||||
<include>RELEASE_NOTES</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>src/main/release/bin</directory>
|
||||
<outputDirectory></outputDirectory>
|
||||
<includes>
|
||||
<include>INSTALL</include>
|
||||
<include>LICENSE</include>
|
||||
<include>NOTICE</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
</component>
|
|
@ -1,41 +0,0 @@
|
|||
<!--
|
||||
* 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.
|
||||
-->
|
||||
<component>
|
||||
<fileSets>
|
||||
<fileSet>
|
||||
<directory>src/main/release/launcher</directory>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<includes>
|
||||
</includes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<unpack>false</unpack>
|
||||
<includes>
|
||||
<include>org.apache.tuscany.sca:tuscany-launcher</include>
|
||||
</includes>
|
||||
<outputFileNameMapping>launcher.jar</outputFileNameMapping>
|
||||
</dependencySet>
|
||||
|
||||
</dependencySets>
|
||||
|
||||
</component>
|
|
@ -1,33 +0,0 @@
|
|||
<!--
|
||||
* 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.
|
||||
-->
|
||||
<component>
|
||||
<fileSets>
|
||||
|
||||
<fileSet>
|
||||
<directory>target</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>modules/**/*</include>
|
||||
<include>features/**/*</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
</fileSets>
|
||||
|
||||
</component>
|
|
@ -1,65 +0,0 @@
|
|||
<!--
|
||||
* 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.
|
||||
-->
|
||||
<component>
|
||||
<fileSets>
|
||||
<!-- Add top level samples files -->
|
||||
<fileSet>
|
||||
<directory>../../samples</directory>
|
||||
<outputDirectory>samples</outputDirectory>
|
||||
<includes>
|
||||
<include>README</include>
|
||||
<include>logging.properties</include>
|
||||
<include>build-common.xml</include>
|
||||
<include>binding-ws-calculator/**/*</include>
|
||||
<include>calculator/**/*</include>
|
||||
<include>calculator-equinox/**/*</include>
|
||||
<include>calculator-osgi/**/*</include>
|
||||
<include>calculator-rmi-reference/**/*</include>
|
||||
<include>calculator-rmi-service/**/*</include>
|
||||
<include>implementation-java-calculator/**/*</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<!-- General file/folders to exclude -->
|
||||
<exclude>**/.*</exclude>
|
||||
<exclude>**/.*/**</exclude>
|
||||
<exclude>**/*.log</exclude>
|
||||
<exclude>**/*.svg</exclude>
|
||||
<exclude>**/maven-eclipse.xml</exclude>
|
||||
|
||||
<!-- Sample specific files/folders to exclude -->
|
||||
<exclude>pom.xml</exclude>
|
||||
<!-- exclude>**/target</exclude -->
|
||||
<!-- exclude>**/target/**/*</exclude -->
|
||||
<exclude>*/target/mvn-eclipse-cache.properties</exclude>
|
||||
<exclude>*/target/classes</exclude>
|
||||
<exclude>*/target/classes/**/*</exclude>
|
||||
<exclude>*/target/dependency-maven-plugin-markers</exclude>
|
||||
<exclude>*/target/dependency-maven-plugin-markers/**/*</exclude>
|
||||
<exclude>*/target/.felix</exclude>
|
||||
<exclude>*/target/.felix/**/*</exclude>
|
||||
<exclude>*/target/maven-archiver</exclude>
|
||||
<exclude>*/target/maven-archiver/**/*</exclude>
|
||||
<exclude>*/target/test-classes</exclude>
|
||||
<exclude>*/target/test-classes/**/*</exclude>
|
||||
<exclude>*/target/surefire-reports</exclude>
|
||||
<exclude>*/target/surefire-reports/**/*</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</component>
|
|
@ -1,24 +0,0 @@
|
|||
Installing the Apache Tuscany SCA 2.0-M1 February 2009 Release binary distribution
|
||||
=========================================================================================
|
||||
|
||||
Unzip Tuscany binary distribution archive and you get the following:
|
||||
|
||||
tuscany-sca-2.0-M1
|
||||
CHANGES - A note of the major changes in this release
|
||||
INSTALL - this help file
|
||||
LICENSE - the Apache License and any dependecy licenses
|
||||
NOTICE - attribution notices associated with the licenses
|
||||
README - readme for the release
|
||||
RELEASE_NOTES - description of this release
|
||||
|
||||
/bin - Tuscany launcher (for use when running tuscany from the command line)
|
||||
|
||||
/features - OSGi runtime configuration, Tuscany manifest and PDE target
|
||||
|
||||
/modules - all of the individual Tuscany jars and their dependencies
|
||||
|
||||
/samples - all the Tuscany samples, see the README in that directory
|
||||
|
||||
|
||||
|
||||
|
File diff suppressed because it is too large
Load diff
|
@ -1,62 +0,0 @@
|
|||
Apache Tuscany
|
||||
Copyright (c) 2005 - 2009 The Apache Software Foundation
|
||||
|
||||
This product includes software developed at
|
||||
The Apache Software Foundation (http://www.apache.org/).
|
||||
|
||||
This product includes/uses XmlSchema developed at
|
||||
The Apache Software Foundation (http://ws.apache.org/commons/XmlSchema)
|
||||
Portions Copyright 2006 International Business Machines Corp.
|
||||
|
||||
This product includes/uses the Jetty Servlet Engine (http://jetty.mortbay.org),
|
||||
developed by Mort Bay Consulting (http://www.mortbay.com)
|
||||
|
||||
This product includes/uses DOM4J : the flexible XML framework for java (http://www.dom4j.org/)
|
||||
Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved.
|
||||
|
||||
This product includes/uses software, AOP alliance (http://aopalliance.sourceforge.net)
|
||||
License: Public Domain
|
||||
|
||||
This product includes software from the GlassFish project (https://glassfish.dev.java.net/)
|
||||
Copyright (c) 2006, Sun Microsystems, Inc.
|
||||
|
||||
This product includes/uses the Sourceforge wsdl4j project (http://sourceforge.net/projects/wsdl4j/)
|
||||
|
||||
This product includes/uses JDOM (http://www.jdom.org/)
|
||||
Copyright (C) 2000-2004 Jason Hunter & Brett McLaughlin. All rights reserved.
|
||||
|
||||
This product includes/uses javacc (https://javacc.dev.java.net/)
|
||||
Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
|
||||
|
||||
This product includes/uses ASM (http://asm.objectweb.org)
|
||||
Copyright (c) 2000-2005 INRIA, France Telecom. All rights reserved.
|
||||
|
||||
This product includes/uses Jaxen (http://jaxen.codehaus.org/)
|
||||
Copyright 2003-2006 The Werken Company. All Rights Reserved.
|
||||
|
||||
This product includes/uses Serp (http://serp.sourceforge.net/) under the BSD license:
|
||||
Copyright (c) 2002, A. Abram White. All rights reserved.
|
||||
|
||||
This product also includes software under the BSD license
|
||||
with the following copyright:
|
||||
Copyright (c) 2006, Sun Microsystems, Inc. All rights reserved.
|
||||
|
||||
This product also includes "OSGi Materials."
|
||||
Copyright (c) 2000, 2006
|
||||
OSGi Alliance Bishop Ranch 6
|
||||
2400 Camino Ramon, Suite 375
|
||||
San Ramon, CA 94583 USA
|
||||
All Rights Reserved.
|
||||
|
||||
This product includes software under the Service Component Architecture JavaDoc,
|
||||
Interface Definition files and XSD files license.
|
||||
(c) Copyright SCA Collaboration 2006, 2007
|
||||
|
||||
This product includes software under the Service Data Objects JavaDoc and
|
||||
Interface Definition file license
|
||||
|
||||
(c) Copyright BEA Systems, Inc., International Business Machines Corporation,
|
||||
Oracle Corporation, Primeton Technologies Ltd., Rogue Wave Software, SAP AG.,
|
||||
Software AG., Sun Microsystems, Sybase Inc., Xcalia, Zend Technologies,
|
||||
2005, 2006. All rights reserved.
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
The bin folder contains bat and shell scripts to help with using Tuscany.
|
||||
You can use the "tuscany.bat" script to start a standalone runtime and
|
||||
deploy your SCA contributions.
|
||||
|
||||
For example, change to the implementation-java-calculator sample included
|
||||
in the Tuscany distribution and enter the following command:
|
||||
|
||||
..\..\bin\tuscany.bat target\implementation-java-calculator.jar
|
||||
|
||||
The script also supports things such as using a Java remote debugger,
|
||||
for help enter use the "/?" parameter, eg:
|
||||
|
||||
..\..\bin\tuscany.bat /?
|
||||
|
||||
To simplify the use of the script add the absolute file path of the bin
|
||||
folder to your environment path:
|
||||
|
||||
set PATH=%PATH%;\Tuscany\tuscany-sca-2.0-M1\bin
|
||||
|
||||
and that enables running the script by just "tuscany", for example, in the
|
||||
implementation-java-calculator sample again you can enter:
|
||||
|
||||
tuscany target\implementation-java-calculator.jar
|
||||
|
||||
Tuscany developers may find it useful to add the script from their SVN checkout
|
||||
development build to their environment so as to start runtimes using their local
|
||||
trunk build, for example:
|
||||
|
||||
set PATH=%PATH%;\Tuscany\SVN\trunk\distribution\all\target\apache-tuscany-sca-all-2.0-SNAPSHOT-dir\tuscany-sca-2.0-SNAPSHOT\bin
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
classpath=modules/**
|
||||
mainClass=[firstArgJarManifestMainClass]|org.apache.tuscany.sca.node.NodeMain2
|
||||
-Djava.util.logging.config.file={TUSCANY_HOME}/samples/logging.properties
|
||||
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
classpath=modules/**
|
||||
-Djava.util.logging.config.file={TUSCANY_HOME}/samples/logging.properties
|
||||
mainClass=org.apache.tuscany.sca.node.equinox.launcher.NodeLauncher2
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
@echo off
|
||||
|
||||
REM # Licensed to the Apache Software Foundation (ASF) under one
|
||||
REM # or more contributor license agreements. See the NOTICE file
|
||||
REM # distributed with this work for additional information
|
||||
REM # regarding copyright ownership. The ASF licenses this file
|
||||
REM # to you under the Apache License, Version 2.0 (the
|
||||
REM # "License"); you may not use this file except in compliance
|
||||
REM # with the License. You may obtain a copy of the License at
|
||||
REM #
|
||||
REM # http://www.apache.org/licenses/LICENSE-2.0
|
||||
REM #
|
||||
REM # Unless required by applicable law or agreed to in writing,
|
||||
REM # software distributed under the License is distributed on an
|
||||
REM # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
REM # KIND, either express or implied. See the License for the
|
||||
REM # specific language governing permissions and limitations
|
||||
REM # under the License.
|
||||
|
||||
if "%1"=="/?" goto help
|
||||
|
||||
if not "%TUSCANY_HOME%"=="" goto gotHome
|
||||
SET TUSCANY_HOME=%~dp0\..
|
||||
if not "%TUSCANY_HOME%"=="" goto gotHome
|
||||
echo.
|
||||
echo cannot find TUSCANY_HOME please set TUSCANY_HOME variable to the Tuscany installation dir
|
||||
echo.
|
||||
goto error
|
||||
:gotHome
|
||||
|
||||
|
||||
set _XDEBUG=
|
||||
if not %1==debug goto skipDebug
|
||||
set _XDEBUG=-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y
|
||||
shift
|
||||
:skipDebug
|
||||
|
||||
set _FORK=
|
||||
if not %1==fork goto skipFork
|
||||
set _FORK=start
|
||||
shift
|
||||
:skipFORK
|
||||
|
||||
set _CMD_LINE_ARGS=
|
||||
:argsLoop
|
||||
if %1a==a goto doneInit
|
||||
set _CMD_LINE_ARGS=%_CMD_LINE_ARGS% %1
|
||||
shift
|
||||
goto argsLoop
|
||||
|
||||
|
||||
:doneInit
|
||||
|
||||
%_FORK% java %_XDEBUG% -jar %TUSCANY_HOME%/bin/launcher.jar %_CMD_LINE_ARGS%
|
||||
|
||||
goto end
|
||||
|
||||
:help
|
||||
|
||||
echo Apache Tuscany SCA runtime launcher
|
||||
echo TUSCANY [debug] [fork] contributions
|
||||
echo debug enable Java remote debugging
|
||||
echo fork start a new command prompt window to run the contributions
|
||||
echo contributions list of SCA contribution file names seperated by spaces. All
|
||||
echo deployable composites found in the contributions will be run.
|
||||
|
||||
goto end
|
||||
|
||||
:error
|
||||
set ERROR_CODE=1
|
||||
|
||||
|
||||
:end
|
||||
@endlocal
|
||||
exit /B %ERROR_CODE%
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
# 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
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
# copied from tomcat catalina.sh
|
||||
# resolve links - $0 may be a softlink
|
||||
PRG="$0"
|
||||
|
||||
while [ -h "$PRG" ]; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`/"$link"
|
||||
fi
|
||||
done
|
||||
|
||||
# Get standard environment variables
|
||||
PRGDIR=`dirname "$PRG"`
|
||||
|
||||
# Only set CATALINA_HOME if not already set
|
||||
[ -z "$TUSCANY_HOME" ] && TUSCANY_HOME=`cd "$PRGDIR/.." ; pwd`
|
||||
|
||||
if [ "$1" = "/?" ] ; then
|
||||
echo "Apache Tuscany SCA runtime launcher"
|
||||
echo "TUSCANY [debug] contributions"
|
||||
echo " debug enable Java remote debugging"
|
||||
echo " contributions list of SCA contribution file names seperated by spaces. All"
|
||||
echo " deployable composites found in the contributions will be run."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
_XDEBUG=""
|
||||
if [ "$1" = "debug" ] ; then
|
||||
_XDEBUG="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=y"
|
||||
shift
|
||||
fi
|
||||
|
||||
java $_XDEBUG -jar $TUSCANY_HOME/bin/launcher.jar "$@"
|
|
@ -1,4 +0,0 @@
|
|||
classpath=modules/**
|
||||
-Djava.util.logging.config.file={TUSCANY_HOME}/samples/logging.properties
|
||||
mainClass=[firstArgJarManifestMainClass]
|
||||
|
|
@ -1,37 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-sca</artifactId>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-distribution</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>Apache Tuscany SCA Distributions</name>
|
||||
|
||||
<modules>
|
||||
<module>all</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
|
@ -1,80 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>tuscany-feature-all</artifactId>
|
||||
<name>Apache Tuscany SCA All-in-one Feature</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature-api</artifactId>
|
||||
<type>pom</type>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature-core</artifactId>
|
||||
<type>pom</type>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature-webservice</artifactId>
|
||||
<type>pom</type>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature-ejava</artifactId>
|
||||
<type>pom</type>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature-webapp</artifactId>
|
||||
<type>pom</type>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-launcher</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -1,51 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>tuscany-feature-api</artifactId>
|
||||
<name>Apache Tuscany SCA API Feature</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- SCA API -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-sca-api</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Node API -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-node-api</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -1,270 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>tuscany-feature-core</artifactId>
|
||||
<name>Apache Tuscany SCA Core Feature</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature-api</artifactId>
|
||||
<type>pom</type>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- SCA API -->
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-sca-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-node-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
-->
|
||||
|
||||
<!-- Assembly model -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-assembly</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-assembly-xml</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-assembly-xsd</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Bindings -->
|
||||
<!--dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-corba-runtime</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency-->
|
||||
|
||||
<!-- Contribution model -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-contribution</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-contribution-java</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-contribution-namespace</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Core runtime -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-core</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-core-databinding</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-core-spi</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Databindings -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-databinding</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-databinding-jaxb</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Data API -->
|
||||
<!--dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-data-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency-->
|
||||
|
||||
<!-- Policy definitions -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-definitions-xml</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Domain support -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-endpoint</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Core Extensibility -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-extensibility</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-extensibility-equinox</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Hosts -->
|
||||
<!--dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-host-corba-jse</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency-->
|
||||
<!-- host-http is required by tuscany-implementation-node-runtime -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-host-http</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Implementation types -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-implementation-java-runtime</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-implementation-node-runtime</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- Interface models -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-interface-java-xml</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-interface-java-jaxws</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-interface-wsdl-xml</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Node runtime -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-node-impl</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-node-launcher</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-node-launcher-equinox</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-node-launcher-webapp</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<type>war</type>
|
||||
</dependency>
|
||||
-->
|
||||
|
||||
<!-- Monitoring -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-monitor</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Policy models -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-policy</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-policy-security</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<!--dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-policy-security-jsr250</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency-->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-policy-xml</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- XMLSchema support -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-xsd</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-xsd-xml</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -1,126 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>tuscany-feature-ejava</artifactId>
|
||||
<name>Apache Tuscany SCA JEE Feature</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- Core distribution -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature-core</artifactId>
|
||||
<type>pom</type>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Bindings -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-rmi-runtime</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-ejb-runtime</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-jms-runtime</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
-->
|
||||
|
||||
<!-- Hosts -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-host-rmi</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-host-corba-jee</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
-->
|
||||
|
||||
<!-- Implementations -->
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-implementation-ejb</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-implementation-spring</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
-->
|
||||
|
||||
|
||||
<!-- Policies -->
|
||||
<!--
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-policy-transaction</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
-->
|
||||
</dependencies>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>rfc119</id>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-implementation-osgi-runtime</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-contribution-osgi</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-node-impl-osgi</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
</project>
|
|
@ -1,48 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-sca</artifactId>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature</artifactId>
|
||||
<packaging>pom</packaging>
|
||||
<name>Apache Tuscany SCA Features</name>
|
||||
|
||||
<modules>
|
||||
<module>all</module>
|
||||
<module>api</module>
|
||||
<module>core</module>
|
||||
<module>ejava</module>
|
||||
<module>webservice</module>
|
||||
<module>webapp</module>
|
||||
<!--
|
||||
<module>manager</module>
|
||||
<module>process</module>
|
||||
<module>repository</module>
|
||||
<module>web20</module>
|
||||
-->
|
||||
</modules>
|
||||
|
||||
</project>
|
|
@ -1,63 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>tuscany-feature-webapp</artifactId>
|
||||
<name>Apache Tuscany SCA WebApp Feature</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature-core</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-implementation-web-runtime</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Explicitly list the servlet/jsp apis as "provided" dependencies are not transitive -->
|
||||
<dependency>
|
||||
<groupId>javax.servlet</groupId>
|
||||
<artifactId>servlet-api</artifactId>
|
||||
<version>2.5</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.geronimo.specs</groupId>
|
||||
<artifactId>geronimo-jsp_2.1_spec</artifactId>
|
||||
<version>1.0.1</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -1,133 +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 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>
|
||||
<parent>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
|
||||
<artifactId>tuscany-feature-webservice</artifactId>
|
||||
<name>Apache Tuscany SCA Web Service Feature</name>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- Core distribution -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-feature-core</artifactId>
|
||||
<type>pom</type>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Bindings -->
|
||||
<!--dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-sca-axis2</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency-->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-ws</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-ws-axis2</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.apache.ant</groupId>
|
||||
<artifactId>ant-nodeps</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.axis2</groupId>
|
||||
<artifactId>addressing</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.axis2</groupId>
|
||||
<artifactId>axis2-xmlbeans</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.apache.axis2</groupId>
|
||||
<artifactId>axis2-adb-codegen</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk15</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>opensaml</groupId>
|
||||
<artifactId>opensaml</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-ws-wsdlgen</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-ws-xml</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Databindings -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-databinding-axiom</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-databinding-jaxb-axiom</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<!--dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-databinding-sdo</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-databinding-sdo-axiom</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency-->
|
||||
|
||||
<!-- Hosts -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-host-jetty</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Policy models -->
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-policy-xml-ws</artifactId>
|
||||
<version>2.0-M2-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
|
@ -1,68 +0,0 @@
|
|||
<!--
|
||||
* 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 name="was-integration" default="main" basedir=".">
|
||||
|
||||
<property environment="env"/>
|
||||
|
||||
<target name="startServer">
|
||||
<exec dir="." executable="${env.WAS_HOME}/bin/startServer.sh">
|
||||
<arg value="server1" />
|
||||
<!--
|
||||
<arg value="-username" />
|
||||
<arg value="${sWasUser}" />
|
||||
<arg value="-password" />
|
||||
<arg value="${sWasPassword}" />
|
||||
-->
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="stopServer">
|
||||
<exec dir="." executable="${env.WAS_HOME}/bin/stopServer.sh">
|
||||
<arg value="server1" />
|
||||
<!--
|
||||
<arg value="-username" />
|
||||
<arg value="${sWasUser}" />
|
||||
<arg value="-password" />
|
||||
<arg value="${sWasPassword}" />
|
||||
-->
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="installApplication">
|
||||
<echo>Installing war ${application.war} on ${application.server} using name ${application.name} and context root ${application.contextRoot} </echo>
|
||||
<exec dir="." executable="${env.WAS_HOME}/bin/wsadmin.sh">
|
||||
<arg line="-conntype SOAP -lang jython -f ${was.python.script} installApplicationOnServer ${application.war} ${application.name} ${application.contextRoot} ${application.server}" />
|
||||
</exec>
|
||||
|
||||
<echo>Starting application ${application.name} on ${application.server}</echo>
|
||||
<exec dir="." executable="${env.WAS_HOME}/bin/wsadmin.sh">
|
||||
<arg line="-conntype SOAP -lang jython -f ${was.python.script} startApplicationOnServer ${application.name} ${application.server}" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
<target name="uninstallApplication">
|
||||
<echo>Uninstalling ${application.name} </echo>
|
||||
<exec dir="." executable="${env.WAS_HOME}/bin/wsadmin.sh">
|
||||
<arg line="-conntype SOAP -lang jython -f ${was.python.script} uninstallApplicationOnServer ${application.name}" />
|
||||
</exec>
|
||||
</target>
|
||||
|
||||
|
||||
</project>
|
|
@ -1,119 +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-itest</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<artifactId>itest-builder</artifactId>
|
||||
<name>Apache Tuscany SCA iTest Builder</name>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-sca-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-implementation-java-runtime</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-monitor</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-workspace-impl</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-ws-axis2</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-binding-sca-xml</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-assembly</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-core-databinding</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-node-api</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.tuscany.sca</groupId>
|
||||
<artifactId>tuscany-node-impl</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>xerces</groupId>
|
||||
<artifactId>xercesImpl</artifactId>
|
||||
<version>2.8.1</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.5</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<finalName>${artifactId}</finalName>
|
||||
</build>
|
||||
</project>
|
|
@ -1,43 +0,0 @@
|
|||
/*
|
||||
* 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 org.apache.tuscany.sca.itest.builder;
|
||||
|
||||
import org.oasisopen.sca.annotation.Reference;
|
||||
import org.oasisopen.sca.annotation.Service;
|
||||
|
||||
/**
|
||||
* Implementation class for ComponentD.
|
||||
*
|
||||
* @version $Rev$ $Date$
|
||||
*/
|
||||
@Service(interfaces={Service3.class, Service3a.class})
|
||||
public class ComponentDImpl implements Service3, Service3a {
|
||||
|
||||
@Reference
|
||||
protected Service3a reference3;
|
||||
|
||||
public String getGreetings(String name) {
|
||||
return "Hello, " + name + "!";
|
||||
}
|
||||
|
||||
public String getGreetings2(String name) {
|
||||
return "Goodbye, " + name + "!";
|
||||
}
|
||||
|
||||
}
|
|
@ -1,48 +0,0 @@
|
|||
/*
|
||||
* 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 org.apache.tuscany.sca.itest.builder;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.oasisopen.sca.annotation.Reference;
|
||||
import org.oasisopen.sca.annotation.Service;
|
||||
|
||||
/**
|
||||
* Implementation class for ComponentD.
|
||||
*
|
||||
* @version $Rev$ $Date$
|
||||
*/
|
||||
@Service(interfaces={Service3.class, Service3a.class})
|
||||
public class ComponentDReferenceMultiplicityImpl implements Service3, Service3a {
|
||||
|
||||
@Reference
|
||||
protected Service3a reference3;
|
||||
|
||||
@Reference
|
||||
protected List<Service3> reference3a;
|
||||
|
||||
public String getGreetings(String name) {
|
||||
return "Hello, " + name + "!";
|
||||
}
|
||||
|
||||
public String getGreetings2(String name) {
|
||||
return "Goodbye, " + name + "!";
|
||||
}
|
||||
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
/*
|
||||
* 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 org.apache.tuscany.sca.itest.builder;
|
||||
|
||||
import org.oasisopen.sca.annotation.Service;
|
||||
|
||||
|
||||
/**
|
||||
* Implementation class for ComponentD.
|
||||
*
|
||||
* @version $Rev$ $Date$
|
||||
*/
|
||||
@Service(interfaces={Service3.class})
|
||||
public class ComponentEImpl implements Service3 {
|
||||
|
||||
|
||||
public String getGreetings(String name) {
|
||||
return "Hello, " + name + " from ComponentE";
|
||||
}
|
||||
}
|
|
@ -1,36 +0,0 @@
|
|||
/*
|
||||
* 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 org.apache.tuscany.sca.itest.builder;
|
||||
|
||||
import org.oasisopen.sca.annotation.Service;
|
||||
|
||||
|
||||
/**
|
||||
* Implementation class for ComponentD.
|
||||
*
|
||||
* @version $Rev$ $Date$
|
||||
*/
|
||||
@Service(interfaces={Service3.class})
|
||||
public class ComponentFImpl implements Service3 {
|
||||
|
||||
|
||||
public String getGreetings(String name) {
|
||||
return "Hello, " + name + " from ComponentF";
|
||||
}
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
/*
|
||||
* 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 org.apache.tuscany.sca.itest.builder;
|
||||
|
||||
import org.oasisopen.sca.annotation.Remotable;
|
||||
|
||||
|
||||
/**
|
||||
* Interface for Service3 in ComponentD.
|
||||
*
|
||||
* @version $Rev$ $Date$
|
||||
*/
|
||||
@Remotable
|
||||
public interface Service3 {
|
||||
|
||||
String getGreetings(String name);
|
||||
|
||||
}
|
|
@ -1,34 +0,0 @@
|
|||
/*
|
||||
* 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 org.apache.tuscany.sca.itest.builder;
|
||||
|
||||
import org.oasisopen.sca.annotation.Remotable;
|
||||
|
||||
|
||||
/**
|
||||
* Interface for Service3a in ComponentD.
|
||||
*
|
||||
* @version $Rev$ $Date$
|
||||
*/
|
||||
@Remotable
|
||||
public interface Service3a {
|
||||
|
||||
String getGreetings2(String name);
|
||||
|
||||
}
|
|
@ -1,23 +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/200903"
|
||||
xmlns:ns1="http://scenario1">
|
||||
<deployable composite="ns1:CompositeA" />
|
||||
</contribution>
|
|
@ -1,45 +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/200903"
|
||||
targetNamespace="http://scenario1"
|
||||
xmlns:tns="http://scenario1"
|
||||
name="CompositeA">
|
||||
|
||||
<service name="Service1" promote="ComponentB/Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws />
|
||||
</service>
|
||||
<reference name="reference1" promote="ComponentB/reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentB">
|
||||
<implementation.composite name="tns:CompositeC" />
|
||||
<service name="Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,47 +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/200903"
|
||||
targetNamespace="http://scenario1"
|
||||
xmlns:tns="http://scenario1"
|
||||
name="CompositeC">
|
||||
|
||||
<service name="Service2" promote="ComponentD/Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a" promote="ComponentD/Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference2" promote="ComponentD/reference3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentD">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentDImpl"/>
|
||||
<service name="Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,24 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario10"
|
||||
xmlns:ns10="http://scenario10">
|
||||
<deployable composite="ns10:CompositeA" />
|
||||
</contribution>
|
|
@ -1,62 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario10"
|
||||
xmlns:tns="http://scenario10"
|
||||
name="CompositeA">
|
||||
|
||||
<service name="Service1" promote="ComponentB/Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference1" promote="ComponentB/reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference1a" promote="ComponentB/reference2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentB">
|
||||
<implementation.composite name="tns:CompositeC" />
|
||||
<service name="Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws uri="http://foo.com/bar" />
|
||||
</service>
|
||||
<reference name="reference2" target="ComponentB/Service2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws />
|
||||
</reference>
|
||||
<reference name="reference2a" target="ComponentF">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<interface.wsdl interface="http://scenarios#wsdl.interface(Service3)" />
|
||||
<binding.ws />
|
||||
</reference>
|
||||
</component>
|
||||
|
||||
<component name="ComponentF">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentEImpl"/>
|
||||
<service name="Service3">
|
||||
<binding.sca />
|
||||
<binding.ws />
|
||||
</service>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,61 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario10"
|
||||
xmlns:tns="http://scenario10"
|
||||
name="CompositeC">
|
||||
|
||||
<service name="Service2" promote="ComponentD/Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a" promote="ComponentD/Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference2" promote="ComponentD/reference3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference2a" promote="ComponentD/reference3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentD">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentDReferenceMultiplicityImpl"/>
|
||||
<service name="Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference3" target="ComponentD/Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference3a" target="ComponentE">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
</component>
|
||||
|
||||
<component name="ComponentE">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentEImpl"/>
|
||||
<service name="Service3">
|
||||
<binding.sca />
|
||||
<binding.ws />
|
||||
</service>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,63 +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.
|
||||
-->
|
||||
<wsdl:definitions name="Service3Service"
|
||||
targetNamespace="http://scenarios"
|
||||
xmlns:tns="http://scenarios"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
|
||||
<wsdl:types>
|
||||
<xs:schema attributeFormDefault="qualified"
|
||||
elementFormDefault="unqualified"
|
||||
targetNamespace="http://scenarios"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="getGreetings">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="arg0" nillable="true" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="getGreetingsResponse">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
</wsdl:types>
|
||||
|
||||
<wsdl:message name="getGreetings">
|
||||
<wsdl:part name="getGreetings" element="tns:getGreetings" />
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getGreetingsResponse">
|
||||
<wsdl:part name="getGreetingsResponse" element="tns:getGreetingsResponse" />
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:portType name="Service3">
|
||||
<wsdl:operation name="getGreetings">
|
||||
<wsdl:input message="tns:getGreetings" />
|
||||
<wsdl:output message="tns:getGreetingsResponse" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
|
||||
</wsdl:definitions>
|
|
@ -1,24 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario11"
|
||||
xmlns:ns11="http://scenario11">
|
||||
<deployable composite="ns11:CompositeA" />
|
||||
</contribution>
|
|
@ -1,59 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario11"
|
||||
xmlns:tns="http://scenario11"
|
||||
name="CompositeA">
|
||||
|
||||
<service name="Service1" promote="ComponentB/Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference1" promote="ComponentB/reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference1a" promote="ComponentB/reference2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentB">
|
||||
<implementation.composite name="tns:CompositeC" />
|
||||
<service name="Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws uri="http://foo.com/bar" />
|
||||
</service>
|
||||
<reference name="reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference2a" target="ComponentF">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
</component>
|
||||
|
||||
<component name="ComponentF">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentEImpl"/>
|
||||
<service name="Service3">
|
||||
<binding.sca />
|
||||
<binding.ws />
|
||||
</service>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,64 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario11"
|
||||
xmlns:tns="http://scenario11"
|
||||
name="CompositeC">
|
||||
|
||||
<service name="Service2" promote="ComponentD/Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a" promote="ComponentD/Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference2" promote="ComponentD/reference3" target="ComponentB/Service2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws />
|
||||
</reference>
|
||||
<reference name="reference2a" promote="ComponentD/reference3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<interface.wsdl interface="http://scenarios#wsdl.interface(Service3)" />
|
||||
<binding.ws />
|
||||
</reference>
|
||||
|
||||
<component name="ComponentD">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentDReferenceMultiplicityImpl"/>
|
||||
<service name="Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference3" target="ComponentD/Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference3a" target="ComponentE">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
</component>
|
||||
|
||||
<component name="ComponentE">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentEImpl"/>
|
||||
<service name="Service3">
|
||||
<binding.sca />
|
||||
<binding.ws />
|
||||
</service>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,63 +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.
|
||||
-->
|
||||
<wsdl:definitions name="Service3Service"
|
||||
targetNamespace="http://scenarios"
|
||||
xmlns:tns="http://scenarios"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
||||
|
||||
<wsdl:types>
|
||||
<xs:schema attributeFormDefault="qualified"
|
||||
elementFormDefault="unqualified"
|
||||
targetNamespace="http://scenarios"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="getGreetings">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="arg0" nillable="true" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="getGreetingsResponse">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
</wsdl:types>
|
||||
|
||||
<wsdl:message name="getGreetings">
|
||||
<wsdl:part name="getGreetings" element="tns:getGreetings" />
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:message name="getGreetingsResponse">
|
||||
<wsdl:part name="getGreetingsResponse" element="tns:getGreetingsResponse" />
|
||||
</wsdl:message>
|
||||
|
||||
<wsdl:portType name="Service3">
|
||||
<wsdl:operation name="getGreetings">
|
||||
<wsdl:input message="tns:getGreetings" />
|
||||
<wsdl:output message="tns:getGreetingsResponse" />
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
|
||||
</wsdl:definitions>
|
|
@ -1,24 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario12"
|
||||
xmlns:ns12="http://scenario12">
|
||||
<deployable composite="ns12:CompositeA" />
|
||||
</contribution>
|
|
@ -1,58 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario12"
|
||||
xmlns:tns="http://scenario12"
|
||||
name="CompositeA">
|
||||
|
||||
<service name="Service1" promote="ComponentB/Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference1" promote="ComponentB/reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference1a" promote="ComponentB/reference2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentB">
|
||||
<implementation.composite name="tns:CompositeC" />
|
||||
<service name="Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference2a" target="ComponentF">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
</component>
|
||||
|
||||
<component name="ComponentF">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentEImpl"/>
|
||||
<service name="Service3">
|
||||
<binding.sca />
|
||||
<binding.ws />
|
||||
</service>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,64 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario12"
|
||||
xmlns:tns="http://scenario12"
|
||||
name="CompositeC">
|
||||
|
||||
<service name="Service2" promote="ComponentD/Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a" promote="ComponentD/Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference2" promote="ComponentD/reference3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference2a" promote="ComponentD/reference3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentD">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentDReferenceMultiplicityImpl"/>
|
||||
<service name="Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws uri="http://foo.com/bar" />
|
||||
</service>
|
||||
<reference name="reference3" target="ComponentD/Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws/>
|
||||
</reference>
|
||||
<reference name="reference3a" target="ComponentE">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws />
|
||||
</reference>
|
||||
</component>
|
||||
|
||||
<component name="ComponentE">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentEImpl"/>
|
||||
<service name="Service3">
|
||||
<binding.sca />
|
||||
<binding.ws />
|
||||
</service>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,24 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario13"
|
||||
xmlns:ns13="http://scenario13">
|
||||
<deployable composite="ns13:CompositeA" />
|
||||
</contribution>
|
|
@ -1,58 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario13"
|
||||
xmlns:tns="http://scenario13"
|
||||
name="CompositeA">
|
||||
|
||||
<service name="Service1" promote="ComponentB/Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference1" promote="ComponentB/reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference1a" promote="ComponentB/reference2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentB">
|
||||
<implementation.composite name="tns:CompositeC" />
|
||||
<service name="Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
</component>
|
||||
|
||||
<component name="ComponentF">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentEImpl"/>
|
||||
<service name="Service3">
|
||||
<binding.sca />
|
||||
<binding.ws />
|
||||
</service>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,64 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario13"
|
||||
xmlns:tns="http://scenario13"
|
||||
name="CompositeC">
|
||||
|
||||
<service name="Service2" promote="ComponentD/Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a" promote="ComponentD/Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference2" promote="ComponentD/reference3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
<reference name="reference2a" promote="ComponentD/reference3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentD">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentDReferenceMultiplicityImpl"/>
|
||||
<service name="Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws uri="http://foo.com/bar" />
|
||||
</service>
|
||||
<reference name="reference3" target="ComponentD/Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws/>
|
||||
</reference>
|
||||
<reference name="reference3a" target="ComponentE">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws />
|
||||
</reference>
|
||||
</component>
|
||||
|
||||
<component name="ComponentE">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentEImpl"/>
|
||||
<service name="Service3">
|
||||
<binding.sca />
|
||||
<binding.ws />
|
||||
</service>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,24 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario2"
|
||||
xmlns:ns2="http://scenario2">
|
||||
<deployable composite="ns2:CompositeA" />
|
||||
</contribution>
|
|
@ -1,45 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario2"
|
||||
xmlns:tns="http://scenario2"
|
||||
name="CompositeA">
|
||||
|
||||
<service name="Service1" promote="ComponentB/Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference1" promote="ComponentB/reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentB">
|
||||
<implementation.composite name="tns:CompositeC" />
|
||||
<service name="Service2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
<binding.ws />
|
||||
</service>
|
||||
<service name="Service2a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference2">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,47 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario2"
|
||||
xmlns:tns="http://scenario2"
|
||||
name="CompositeC">
|
||||
|
||||
<service name="Service2" promote="ComponentD/Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service2a" promote="ComponentD/Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference2" promote="ComponentD/reference3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
|
||||
<component name="ComponentD">
|
||||
<implementation.java class="org.apache.tuscany.sca.itest.builder.ComponentDImpl"/>
|
||||
<service name="Service3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<service name="Service3a">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</service>
|
||||
<reference name="reference3">
|
||||
<!-- bindings and/or interfaces may or may not be specified explicitly here -->
|
||||
</reference>
|
||||
</component>
|
||||
</composite>
|
|
@ -1,24 +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://www.osoa.org/xmlns/sca/1.0"
|
||||
targetNamespace="http://scenario3"
|
||||
xmlns:ns3="http://scenario3">
|
||||
<deployable composite="ns3:CompositeA" />
|
||||
</contribution>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue