boolean (@NotNull JpsMavenRepositoryLibraryDescriptor descriptor) { return !"LATEST".equals(descriptor.getVersion()) && !"RELEASE".equals(descriptor.getVersion()) && !descriptor.getVersion().endsWith("-SNAPSHOT"); }