| Due to this profile activation, adding Hibernate validator to a Java11 project brings JavaFX on the classpath
I have no idea whether that's a bug or a feature of Maven but, regardless, published pom should ideally be cleared of those build-specific details. For instance, the repository definition is also a problem as that brings oss.sonatype.org to any project that defines Hibernate Validator as a dependency. |