Skip to content

Commit

Permalink
Update parent pom to 34 and improve surefire config
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Mar 27, 2018
1 parent 1de477d commit 97c7273
Showing 1 changed file with 21 additions and 42 deletions.
63 changes: 21 additions & 42 deletions pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>io.vertx</groupId>
<artifactId>vertx-ext-parent</artifactId>
<version>29</version>
<version>34</version>
</parent>

<artifactId>vertx-ignite</artifactId>
Expand Down Expand Up @@ -124,47 +124,26 @@
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<configuration>
<annotationProcessors>
<annotationProcessor>io.vertx.docgen.JavaDocGenProcessor</annotationProcessor>
</annotationProcessors>
<compilerArgs>
<arg>-Adocgen.source=${asciidoc.dir}/*.adoc</arg>
<arg>-Adocgen.output=${project.build.directory}/asciidoc/$lang</arg>
<arg>-Amaven.groupId=${project.groupId}</arg>
<arg>-Amaven.artifactId=${project.artifactId}</arg>
<arg>-Amaven.version=${project.version}</arg>
</compilerArgs>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
<systemPropertyVariables>
<io.netty.leakDetectionLevel>PARANOID</io.netty.leakDetectionLevel>
<buildDirectory>${project.build.directory}</buildDirectory>
<vertxVersion>${project.version}</vertxVersion>
</systemPropertyVariables>
<!-- Needs to be small enough to run in a EC2 1.7GB small instance -->
<argLine>-Xms512M -Xmx1200M -DIGNITE_ATOMIC_CACHE_DELETE_HISTORY_SIZE=1000 -DIGNITE_UPDATE_NOTIFIER=false</argLine>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
</configuration>
</plugin>

</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
<systemPropertyVariables>
<io.netty.leakDetectionLevel>PARANOID</io.netty.leakDetectionLevel>
<buildDirectory>${project.build.directory}</buildDirectory>
<vertxVersion>${project.version}</vertxVersion>
</systemPropertyVariables>
<!-- Needs to be small enough to run in a EC2 1.7GB small instance -->
<argLine>-Xms512M -Xmx1200M -DIGNITE_ATOMIC_CACHE_DELETE_HISTORY_SIZE=1000 -DIGNITE_UPDATE_NOTIFIER=false</argLine>
<forkCount>1</forkCount>
<reuseForks>true</reuseForks>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>

</project>

0 comments on commit 97c7273

Please sign in to comment.