in src/main/java/org/apache/maven/plugins/ejb/EjbMojo.java [422:427]
static void validateEjbVersion(String ejbVersion) throws MojoExecutionException {
if (!ejbVersion.matches("\\A[2-4]\\.[0-9]\\z")) {
throw new MojoExecutionException(
"ejbVersion is not valid: " + ejbVersion + ". Must be 2.x, 3.x or 4.x (where x is a digit)");
}
}