[build] Remove override definition of maven-surefire-plugin in connectors pom (#673)

pull/738/head
Jark Wu 3 years ago committed by Leonard Xu
parent 9f7bd1aa46
commit 0e1e5c6218

@ -155,20 +155,4 @@ under the License.
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Enforce single fork execution due to heavy mini cluster use in the tests -->
<forkCount>1</forkCount>
<argLine>-Xms256m -Xmx2048m -Dlog4j.configurationFile=${log4j.configuration}
-Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit
</argLine>
</configuration>
</plugin>
</plugins>
</build>
</project>

@ -189,20 +189,4 @@ under the License.
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Enforce single fork execution due to heavy mini cluster use in the tests -->
<forkCount>1</forkCount>
<argLine>-Xms256m -Xmx2048m -Dlog4j.configurationFile=${log4j.configuration}
-Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit
</argLine>
</configuration>
</plugin>
</plugins>
</build>
</project>

@ -154,19 +154,4 @@ under the License.
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Enforce single fork execution due to heavy mini cluster use in the tests -->
<forkCount>1</forkCount>
<!-- Prevent ORA-01882: timezone region not found errors due to the Oracle DB does not understanding some time zone which used in Ubuntu OS -->
<argLine>-Xms256m -Xmx2048m -Dlog4j.configurationFile=${log4j.configuration} -Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit -Doracle.jdbc.timezoneAsRegion=false</argLine>
</configuration>
</plugin>
</plugins>
</build>
</project>

@ -159,20 +159,4 @@ under the License.
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Enforce single fork execution due to heavy mini cluster use in the tests -->
<forkCount>1</forkCount>
<argLine>-Xms256m -Xmx2048m -Dlog4j.configurationFile=${log4j.configuration}
-Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit
</argLine>
</configuration>
</plugin>
</plugins>
</build>
</project>

@ -317,8 +317,10 @@ under the License.
<forkNumber>0${surefire.forkNumber}</forkNumber>
<log4j.configuration>${log4j.configuration}</log4j.configuration>
</systemPropertyVariables>
<!-- Prevent ORA-01882: timezone region not found errors due to the Oracle DB
does not understanding some time zone which used in Ubuntu OS -->
<argLine>-Xms256m -Xmx2048m -Dmvn.forkNumber=${surefire.forkNumber}
-XX:+UseG1GC
-XX:+UseG1GC -Doracle.jdbc.timezoneAsRegion=false
</argLine>
</configuration>
</plugin>

Loading…
Cancel
Save