Update java and artifact dependencies

Use a newer Java cookbook for better JDK 7 support. See COOK-2996 for more discussion.

Stay up to date with the artifact cookbook.