Skip to content

Commit 3ee26db

Browse files
authored
Prepare for JEP 451 (#1130)
1 parent 1352c1d commit 3ee26db

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

pom.xml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
<releaseProfiles />
6969
<arguments />
70-
<argLine>-Xms768M -Xmx768M -XX:+HeapDumpOnOutOfMemoryError -XX:+TieredCompilation -XX:TieredStopAtLevel=1 @{jenkins.addOpens} @{jenkins.insaneHook}</argLine>
70+
<argLine>-Xms768M -Xmx768M -XX:+HeapDumpOnOutOfMemoryError -XX:+TieredCompilation -XX:TieredStopAtLevel=1 @{jenkins.addOpens} @{jenkins.insaneHook} @{jenkins.javaAgent}</argLine>
7171

7272
<access-modifier-checker.version>1.35</access-modifier-checker.version>
7373
<bridge-method-injector.version>1.31</bridge-method-injector.version>
@@ -503,6 +503,37 @@
503503
</plugins>
504504
</pluginManagement>
505505
<plugins>
506+
<plugin>
507+
<groupId>org.apache.maven.plugins</groupId>
508+
<artifactId>maven-dependency-plugin</artifactId>
509+
<executions>
510+
<execution>
511+
<goals>
512+
<goal>properties</goal>
513+
</goals>
514+
</execution>
515+
</executions>
516+
</plugin>
517+
<plugin>
518+
<groupId>org.apache.maven.plugins</groupId>
519+
<artifactId>maven-antrun-plugin</artifactId>
520+
<executions>
521+
<execution>
522+
<goals>
523+
<goal>run</goal>
524+
</goals>
525+
<phase>initialize</phase>
526+
<configuration>
527+
<target>
528+
<condition else="" property="jenkins.javaAgent" value="-javaagent:${org.mockito:mockito-core:jar}">
529+
<isset property="org.mockito:mockito-core:jar" />
530+
</condition>
531+
</target>
532+
<exportAntProperties>true</exportAntProperties>
533+
</configuration>
534+
</execution>
535+
</executions>
536+
</plugin>
506537
<plugin>
507538
<artifactId>maven-jar-plugin</artifactId>
508539
<executions>

0 commit comments

Comments
 (0)