Skip to content

Commit

Permalink
HV-1187 Fix incontainer build which was broken by latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet committed Dec 19, 2016
1 parent 2679011 commit 243d71f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@
<includes>
<include>**/*Test.java</include>
</includes>
<argLine>${maven-surefire-plugin.argLine} ${maven-surefire-plugin.argLine.add-modules} ${maven-surefire-plugin.argLine.add-opens}</argLine>
<argLine>${maven-surefire-plugin.argLine}</argLine>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -924,6 +924,19 @@
<!-- Use Groovy 2.4.8-SNAPSHOT for JDK 9. To be removed once 2.4.8 is officially released. -->
<groovy.version>2.4.8-SNAPSHOT</groovy.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<argLine>${maven-surefire-plugin.argLine} ${maven-surefire-plugin.argLine.add-modules} ${maven-surefire-plugin.argLine.add-opens}</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<!--
Add JFrog snapshots repository for Groovy 2.4.8-SNAPSHOT.
To be removed once 2.4.8 is officially released.
Expand Down
4 changes: 2 additions & 2 deletions tck-runner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
</property>
</activation>
<properties>
<maven-surefire-plugin.argLine.add-opens>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED</maven-surefire-plugin.argLine.add-opens>
<maven-surefire-plugin.argLine>-Xmx1024m -Djava.util.logging.manager=org.jboss.logmanager.LogManager</maven-surefire-plugin.argLine>
<arquillian.protocol>Servlet 3.0</arquillian.protocol>
</properties>
<dependencies>
Expand Down Expand Up @@ -339,7 +339,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Xmx1024m -Djava.util.logging.manager=org.jboss.logmanager.LogManager ${maven-surefire-plugin.argLine.add-modules} ${maven-surefire-plugin.argLine.add-opens}</argLine>
<forkMode>once</forkMode>
<systemPropertyVariables>
<arquillian.launch>incontainer</arquillian.launch>
Expand All @@ -355,6 +354,7 @@
<jdk>9</jdk>
</activation>
<properties>
<maven-surefire-plugin.argLine.add-opens>--add-opens java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED</maven-surefire-plugin.argLine.add-opens>
<tck.suite.file>${project.build.directory}/test-classes/tck-tests-jdk9.xml</tck.suite.file>
</properties>
</profile>
Expand Down

0 comments on commit 243d71f

Please sign in to comment.