replaced java dependencies with common