diff --git a/maven-plugin/src/main/java/io/apicurio/common/apps/maven/VerifyDependenciesMojo.java b/maven-plugin/src/main/java/io/apicurio/common/apps/maven/VerifyDependenciesMojo.java index 131d55c..ee16ae2 100644 --- a/maven-plugin/src/main/java/io/apicurio/common/apps/maven/VerifyDependenciesMojo.java +++ b/maven-plugin/src/main/java/io/apicurio/common/apps/maven/VerifyDependenciesMojo.java @@ -90,7 +90,7 @@ public boolean endVisit(DependencyNode dependencyNode) { } private boolean isValid(Artifact artifact) { - return artifact.getVersion().contains("-redhat-"); + return artifact.getVersion().contains("-redhat-") || artifact.getVersion().contains(".redhat-"); } private static String serialize(Set invalidArtifacts) {