Skip to content

Commit

Permalink
add remote wls 12.1 and sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed May 21, 2012
1 parent 4039bda commit 25b07f3
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
30 changes: 30 additions & 0 deletions cdi-ejb/pom.xml
Expand Up @@ -112,6 +112,36 @@
</build>
</profile>

<profile>
<id>arq-wls-remote-12.1</id>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.container</groupId>
<artifactId>arquillian-wls-remote-12.1</artifactId>
<version>1.0.0.Alpha2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-web-6.0</artifactId>
<type>pom</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<!-- Fails with exception WELD-001414 Bean name is ambiguous. Name noInterfaceNamedEjb resolves to beans [Session bean [class com.acme.cdiejb.nointerface.NoInterfaceNamedEjb with qualifiers [@Any @Default @Named]; local interfaces are [NoInterfaceNamedEjb], Managed Bean [class com.acme.cdiejb.nointerface.NoInterfaceNamedEjb] with qualifiers [@Any @Default @Named]] -->
<exclude>**/NoInterfaceNamedEjbTestCase.java</exclude>
</excludes>
</configuration>

</plugins>
</build>
</profile>

</profiles>
<!--
vi:ts=4:sw=4:expandtab:
Expand Down
1 change: 1 addition & 0 deletions cdi-ejb/src/test/resources/arquillian.launch
@@ -0,0 +1 @@
#wls-remote-12.1
12 changes: 11 additions & 1 deletion cdi-ejb/src/test/resources/arquillian.xml
Expand Up @@ -5,4 +5,14 @@

<defaultProtocol type="Servlet 3.0" />

</arquillian>
<container qualifier="wls-remote-12.1">
<configuration>
<property name="adminUrl">t3://localhost:7001</property>
<property name="adminUserName">weblogic</property>
<property name="adminPassword">passw0rd</property>
<property name="wlsHome">${wls.home:/home/dallen/opt/wls/wlserver}</property>
<property name="target">AdminServer</property>
</configuration>
</container>

</arquillian>

0 comments on commit 25b07f3

Please sign in to comment.