Skip to content

Commit

Permalink
Disable not null instrumenter plugin as it breaks GuavaTest (#507) fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tgd authored Jan 29, 2024
1 parent 5771856 commit ceb2436
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,22 @@
</resources>

<plugins>
<!-- The parent POM defines this plugin and activates it in a profile. Unfortunately this plugin will generate
code at @NotNull call-sites that throws IllegalArgumentException rather than NullPointerException. This will
break GuavaTest. Chronicle have raised this issue before with the maintainers of the plugin. See:
https://github.com/osundblad/intellij-annotations-instrumenter-maven-plugin/issues/53
-->
<plugin>
<groupId>se.eris</groupId>
<artifactId>notnull-instrumenter-maven-plugin</artifactId>
<version>1.1.1</version>
<configuration>
<notNull>
<!-- Not ideal but this was the easiest way to effectively disable this plugin -->
<param>Ignore</param>
</notNull>
</configuration>
</plugin>
<plugin>
<groupId>net.openhft</groupId>
<artifactId>binary-compatibility-enforcer-plugin</artifactId>
Expand Down

0 comments on commit ceb2436

Please sign in to comment.