Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #158 from zanata/fix-jboss-property-check
Browse files Browse the repository at this point in the history
Check arquillian.jboss.home property during pre-integration-test
  • Loading branch information
carlosmunoz committed Sep 5, 2013
2 parents e0ffd63 + 9cac6de commit 4d904a2
Showing 1 changed file with 46 additions and 13 deletions.
59 changes: 46 additions & 13 deletions zanata-war/pom.xml
Expand Up @@ -116,6 +116,23 @@
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-arquillian-jboss-home</id>
<goals>
<goal>enforce</goal>
</goals>
<phase>pre-integration-test</phase>
<configuration>
<rules combine.self="override">
<requireProperty>
<property>arquillian.jboss.home</property>
<message>You must set the arquillian.jboss.home property to run integration tests</message>
</requireProperty>
</rules>
</configuration>
</execution>
</executions>
<configuration>
<rules>
<banDuplicateClasses>
Expand Down Expand Up @@ -161,10 +178,6 @@
<ignoreClass>sun.*</ignoreClass>
</ignoreClasses>
</banDuplicateClasses>
<requireProperty>
<property>arquillian.jboss.home</property>
<message>You must set the arquillian.jboss.home property to run integration tests</message>
</requireProperty>
</rules>
</configuration>
</plugin>
Expand Down Expand Up @@ -367,8 +380,8 @@
<junitArtifactName>none:none</junitArtifactName>
<testNGArtifactName>org.testng:testng</testNGArtifactName>
<forkMode>once</forkMode>
<argLine xml:space="preserve">-Xmx1024m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError
<argLine xml:space="preserve">-Xmx1024m -XX:MaxPermSize=512m -XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=${project.build.directory} -Dsun.lang.ClassLoader.allowArraySyntax=true</argLine>
<suiteXmlFiles>
<suiteXmlFile>src/test/resources/AllNonContainerTests.tng.xml</suiteXmlFile>
Expand Down Expand Up @@ -803,18 +816,28 @@
</plugins>
</build>
</profile>

<profile>
<id>nogwt</id>
<properties>
<gwt.compiler.skip>true</gwt.compiler.skip>
</properties>
</profile>

<profile>
<id>nogwt</id>
<activation>
<property>
<name>nogwt</name>
</property>
</activation>
<properties>
<gwt.compiler.skip>true</gwt.compiler.skip>
</properties>
</profile>

<profile>
<!-- This profile tells GWT to use an alternative GWT module which has
only one permutation, and to compile in draft mode -->
<id>chrome</id>
<activation>
<property>
<name>chrome</name>
</property>
</activation>
<properties>
<zanata.gwt.module>org.zanata.webtrans.ApplicationSafari</zanata.gwt.module>
</properties>
Expand All @@ -836,6 +859,11 @@
<!-- This profile tells GWT to use an alternative GWT module which has
only one permutation, and to compile in draft mode -->
<id>firefox</id>
<activation>
<property>
<name>firefox</name>
</property>
</activation>
<properties>
<zanata.gwt.module>org.zanata.webtrans.ApplicationGecko18</zanata.gwt.module>
</properties>
Expand All @@ -857,6 +885,11 @@
<!-- This profile tells GWT to use an alternative GWT module which has
only two permutations, and to compile in draft mode -->
<id>chromefirefox</id>
<activation>
<property>
<name>chromefirefox</name>
</property>
</activation>
<properties>
<zanata.gwt.module>org.zanata.webtrans.ApplicationChromeFirefox</zanata.gwt.module>
</properties>
Expand Down

0 comments on commit 4d904a2

Please sign in to comment.