Skip to content

Commit

Permalink
TIKA-4327: use option to avoid exception in updated protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
THausherr committed Jan 27, 2025
1 parent 24bba42 commit 03005c7
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@ May the gods of dependency management fix this in the future.

<build>
<plugins>
<!-- because of protobuf 3.25.6. The actual problem is in netcdf4. Might be a false alarm,
because https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2
mentions older versions of protobuf -->
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Dcom.google.protobuf.use_unsafe_pre22_gencode</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
Expand Down

0 comments on commit 03005c7

Please sign in to comment.