Skip to content

Commit e0a60e5

Browse files
committed
Ensure Java Cryptography Extension is installed
1 parent 421341a commit e0a60e5

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

core/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,26 @@
106106
<argLine>${jacoco.agent.argLine}</argLine>
107107
</configuration>
108108
</plugin>
109+
<plugin>
110+
<groupId>org.apache.maven.plugins</groupId>
111+
<artifactId>maven-enforcer-plugin</artifactId>
112+
<version>1.1.1</version>
113+
<executions>
114+
<execution>
115+
<id>enforce</id>
116+
<configuration>
117+
<rules>
118+
<evaluateBeanshell>
119+
<condition>javax.crypto.Cipher.getMaxAllowedKeyLength("AES") > 128</condition>
120+
</evaluateBeanshell>
121+
</rules>
122+
</configuration>
123+
<goals>
124+
<goal>enforce</goal>
125+
</goals>
126+
</execution>
127+
</executions>
128+
</plugin>
109129
</plugins>
110130
</build>
111131
<!--

0 commit comments

Comments
 (0)