Skip to content

Commit

Permalink
Use jmx-as7 protocol, add remote profile, fixed xsd
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuir committed Jun 25, 2011
1 parent 77380b8 commit 7c094d7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 20 deletions.
24 changes: 21 additions & 3 deletions quickstarts/kitchensink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,11 @@

<profile>
<!-- An optional Arquillian testing profile that executes tests
in a remote JBoss AS instance -->
<!-- Run with: mvn clean test -Parq-jbossas-remote -->
<id>arq-jbossas-remote</id>
in your JBoss AS instance -->
<!-- This profile will start a new JBoss AS instance, and execute the
test, shutting it down when done -->
<!-- Run with: mvn clean test -Parq-jbossas-managed -->
<id>arq-jbossas-managed</id>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
Expand All @@ -209,6 +211,22 @@
</dependency>
</dependencies>
</profile>

<profile>
<!-- An optional Arquillian testing profile that executes tests
in your JBoss AS instance -->
<!-- This profile will connect to an already running JBoss AS instance -->
<!-- Run with: mvn clean test -Parq-jbossas-managed -->
<id>arq-jbossas-remote</id>
<dependencies>
<dependency>
<groupId>org.jboss.as</groupId>
<artifactId>jboss-as-arquillian-container-remote</artifactId>
<version>7.0.0.Beta4-SNAPSHOT</version>
<scope>test</scope>
</dependency>
</dependencies>
</profile>

</profiles>
</project>
28 changes: 11 additions & 17 deletions quickstarts/kitchensink/src/test/resources/arquillian.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<arquillian xmlns="http://jboss.com/arquillian" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<arquillian xmlns="http://www.jboss.org/arquillian-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://jboss.org/schema/arquillian
http://jboss.org/schema/arquillian/arquillian-1.0.xsd">
http://www.jboss.org/arquillian-1.0
http://www.jboss.org/schema/arquillian/arquillian-1.0.xsd">

<!-- Uncomment to have test archives exported to the file system for inspection -->
<!--
<engine>
<property name="deploymentExportPath">target/</property>
</engine>
-->
<!-- <engine> <property name="deploymentExportPath">target/</property>
</engine> -->

<!-- Example configuration for a remote JBoss AS instance -->
<container qualifier="jbossas-remote" default="true">
<property name="httpPort">8080</property>
<!-- Example configuration for a remote JBoss AS 7 instance -->
<container qualifier="jboss" default="true">
<protocol type="jmx-as7">
<property name="executionType">REMOTE</property>
</protocol>
</container>

<protocol type="jmx-as7">
<configuration>
<property name="executionType">REMOTE</property>
</configuration>
</protocol>

</arquillian>

0 comments on commit 7c094d7

Please sign in to comment.