You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by gp...@apache.org on 2012/03/09 21:21:16 UTC

git commit: DELTASPIKE-117 jbossas-build-managed-7 profile

Updated Branches:
  refs/heads/master ae8697979 -> 84a0d71ec


DELTASPIKE-117 jbossas-build-managed-7 profile


Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/84a0d71e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/84a0d71e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/84a0d71e

Branch: refs/heads/master
Commit: 84a0d71ecd007ae874efd3ec0b1944d399ec3f79
Parents: ae86979
Author: gpetracek <gp...@apache.org>
Authored: Fri Mar 9 21:15:55 2012 +0100
Committer: gpetracek <gp...@apache.org>
Committed: Fri Mar 9 21:15:55 2012 +0100

----------------------------------------------------------------------
 .../src/test/resources/arquillian.xml              |    9 ++
 deltaspike/parent/it/pom.xml                       |   71 +++++++++++++++
 2 files changed, 80 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/84a0d71e/deltaspike/core/integration-test/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/deltaspike/core/integration-test/src/test/resources/arquillian.xml b/deltaspike/core/integration-test/src/test/resources/arquillian.xml
index 34ee300..38382bd 100644
--- a/deltaspike/core/integration-test/src/test/resources/arquillian.xml
+++ b/deltaspike/core/integration-test/src/test/resources/arquillian.xml
@@ -35,6 +35,15 @@
         </configuration>
     </container>
 
+    <container qualifier="jbossas-build-managed-7">
+        <configuration>
+            <property name="jbossHome">${arquillian.jboss_home}</property>
+            <property name="javaVmArguments">-client -noverify -Xms64m -Xmx1024m -XX:MaxPermSize=512m</property>
+            <property name="outputToConsole">false</property>
+            <property name="allowConnectingToRunningServer">true</property>
+        </configuration>
+    </container>
+
     <!-- don't remove the qualifier - it's needed for the arquillian.launch property -->
     <container qualifier="glassfish-remote-3.1">
     </container>

http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/84a0d71e/deltaspike/parent/it/pom.xml
----------------------------------------------------------------------
diff --git a/deltaspike/parent/it/pom.xml b/deltaspike/parent/it/pom.xml
index 85de4fb..bfe6c5e 100644
--- a/deltaspike/parent/it/pom.xml
+++ b/deltaspike/parent/it/pom.xml
@@ -311,6 +311,77 @@
                 </plugins>
             </build>
         </profile>
+
+        <profile>
+            <id>jbossas-build-managed-7</id>
+            <dependencies>
+
+                <dependency>
+                    <groupId>org.jboss.as</groupId>
+                    <artifactId>jboss-as-arquillian-container-managed</artifactId>
+                    <version>${jboss.as.version}</version>
+                    <scope>test</scope>
+                </dependency>
+                <dependency>
+                    <groupId>org.jboss.arquillian.protocol</groupId>
+                    <artifactId>arquillian-protocol-servlet</artifactId>
+                    <scope>test</scope>
+                </dependency>
+
+            </dependencies>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <version>${maven.surefire.plugin.version}</version>
+                        <configuration>
+                            <systemProperties>
+                                <arquillian.launch>jbossas-build-managed-7</arquillian.launch>
+                                <arquillian.jboss_home>${project.build.directory}/jboss-as-${jboss.as.version}
+                                </arquillian.jboss_home>
+                            </systemProperties>
+                            <!-- we just use groups to mark that a test should be executed only
+                            with specific environments. even though a java-ee6 application server has to be able to run
+                            all tests in theory, we have to exclude some tests because there are e.g. packaging issues or
+                            there are currently issues with arquillian. if a test isn't restricted to an environment,
+                            no category is used for the test-class. -->
+                            <excludedGroups>
+                                org.apache.deltaspike.test.category.FullProfileCategory,
+                                org.apache.deltaspike.test.category.SeCategory
+                            </excludedGroups>
+                        </configuration>
+                    </plugin>
+
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-dependency-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>unpack-as7</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>${jboss.as.version}</version>
+                                            <outputDirectory>${project.build.directory}</outputDirectory>
+                                            <type>zip</type>
+                                            <overWrite>false</overWrite>
+                                        </artifactItem>
+                                    </artifactItems>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+
         <profile>
             <id>glassfish-remote-3.1</id>
             <dependencies>