summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-04-21 10:40:47 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-04-21 10:40:47 +0000
commit272c01d1369e65413cc9b2b095dab8b6393bea62 (patch)
tree5b5a03a085bc780ccee4d3a1b75aafcb2f73dc3a /branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced
parent82617c0be00e5f4f5f9833271c3723412cf58fa2 (diff)
Start adding some more JEE samples. No guarantee that these actually work yet as I haven't run them in a JEE runtime but a place to start.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@767108 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced')
-rw-r--r--branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/pom.xml89
-rw-r--r--branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/src/main/resources/META-INF/application.xml14
-rw-r--r--branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/src/main/resources/META-INF/geronimo-application.xml32
3 files changed, 135 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/pom.xml b/branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/pom.xml
new file mode 100644
index 0000000000..fb6cceabf0
--- /dev/null
+++ b/branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/pom.xml
@@ -0,0 +1,89 @@
+<?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>itest-contribution-jee-samples</artifactId>
+ <version>1.6-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>itest-contribution-jee-samples-13-ear-nonenhanced</artifactId>
+ <name>Apache Tuscany SCA iTest Contribution Java EE Samples 13</name>
+ <packaging>ear</packaging>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>tuscany-sca-api</artifactId>
+ <version>1.6-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-ejb_3.0_spec</artifactId>
+ <version>1.0</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>itest-contribution-jee-samples-7-ejb-nonenhanced</artifactId>
+ <version>1.6-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>itest-contribution-jee-samples-1-war-nonenhanced</artifactId>
+ <version>1.6-SNAPSHOT</version>
+ <type>war</type>
+ <scope>provided</scope>
+ </dependency>
+
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-ear-plugin</artifactId>
+ <configuration>
+ <modules>
+ <jarModule>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>itest-contribution-jee-samples-7-ejb-nonenhanced</artifactId>
+ <bundleDir>/</bundleDir>
+ </jarModule>
+ <webModule>
+ <groupId>org.apache.tuscany.sca</groupId>
+ <artifactId>itest-contribution-jee-samples-1-war-nonenhanced</artifactId>
+ <bundleDir>/</bundleDir>
+ </webModule>
+ </modules>
+ </configuration>
+ </plugin>
+ </plugins>
+ <finalName>${artifactId}</finalName>
+ </build>
+</project>
diff --git a/branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/src/main/resources/META-INF/application.xml b/branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/src/main/resources/META-INF/application.xml
new file mode 100644
index 0000000000..ccbc1a0f12
--- /dev/null
+++ b/branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/src/main/resources/META-INF/application.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application xmlns="http://java.sun.com/xml/ns/javaee" 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/application_5.xsd" version="5">
+ <description>simple-app ear</description>
+ <display-name>simple-app ear</display-name>
+ <module>
+ <ejb>ejb-nonenhanced.jar</ejb>
+ </module>
+ <module>
+ <web>
+ <web-uri>war-nonenhanced.war</web-uri>
+ <context-root>/webroot</context-root>
+ </web>
+ </module>
+</application>
diff --git a/branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/src/main/resources/META-INF/geronimo-application.xml b/branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/src/main/resources/META-INF/geronimo-application.xml
new file mode 100644
index 0000000000..7e4cfb3577
--- /dev/null
+++ b/branches/sca-java-1.x/itest/contribution-jee-samples/ear-nonenhanced/src/main/resources/META-INF/geronimo-application.xml
@@ -0,0 +1,32 @@
+<?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.
+-->
+
+<!-- $Rev$ $Date$ -->
+
+<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-1.2">
+ <environment xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2">
+ <moduleId>
+ <groupId>test</groupId>
+ <artifactId>simple-app</artifactId>
+ <version>1.0</version>
+ <type>ear</type>
+ </moduleId>
+ </environment>
+</application>