Permalink
Browse files

Remove ExecutionType on JBoss AS 7 configuration, no longer needed in…

… 7.0.1. Add auto extract of JBoss AS 7 Managed containers.
  • Loading branch information...
1 parent 2331afd commit 85719aff93e05b9b1bf2e13e739675ded892791b @aslakknutsen aslakknutsen committed Aug 31, 2011
@@ -4,9 +4,6 @@
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<container qualifier="jbossas-remote-7" default="true">
- <protocol type="jmx-as7">
- <property name="executionType">REMOTE</property>
- </protocol>
</container>
</arquillian>
@@ -12,9 +12,6 @@
-->
<container qualifier="jbossas-remote-7" default="true">
- <protocol type="jmx-as7">
- <property name="executionType">REMOTE</property>
- </protocol>
</container>
<container qualifier="glassfish-embedded">
@@ -12,9 +12,6 @@
-->
<container qualifier="jbossas-remote-7" default="true">
- <protocol type="jmx-as7">
- <property name="executionType">REMOTE</property>
- </protocol>
</container>
<container qualifier="glassfish-embedded">
View
@@ -87,6 +87,33 @@
<directory>src/test/resources-jbossas-7</directory>
</testResource>
</testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-dist</artifactId>
+ <version>${version.jbossas_7}</version>
+ <type>zip</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
</profile>
@@ -10,7 +10,11 @@
</engine>
-->
- <container qualifier="dev" default="true"/>
+ <container qualifier="dev" default="true">
+ <configuration>
+ <property name="jbossHome">target/jboss-as-7.0.1.Final</property>
+ </configuration>
+ </container>
<container qualifier="qa">
<configuration>
@@ -4,9 +4,6 @@
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<container qualifier="jbossas-remote-7" default="true">
- <protocol type="jmx-as7">
- <property name="executionType">REMOTE</property>
- </protocol>
</container>
</arquillian>
View
@@ -83,6 +83,33 @@
<directory>src/test/resources-jbossas-7</directory>
</testResource>
</testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-dist</artifactId>
+ <version>${version.jbossas_7}</version>
+ <type>zip</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
</profile>
@@ -11,9 +11,9 @@
-->
<container qualifier="jbossas-remote-7" default="true">
- <protocol type="jmx-as7">
- <property name="executionType">REMOTE</property>
- </protocol>
+ <configuration>
+ <property name="jbossHome">target/jboss-as-7.0.1.Final</property>
+ </configuration>
</container>
<!-- Required configuration for an embedded GlassFish instance -->
@@ -5,29 +5,20 @@
<group qualifier="Grid">
<container qualifier="container.active-1">
- <protocol type="jmx-as7">
- <property name="executionType">REMOTE</property>
- </protocol>
<configuration>
<property name="managementPort">19999</property>
<property name="jmxPort">1190</property>
<property name="httpPort">8180</property>
</configuration>
</container>
<container qualifier="container.active-2">
- <protocol type="jmx-as7">
- <property name="executionType">REMOTE</property>
- </protocol>
<configuration>
<property name="managementPort">29999</property>
<property name="jmxPort">1290</property>
<property name="httpPort">8280</property>
</configuration>
</container>
<container qualifier="container.active-3">
- <protocol type="jmx-as7">
- <property name="executionType">REMOTE</property>
- </protocol>
<configuration>
<property name="managementPort">39999</property>
<property name="jmxPort">1390</property>
View
@@ -52,6 +52,35 @@
<type>pom</type>
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-dist</artifactId>
+ <version>${version.jbossas_7}</version>
+ <type>zip</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</profile>
<profile>
@@ -4,9 +4,9 @@
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<container qualifier="jbossas-remote-7" default="true">
- <protocol type="jmx-as7">
- <property name="executionType">REMOTE</property>
- </protocol>
+ <configuration>
+ <property name="jbossHome">target/jboss-as-7.0.1.Final</property>
+ </configuration>
</container>
<!--
View
@@ -131,6 +131,33 @@
<directory>src/test/resources-jbossas-7</directory>
</testResource>
</testResources>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>process-test-classes</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.jboss.as</groupId>
+ <artifactId>jboss-as-dist</artifactId>
+ <version>${version.jbossas_7}</version>
+ <type>zip</type>
+ <overWrite>false</overWrite>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
</profile>
@@ -4,9 +4,9 @@
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<container qualifier="jbossas-remote-7" default="true">
- <protocol type="jmx-as7">
- <property name="executionType">REMOTE</property>
- </protocol>
+ <configuration>
+ <property name="jbossHome">target/jboss-as-7.0.1.Final</property>
+ </configuration>
</container>
<extension qualifier="ajocado">

0 comments on commit 85719af

Please sign in to comment.