You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2011/05/19 10:26:38 UTC
svn commit: r1124589 - in /openejb/trunk/openejb3: ./ container/openejb-core/
container/openejb-core/src/test/java/org/apache/openejb/cdi/tck/
container/openejb-core/src/test/resources/ tck/ tck/cdi-embedded/
tck/cdi-embedded/src/ tck/cdi-embedded/src/...
Author: dblevins
Date: Thu May 19 08:26:37 2011
New Revision: 1124589
URL: http://svn.apache.org/viewvc?rev=1124589&view=rev
Log:
CDI TCK module
Yanked CDI setup from the openejb-core module
Added:
openejb/trunk/openejb3/tck/
openejb/trunk/openejb3/tck/cdi-embedded/
openejb/trunk/openejb3/tck/cdi-embedded/pom.xml
openejb/trunk/openejb3/tck/cdi-embedded/src/
openejb/trunk/openejb3/tck/cdi-embedded/src/main/
openejb/trunk/openejb3/tck/cdi-embedded/src/main/java/
openejb/trunk/openejb3/tck/cdi-embedded/src/main/resources/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/BeansImpl.java
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ContextsImpl.java
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ELImpl.java
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ManagersImpl.java
openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/StandaloneContainersImpl.java
openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/META-INF/
openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/META-INF/jboss-test-harness.properties
openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/suite.xml
openejb/trunk/openejb3/tck/pom.xml
Removed:
openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/cdi/tck/
openejb/trunk/openejb3/container/openejb-core/src/test/resources/cdi-suite.xml
Modified:
openejb/trunk/openejb3/container/openejb-core/pom.xml
openejb/trunk/openejb3/pom.xml
Modified: openejb/trunk/openejb3/container/openejb-core/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/pom.xml?rev=1124589&r1=1124588&r2=1124589&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/pom.xml (original)
+++ openejb/trunk/openejb3/container/openejb-core/pom.xml Thu May 19 08:26:37 2011
@@ -422,131 +422,6 @@
<groupId>org.apache.openwebbeans</groupId>
</dependency>
<dependency>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject-tck</artifactId>
- <version>1</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-harness</groupId>
- <artifactId>jboss-test-harness</artifactId>
- <version>1.1.0-CR5</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.jboss.test-harness</groupId>
- <artifactId>jboss-test-harness-api</artifactId>
- <version>1.1.0-CR5</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jboss.jsr299.tck</groupId>
- <artifactId>jsr299-tck-api</artifactId>
- <version>1.0.2.CR1</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.jboss.jsr299.tck</groupId>
- <artifactId>jsr299-tck-impl</artifactId>
- <version>1.0.2.CR1</version>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.testng</groupId>
- <artifactId>testng</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.servlet</groupId>
- <artifactId>servlet-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.enterprise</groupId>
- <artifactId>cdi-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.servlet.jsp</groupId>
- <artifactId>jsp-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.validation</groupId>
- <artifactId>validation-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.annotation</groupId>
- <artifactId>jsr250-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.jws</groupId>
- <artifactId>jsr181-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.el</groupId>
- <artifactId>el-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.faces</groupId>
- <artifactId>jsf-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.inject</groupId>
- <artifactId>javax.inject</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.persistence</groupId>
- <artifactId>persistence-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>javax.transaction</groupId>
- <artifactId>jta</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.ejb3</groupId>
- <artifactId>jboss-ejb3-api</artifactId>
- </exclusion>
- <exclusion>
- <groupId>org.jboss.interceptor</groupId>
- <artifactId>jboss-interceptor-api</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
<groupId>org.beanshell</groupId>
<artifactId>bsh</artifactId>
<version>2.0b4</version>
@@ -581,213 +456,6 @@
</plugins>
</build>
</profile>
- <profile>
- <id>tck</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-tck</id>
- <phase>generate-test-sources</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.jboss.jsr299.tck</groupId>
- <artifactId>jsr299-tck-impl</artifactId>
- <version>1.0.2.CR1</version>
- <type>xml</type>
- <classifier>suite</classifier>
- <overWrite>true</overWrite>
- </artifactItem>
- <!-- OWB Implementation Package -->
- <artifactItem>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-impl</artifactId>
- <overWrite>true</overWrite>
- <version>1.0.0-SNAPSHOT</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- OWB JSF 1.2 Plugin Package -->
- <artifactItem>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-jsf12</artifactId>
- <overWrite>true</overWrite>
- <version>${org.apache.openwebbeans.version}</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- OWB EL 1.0 Plugin Package -->
- <artifactItem>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-el10</artifactId>
- <overWrite>true</overWrite>
- <version>${org.apache.openwebbeans.version}</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- OWB Web Plugin Package -->
- <artifactItem>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-web</artifactId>
- <overWrite>true</overWrite>
- <version>${org.apache.openwebbeans.version}</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- JavaEE API -->
- <artifactItem>
- <groupId>org.apache.openejb</groupId>
- <artifactId>javaee-api</artifactId>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- OWB EE Common Package -->
- <artifactItem>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-ee-common</artifactId>
- <overWrite>true</overWrite>
- <version>${org.apache.openwebbeans.version}</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- MyFaces API Package -->
- <artifactItem>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-api</artifactId>
- <overWrite>true</overWrite>
- <version>1.2.8</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- MyFaces Impl Package -->
- <artifactItem>
- <groupId>org.apache.myfaces.core</groupId>
- <artifactId>myfaces-impl</artifactId>
- <overWrite>true</overWrite>
- <version>1.2.8</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- OWB Resource Plugin Package -->
- <artifactItem>
- <groupId>org.apache.openwebbeans</groupId>
- <artifactId>openwebbeans-resource</artifactId>
- <overWrite>true</overWrite>
- <version>${org.apache.openwebbeans.version}</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- Dom4j -->
- <artifactItem>
- <groupId>dom4j</groupId>
- <artifactId>dom4j</artifactId>
- <overWrite>true</overWrite>
- <version>1.6.1</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- javassist -->
- <artifactItem>
- <groupId>javassist</groupId>
- <artifactId>javassist</artifactId>
- <overWrite>true</overWrite>
- <version>3.12.0.GA</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- scannotation -->
- <artifactItem>
- <groupId>net.sf.scannotation</groupId>
- <artifactId>scannotation</artifactId>
- <overWrite>true</overWrite>
- <version>1.0.2</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- commons-logging -->
- <artifactItem>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <overWrite>true</overWrite>
- <version>1.1.1</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- commons-digester -->
- <artifactItem>
- <groupId>commons-digester</groupId>
- <artifactId>commons-digester</artifactId>
- <overWrite>true</overWrite>
- <version>1.6</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- commons-codec -->
- <artifactItem>
- <groupId>commons-codec</groupId>
- <artifactId>commons-codec</artifactId>
- <overWrite>true</overWrite>
- <version>1.4</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- commons-validator -->
- <artifactItem>
- <groupId>commons-validator</groupId>
- <artifactId>commons-validator</artifactId>
- <overWrite>true</overWrite>
- <version>1.3.1</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- commons-collections -->
- <artifactItem>
- <groupId>commons-collections</groupId>
- <artifactId>commons-collections</artifactId>
- <overWrite>true</overWrite>
- <version>3.2.1</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- commons-beanutils -->
- <artifactItem>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <overWrite>true</overWrite>
- <version>1.7.0</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- commons-discovery -->
- <artifactItem>
- <groupId>commons-discovery</groupId>
- <artifactId>commons-discovery</artifactId>
- <overWrite>true</overWrite>
- <version>0.4</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- <!-- xml-apis -->
- <artifactItem>
- <groupId>xml-apis</groupId>
- <artifactId>xml-apis</artifactId>
- <overWrite>true</overWrite>
- <version>1.3.04</version>
- <outputDirectory>${project.build.directory}/dependency/lib</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <testNGArtifactName>org.testng:testng</testNGArtifactName>
- <suiteXmlFiles>
- <suiteXmlFile>src/test/resources/cdi-suite.xml</suiteXmlFile>
- </suiteXmlFiles>
- <systemProperties>
- <property>
- <name>org.jboss.testharness.libraryDirectory</name>
- <value>target/dependency/lib</value>
- </property>
- </systemProperties>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
</profiles>
</project>
Modified: openejb/trunk/openejb3/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/pom.xml?rev=1124589&r1=1124588&r2=1124589&view=diff
==============================================================================
--- openejb/trunk/openejb3/pom.xml (original)
+++ openejb/trunk/openejb3/pom.xml Thu May 19 08:26:37 2011
@@ -317,6 +317,7 @@
<module>server</module>
<module>examples</module>
<module>assembly</module>
+ <module>tck</module>
</modules>
<profiles>
Added: openejb/trunk/openejb3/tck/cdi-embedded/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/cdi-embedded/pom.xml?rev=1124589&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/cdi-embedded/pom.xml (added)
+++ openejb/trunk/openejb3/tck/cdi-embedded/pom.xml Thu May 19 08:26:37 2011
@@ -0,0 +1,90 @@
+<?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">
+ <parent>
+ <artifactId>tck</artifactId>
+ <groupId>org.apache.openejb</groupId>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>cdi-embedded</artifactId>
+ <packaging>jar</packaging>
+ <name>OpenEJB :: TCK :: CDI Embedded</name>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>openejb-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.jboss.jsr299.tck</groupId>
+ <artifactId>jsr299-tck-impl</artifactId>
+ <version>1.0.4.SP1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <suiteXmlFiles>
+ <suiteXmlFile>src/test/resources/suite.xml</suiteXmlFile>
+ </suiteXmlFiles>
+ <systemProperties>
+ <property>
+ <name>org.jboss.testharness.standalone</name>
+ <value>false</value>
+ </property>
+ <property>
+ <name>org.jboss.testharness.runIntegrationTests</name>
+ <value>true</value>
+ </property>
+ <property>
+ <name>org.jboss.testharness.container.forceRestart</name>
+ <value>true</value>
+ </property>
+ <property>
+ <name>org.jboss.testharness.libraryDirectory</name>
+ <value>${project.build.directory}/dependency/lib</value>
+ </property>
+ <property>
+ <name>org.jboss.testharness.outputDirectory</name>
+ <value>target</value>
+ </property>
+ <property>
+ <name>deleteArtifacts</name>
+ <value>true</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Added: openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/BeansImpl.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/BeansImpl.java?rev=1124589&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/BeansImpl.java (added)
+++ openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/BeansImpl.java Thu May 19 08:26:37 2011
@@ -0,0 +1,39 @@
+/**
+ * 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.openejb.tck.cdi.embedded;
+
+import java.io.IOException;
+
+/**
+* @version $Rev$ $Date$
+*/
+public class BeansImpl implements org.jboss.jsr299.tck.spi.Beans {
+
+ public boolean isProxy(Object instance) {
+ return instance.getClass().getName().contains("$$");
+ }
+
+ @Override
+ public byte[] serialize(Object instance) throws IOException {
+ return new byte[0];
+ }
+
+ @Override
+ public Object deserialize(byte[] bytes) throws IOException, ClassNotFoundException {
+ return null;
+ }
+}
Added: openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ContextsImpl.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ContextsImpl.java?rev=1124589&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ContextsImpl.java (added)
+++ openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ContextsImpl.java Thu May 19 08:26:37 2011
@@ -0,0 +1,60 @@
+/**
+ * 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.openejb.tck.cdi.embedded;
+
+import org.apache.webbeans.config.WebBeansContext;
+import org.apache.webbeans.context.AbstractContext;
+import org.apache.webbeans.context.ContextFactory;
+import org.apache.webbeans.context.RequestContext;
+import org.apache.webbeans.context.type.ContextTypes;
+
+import javax.enterprise.context.RequestScoped;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class ContextsImpl implements org.jboss.jsr299.tck.spi.Contexts<AbstractContext> {
+
+ public AbstractContext getRequestContext() {
+ ContextFactory contextFactory = WebBeansContext.getInstance().getContextFactory();
+ RequestContext ctx = (RequestContext) contextFactory.getStandardContext(RequestScoped.class);
+
+ if (ctx == null) {
+ contextFactory.initRequestContext(null);
+ }
+
+ return (AbstractContext) contextFactory.getStandardContext(ContextTypes.REQUEST);
+ }
+
+ public void setActive(AbstractContext context) {
+ context.setActive(true);
+
+ }
+
+ public void setInactive(AbstractContext context) {
+ context.setActive(false);
+ }
+
+ public AbstractContext getDependentContext() {
+ ContextFactory contextFactory = WebBeansContext.getInstance().getContextFactory();
+ return (AbstractContext) contextFactory.getStandardContext(ContextTypes.DEPENDENT);
+ }
+
+ public void destroyContext(AbstractContext context) {
+ context.destroy();
+ }
+}
Added: openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ELImpl.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ELImpl.java?rev=1124589&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ELImpl.java (added)
+++ openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ELImpl.java Thu May 19 08:26:37 2011
@@ -0,0 +1,40 @@
+/**
+ * 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.openejb.tck.cdi.embedded;
+
+import javax.el.ELContext;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class ELImpl implements org.jboss.jsr299.tck.spi.EL {
+
+ @Override
+ public <T> T evaluateValueExpression(String expression, Class<T> expectedType) {
+ return null;
+ }
+
+ @Override
+ public <T> T evaluateMethodExpression(String expression, Class<T> expectedType, Class<?>[] expectedParamTypes, Object[] expectedParams) {
+ return null;
+ }
+
+ @Override
+ public ELContext createELContext() {
+ return null;
+ }
+}
Added: openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ManagersImpl.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ManagersImpl.java?rev=1124589&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ManagersImpl.java (added)
+++ openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/ManagersImpl.java Thu May 19 08:26:37 2011
@@ -0,0 +1,32 @@
+/**
+ * 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.openejb.tck.cdi.embedded;
+
+import org.apache.webbeans.container.InjectableBeanManager;
+
+import javax.enterprise.inject.spi.BeanManager;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class ManagersImpl implements org.jboss.jsr299.tck.spi.Managers {
+
+ public BeanManager getManager() {
+ return new InjectableBeanManager();
+ }
+
+}
Added: openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/StandaloneContainersImpl.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/StandaloneContainersImpl.java?rev=1124589&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/StandaloneContainersImpl.java (added)
+++ openejb/trunk/openejb3/tck/cdi-embedded/src/test/java/org/apache/openejb/tck/cdi/embedded/StandaloneContainersImpl.java Thu May 19 08:26:37 2011
@@ -0,0 +1,131 @@
+/**
+ * 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.openejb.tck.cdi.embedded;
+
+import org.apache.openejb.AppContext;
+import org.apache.openejb.assembler.classic.AppInfo;
+import org.apache.openejb.assembler.classic.Assembler;
+import org.apache.openejb.assembler.classic.EjbJarInfo;
+import org.apache.openejb.assembler.classic.SecurityServiceInfo;
+import org.apache.openejb.assembler.classic.TransactionServiceInfo;
+import org.apache.openejb.config.AppModule;
+import org.apache.openejb.config.ConfigurationFactory;
+import org.apache.openejb.config.EjbModule;
+import org.apache.openejb.jee.EjbJar;
+import org.apache.xbean.finder.AnnotationFinder;
+import org.apache.xbean.finder.ClassFinder;
+import org.apache.xbean.finder.archive.ClassesArchive;
+import org.jboss.testharness.api.DeploymentException;
+
+import java.io.File;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class StandaloneContainersImpl implements org.jboss.testharness.spi.StandaloneContainers {
+
+ private AppContext appContext;
+
+ private DeploymentException deploymentException;
+
+ public void deploy(Collection<Class<?>> classes) throws DeploymentException {
+ deploy(classes, Collections.<URL>emptyList());
+ }
+
+ public boolean deploy(Collection<Class<?>> classes, Collection<URL> urls) {
+ System.out.println("StandaloneContainersImpl.deploy");
+
+ List<String> classNames = new ArrayList<String>();
+
+ for (Class<?> clazz : classes) classNames.add(clazz.getName());
+
+ Collections.sort(classNames);
+
+ for (String clazz : classNames) {
+ System.out.println("clazz = " + clazz);
+ }
+
+ for (URL url : urls) {
+ System.out.println("url = " + url);
+ }
+
+ try {
+ EjbModule ejbModule = new EjbModule(new EjbJar("beans"));
+ ejbModule.setFinder(new AnnotationFinder(new ClassesArchive(classes)));
+
+ Map<String, Object> dds = ejbModule.getAltDDs();
+
+ for (URL url : urls) {
+ final File file = new File(url.getFile());
+ dds.put(file.getName(), url);
+ }
+
+ Assembler assembler = new Assembler();
+ ConfigurationFactory config = new ConfigurationFactory();
+ assembler.createSecurityService(config.configureService(SecurityServiceInfo.class));
+ assembler.createTransactionManager(config.configureService(TransactionServiceInfo.class));
+
+ final AppInfo appInfo = config.configureApplication(new AppModule(ejbModule));
+
+ for (EjbJarInfo ejbJar : appInfo.ejbJars) {
+ // TODO We need to improve our scanning so this isn't necessary
+ ejbJar.beans.managedClasses.addAll(classNames);
+ }
+
+ appContext = assembler.createApplication(appInfo);
+
+ // This must be set or the OWB static lookup code won't work and everything will fall apart
+ Thread.currentThread().setContextClassLoader(appContext.getClassLoader());
+
+ } catch (Exception e) {
+ e.printStackTrace();
+ deploymentException = new DeploymentException("Deploy failed", e);
+ return false;
+ }
+ // System.out.println("StandaloneContainersImpl.deploy(classes, urls)");
+ // for (Class<?> clazz : classes) {
+ // System.out.println("clazz = " + clazz);
+ // }
+ // for (URL url : urls) {
+ // System.out.println("url = " + url);
+ // }
+ return true;
+ }
+
+ public DeploymentException getDeploymentException() {
+ System.out.println("StandaloneContainersImpl.getDeploymentException");
+ return deploymentException;
+ }
+
+ public void undeploy() {
+ System.out.println("StandaloneContainersImpl.undeploy");
+ }
+
+ public void setup() {
+ System.out.println("StandaloneContainersImpl.setup");
+ }
+
+ public void cleanup() {
+ System.out.println("StandaloneContainersImpl.cleanup");
+ }
+}
Added: openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/META-INF/jboss-test-harness.properties
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/META-INF/jboss-test-harness.properties?rev=1124589&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/META-INF/jboss-test-harness.properties (added)
+++ openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/META-INF/jboss-test-harness.properties Thu May 19 08:26:37 2011
@@ -0,0 +1,22 @@
+#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.
+
+org.jboss.jsr299.tck.spi.Managers=org.apache.openejb.tck.cdi.embedded.ManagersImpl
+org.jboss.jsr299.tck.spi.Beans=org.apache.openejb.tck.cdi.embedded.BeansImpl
+org.jboss.jsr299.tck.spi.Contexts=org.apache.openejb.tck.cdi.embedded.ContextsImpl
+org.jboss.jsr299.tck.spi.EL=org.apache.openejb.tck.cdi.embedded.ELImpl
+org.jboss.testharness.spi.StandaloneContainers=org.apache.openejb.tck.cdi.embedded.StandaloneContainersImpl
Added: openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/suite.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/suite.xml?rev=1124589&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/suite.xml (added)
+++ openejb/trunk/openejb3/tck/cdi-embedded/src/test/resources/suite.xml Thu May 19 08:26:37 2011
@@ -0,0 +1,81 @@
+<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
+
+<!-- CDI TCK Excludes for latest released TCK (currently 1.0.1 Final)
+-->
+
+<suite name="CDI TCK" verbose="0">
+ <test name="CDI TCK">
+
+ <classes>
+
+ <!--<class name="org.jboss.jsr299.tck.tests.decorators.invocation.DecoratorInvocationTest"/>-->
+
+ <!--<class name="org.jboss.jsr299.tck.tests.context.application.ejb.ApplicationContextSharedTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.dependent.ejb.DependentContextEjbTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.PassivatingContextTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean.EnterpriseBeanWithIllegalDependencyTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.dependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean.EnterpriseBeanWithIllegalDependencyTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptor.EnterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptorTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingConstructorFieldInDecorator.EnterpriseBeanWithNonPassivatingFieldInDecoratorTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingDecorator.EnterpriseBeanWithNonPassivatingDecoratorTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingInitializerInDecorator.EnterpriseBeanWithNonPassivatingInitializerInDecoratorTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingInitializerParameterInInterceptor.EnterpriseBeanWithNonPassivatingInitializerParameterInInterceptorTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingInjectedFieldInDecorator.EnterpriseBeanWithNonPassivatingInjectedFieldInDecoratorTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonPassivatingInjectedFieldInInterceptor.EnterpriseBeanWithNonPassivatingInjectedFieldInInterceptorTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.enterpriseBeanWithNonSerializableIntializerMethod.EnterpriseBeanWithNonSerializableIntializerMethodTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.finalProducerFieldNotPassivationCapable.NonPassivationCapableProducerFieldTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.managedBeanWithNonPassivatingDecorator.ManagedBeanWithNonPassivatingDecoratorTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.nonPassivationCapableProducerField.NonPassivationCapableProducerFieldTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.nonPassivationCapableProducerMethod.NonPassivationCapableProducerMethodTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.passivating.broken.unserializableSimpleInjectedIntoPassivatingEnterpriseBean.UnserializableSimpleInjectedIntoPassivatingEnterpriseBeanTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.context.request.ejb.EJBRequestContextTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.decorators.invocation.EJBDecoratorInvocationTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.definition.qualifier.enterprise.EnterpriseQualifierDefinitionTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.definition.scope.enterprise.EnterpriseScopeDefinitionTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.definition.stereotype.enterprise.EnterpriseStereotypeDefinitionTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.deployment.lifecycle.broken.failsDuringBeanDiscovery.DeploymentFailureTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.deployment.packaging.bundledLibrary.LibraryInEarTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.event.broken.observer.notBusinessMethod.EJBObserverMethodNotBusinessMethodTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.event.observer.enterprise.EnterpriseEventInheritenceTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.extensions.container.event.ContainerEventTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.extensions.processBean.ProcessSessionBeanTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.extensions.producer.ProducerTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.builtin.BuiltInBeansTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.disposal.method.definition.broken.methodOnSessionBean.DisposalMethodOnSessionBean"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.broken.singletonWithConversationScope.SingletonWithConversationScopeTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.broken.singletonWithRequestScope.SingletonWithRequestScopeTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.broken.singletonWithSessionScope.SingletonWithSessionScopeTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.broken.statelessWithApplicationScope.StatelessWithApplicationScopeTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.broken.statelessWithConversationScope.StatelessWithConversationScopeTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.broken.statelessWithRequestScope.StatelessWithRequestScopeTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.broken.statelessWithSessionScope.StatelessWithSessionScopeTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.definition.EnterpriseBeanDefinitionTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.definition.EnterpriseBeanViaXmlTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.lifecycle.EnterpriseBeanLifecycleTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanICTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.enterprise.remove.EnterpriseBeanRemoveMethodTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.initializer.EjbInitializerMethodTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.initializer.InitializerMethodTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.producer.field.definition.enterprise.EnterpriseProducerFieldDefinitionTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.producer.method.broken.enterprise.nonbusiness.ProducerMethodNotBusinessMethodTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.producer.method.definition.enterprise.EnterpriseProducerMethodDefinitionTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.EjbInjectionTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.EnterpriseBeanSpecializationIntegrationTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.EnterpriseBeanSpecializationTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.broken.directlyExtendsNothing.DirectlyExtendsNothingTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.broken.directlyExtendsSimpleBean.DirectlyExtendsSimpleBeanTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.broken.implementInterfaceAndExtendsNothing.ImplementsInterfaceAndExtendsNothingTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.broken.sameName.SameNameTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.inheritance.specialization.simple.broken.extendejb.SpecializingBeanExtendsEnterpriseBeanTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.interceptorOrder.SessionBeanInterceptorOrderTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.nonContextualReference.SessionBeanInterceptorOnNonContextualEjbReferenceTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.interceptors.definition.enterprise.simpleInterception.SessionBeanInterceptorDefinitionTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.lookup.injection.enterprise.SessionBeanInjectionOrderingTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.lookup.injection.enterprise.SessionBeanInjectionTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.lookup.injection.non.contextual.ws.InjectionIntoWebServiceEndPointTest"/>-->
+ <!--<class name="org.jboss.jsr299.tck.tests.lookup.typesafe.resolution.EnterpriseResolutionByTypeTest"/>-->
+ </classes>
+ </test>
+
+</suite>
Added: openejb/trunk/openejb3/tck/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/tck/pom.xml?rev=1124589&view=auto
==============================================================================
--- openejb/trunk/openejb3/tck/pom.xml (added)
+++ openejb/trunk/openejb3/tck/pom.xml Thu May 19 08:26:37 2011
@@ -0,0 +1,33 @@
+<?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">
+ <parent>
+ <artifactId>openejb</artifactId>
+ <groupId>org.apache.openejb</groupId>
+ <version>4.0.0-SNAPSHOT</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>tck</artifactId>
+ <packaging>pom</packaging>
+ <name>OpenEJB :: TCK</name>
+
+ <modules>
+ <module>cdi-embedded</module>
+ </modules>
+</project>