Skip to content

Commit

Permalink
add adapter for openejb 4
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed May 3, 2012
1 parent 05377d1 commit 70a4a97
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 1 deletion.
44 changes: 44 additions & 0 deletions container-boms/openejb-embedded-4/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<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.jboss.arquillian.showcase</groupId>
<artifactId>arquillian-showcase-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>

<artifactId>container-bom-openejb-embedded-4</artifactId>
<packaging>pom</packaging>

<dependencies>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>arquillian-openejb-container</artifactId>
<scope>compile</scope>
</dependency>
<!--
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-core</artifactId>
<scope>compile</scope>
<version>4.0.0-beta-3-SNAPSHOT</version>
</dependency>
-->
<!--
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<version>1</version>
<scope>compile</scope>
</dependency>
-->
</dependencies>

<!--
vi:ts=4:sw=4:expandtab:
-->
</project>
1 change: 1 addition & 0 deletions container-boms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<module>weld-ee-embedded-1.1</module>
<module>openwebbeans-embedded-1</module>
<module>openejb-embedded-3.1</module>
<module>openejb-embedded-4</module>
<module>jbossas-remote-6</module>
<module>jbossas-managed-6</module>
<module>glassfish-embedded-3.1</module>
Expand Down
46 changes: 45 additions & 1 deletion ejb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,20 @@
<name>Arquillian Showcase: EJB</name>
<description>Examples that demonstrate how to test EJB components using Arquillian</description>

<repositories>
<repository>
<id>apache-snapshots-repository</id>
<name>Apache Snapshots Repository</name>
<url>https://repository.apache.org/content/groups/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
Expand All @@ -28,7 +42,7 @@

<profiles>
<profile>
<id>arq-openejb-embedded</id>
<id>arq-openejb-embedded-3.1</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
Expand All @@ -55,6 +69,36 @@
</build>
</profile>

<profile>
<id>arq-openejb-embedded-4</id>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>container-bom-openejb-embedded-4</artifactId>
<type>pom</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>openejb-core</artifactId>
<version>${version.openejb_4}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>com/acme/ejb/calc/MortgageCalculatorEnvEntryTestCase.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>arq-jbossas-managed-7</id>
<dependencies>
Expand Down
14 changes: 14 additions & 0 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<version.arquillian_container_jetty>1.0.0.CR1</version.arquillian_container_jetty>
<version.arquillian_container_osgi>1.0.0.CR4</version.arquillian_container_osgi>
<version.arquillian_container_openejb>1.0.0.CR2-SNAPSHOT</version.arquillian_container_openejb>
<version.arquillian_container_openejb_tomee>1.0.0-beta-3-SNAPSHOT</version.arquillian_container_openejb_tomee>
<version.arquillian_container_resin>1.0.0-SNAPSHOT</version.arquillian_container_resin>
<version.arquillian_drone>1.0.0.CR3</version.arquillian_drone>
<version.arquillian_ajocado>1.0.0.CR2</version.arquillian_ajocado>
Expand All @@ -39,6 +40,7 @@
<version.junit>4.8.1</version.junit>
<version.log4j>1.2.14</version.log4j>
<version.openejb>3.1.4</version.openejb>
<version.openejb_4>4.0.0</version.openejb_4>
<version.openwebbeans>1.1.1</version.openwebbeans>
<version.resin>4.0.20</version.resin>
<version.resteasy>2.0.1.GA</version.resteasy>
Expand Down Expand Up @@ -104,6 +106,12 @@
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>container-bom-openejb-embedded-4</artifactId>
<version>${project.version}</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>container-bom-jbossas-remote-6</artifactId>
Expand Down Expand Up @@ -224,6 +232,12 @@
<version>${version.arquillian_container_openejb}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.openejb</groupId>
<artifactId>arquillian-openejb-container</artifactId>
<version>${version.arquillian_container_openejb_tomee}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-openwebbeans-embedded-1</artifactId>
Expand Down

0 comments on commit 70a4a97

Please sign in to comment.