Skip to content

Commit

Permalink
Merge pull request #3079 from hazendaz/master
Browse files Browse the repository at this point in the history
[pom] Define byte buddy agent for compiler and surefire
  • Loading branch information
hazendaz committed Jan 27, 2024
2 parents 095ebc6 + 8760213 commit c2a7186
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
<spotbugs.onlyAnalyze>org.apache.ibatis.*</spotbugs.onlyAnalyze>

<!-- Surefire Setup -->
<argLine>-Xmx2048m</argLine>
<argLine>-Xmx2048m -javaagent:${settings.localRepository}/net/bytebuddy/byte-buddy-agent/${byte-buddy.version}/byte-buddy-agent-${byte-buddy.version}.jar</argLine>

<!-- Reproducible Builds -->
<project.build.outputTimestamp>1702533513</project.build.outputTimestamp>
Expand Down Expand Up @@ -355,6 +355,19 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-agent</artifactId>
<version>${byte-buddy.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down

0 comments on commit c2a7186

Please sign in to comment.