Skip to content

Commit

Permalink
Update to vertx5-parent
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Jun 17, 2024
1 parent ded3559 commit 77c7890
Showing 1 changed file with 33 additions and 47 deletions.
80 changes: 33 additions & 47 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

<parent>
<groupId>io.vertx</groupId>
<artifactId>vertx-ext-parent</artifactId>
<version>38</version>
<artifactId>vertx5-parent</artifactId>
<version>3</version>
</parent>

<artifactId>vertx-unit</artifactId>
Expand Down Expand Up @@ -79,6 +79,26 @@

<build>

<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<id>default-compile</id>
<phase>compile</phase>
<configuration>
<annotationProcessors>
<annotationProcessor>io.vertx.codegen.CodeGenProcessor</annotationProcessor>
<annotationProcessor>io.vertx.docgen.JavaDocGenProcessor</annotationProcessor>
</annotationProcessors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<!-- Copy resources after compilation phase as we generate JS in src/main/resources -->
<plugin>
Expand All @@ -100,52 +120,18 @@
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>package-docs</id>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>java-9</id>
<activation>
<jdk>9</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/LangTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>coverage</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<failIfNoTests>false</failIfNoTests>
<systemPropertyVariables>
<vertx.test.timeout>60</vertx.test.timeout>
<io.netty.leakDetectionLevel>PARANOID</io.netty.leakDetectionLevel>
</systemPropertyVariables>
<argLine>-server -Xms128m -Xmx1024m -XX:NewRatio=2</argLine>
<excludes>
<exclude>**/ScratchPad.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit 77c7890

Please sign in to comment.