pin alternatives-java before cassandra package