Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Commit

Permalink
AVRO-2043: Remove pre JDK 1.8 surefire specific configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbasjes committed Dec 11, 2017
1 parent 2df0775 commit 7bbbf92
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions lang/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@
rather than the console. -->
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<failIfNoTests>false</failIfNoTests>
<!-- The correct argLine value depends on the JDK version -->
<argLine>${surefire.argline}</argLine>
<argLine>-Xmx1000m</argLine>
<systemPropertyVariables>
<test.dir>${project.basedir}/target/</test.dir>
</systemPropertyVariables>
Expand Down Expand Up @@ -387,28 +386,6 @@
</plugins>
</build>
</profile>

<!--In JDK 1.8 and newer the PermGem has been removed. -->
<!--These two profiles are to handle the differences between the before and after 1.8 -->
<profile>
<id>old-jdk</id>
<activation>
<jdk>(,1.8)</jdk>
</activation>
<properties>
<surefire.argline>-Xmx1000m -XX:MaxPermSize=200m</surefire.argline>
</properties>
</profile>
<profile>
<id>new-jdk</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<properties>
<surefire.argline>-Xmx1000m</surefire.argline>
</properties>
</profile>

</profiles>

<!-- dependencyManagement can be used to define dependency versions, scopes, and
Expand Down

0 comments on commit 7bbbf92

Please sign in to comment.